python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 3318 ' -s datou_3318 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 331932 load datou : 3318 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3318, datou_cur_ids : ['2652054'] with mtr_portfolio_ids : ['21177717'] and first list_photo_ids : [] new path : /proc/331932/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 time to download the photos : 1.2750680446624756 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Sat Mar 8 13:00:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 8383 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-08 13:00:34.060634: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-03-08 13:00:34.091197: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-08 13:00:34.092710: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fea84000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-08 13:00:34.092732: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-08 13:00:34.097797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-08 13:00:34.385303: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xc6e2710 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-08 13:00:34.385374: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-08 13:00:34.387105: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-08 13:00:34.387547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:00:34.391231: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:00:34.408625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 13:00:34.409612: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 13:00:34.416792: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 13:00:34.419400: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 13:00:34.435550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 13:00:34.438654: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 13:00:34.439066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:00:34.440702: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 13:00:34.440723: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 13:00:34.440734: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 13:00:34.444325: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7596 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-08 13:00:34.840489: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-08 13:00:34.840644: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:00:34.840666: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:00:34.840684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 13:00:34.840700: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 13:00:34.840716: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 13:00:34.840730: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 13:00:34.840747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 13:00:34.842983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 13:00:34.845311: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-08 13:00:34.845387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:00:34.845403: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:00:34.845418: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 13:00:34.845432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 13:00:34.845447: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 13:00:34.845461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 13:00:34.845476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 13:00:34.848006: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 13:00:34.848042: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 13:00:34.848053: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 13:00:34.848063: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 13:00:34.849959: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7596 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-08 13:00:47.818693: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:00:48.361131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 7 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 7.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 142.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 9.00000 max: 253.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 139.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 6.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 139.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 28 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.60000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 13.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.60000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 4.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 142.35000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 1.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.35000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 15 Detection mask done ! Trying to reset tf kernel 332883 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3094 tf kernel not reseted sub process len(results) : 7 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 7 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 8164 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.002413511276245117 nb_pixel_total : 89276 time to create 1 rle with old method : 0.10161638259887695 length of segment : 367 time for calcul the mask position with numpy : 0.005563020706176758 nb_pixel_total : 184577 time to create 1 rle with new method : 0.015502691268920898 length of segment : 591 time for calcul the mask position with numpy : 0.0007174015045166016 nb_pixel_total : 30481 time to create 1 rle with old method : 0.03844714164733887 length of segment : 232 time for calcul the mask position with numpy : 0.0037555694580078125 nb_pixel_total : 238490 time to create 1 rle with new method : 0.015601873397827148 length of segment : 485 time for calcul the mask position with numpy : 0.0006728172302246094 nb_pixel_total : 31764 time to create 1 rle with old method : 0.0427250862121582 length of segment : 95 time for calcul the mask position with numpy : 0.0005505084991455078 nb_pixel_total : 27882 time to create 1 rle with old method : 0.036972999572753906 length of segment : 277 time for calcul the mask position with numpy : 0.0011646747589111328 nb_pixel_total : 50535 time to create 1 rle with old method : 0.0622713565826416 length of segment : 268 time for calcul the mask position with numpy : 0.0012063980102539062 nb_pixel_total : 82562 time to create 1 rle with old method : 0.09634637832641602 length of segment : 266 time for calcul the mask position with numpy : 0.0010607242584228516 nb_pixel_total : 57720 time to create 1 rle with old method : 0.07134032249450684 length of segment : 226 time for calcul the mask position with numpy : 0.0038275718688964844 nb_pixel_total : 199853 time to create 1 rle with new method : 0.014053583145141602 length of segment : 485 time for calcul the mask position with numpy : 0.00029587745666503906 nb_pixel_total : 9857 time to create 1 rle with old method : 0.011892557144165039 length of segment : 123 time for calcul the mask position with numpy : 0.00040435791015625 nb_pixel_total : 18050 time to create 1 rle with old method : 0.02261042594909668 length of segment : 164 time for calcul the mask position with numpy : 0.0012865066528320312 nb_pixel_total : 76865 time to create 1 rle with old method : 0.09288787841796875 length of segment : 255 time for calcul the mask position with numpy : 0.0006554126739501953 nb_pixel_total : 37767 time to create 1 rle with old method : 0.0443727970123291 length of segment : 180 time for calcul the mask position with numpy : 0.0008275508880615234 nb_pixel_total : 60286 time to create 1 rle with old method : 0.06904196739196777 length of segment : 265 time for calcul the mask position with numpy : 0.0015528202056884766 nb_pixel_total : 32226 time to create 1 rle with old method : 0.03766202926635742 length of segment : 416 time for calcul the mask position with numpy : 0.00024127960205078125 nb_pixel_total : 7404 time to create 1 rle with old method : 0.008882761001586914 length of segment : 135 time for calcul the mask position with numpy : 0.0026564598083496094 nb_pixel_total : 55718 time to create 1 rle with old method : 0.0639948844909668 length of segment : 617 time for calcul the mask position with numpy : 0.0007927417755126953 nb_pixel_total : 33191 time to create 1 rle with old method : 0.03939080238342285 length of segment : 207 time for calcul the mask position with numpy : 0.0002987384796142578 nb_pixel_total : 15240 time to create 1 rle with old method : 0.018146276473999023 length of segment : 151 time for calcul the mask position with numpy : 0.001493692398071289 nb_pixel_total : 81409 time to create 1 rle with old method : 0.09764766693115234 length of segment : 378 time for calcul the mask position with numpy : 0.0010349750518798828 nb_pixel_total : 60092 time to create 1 rle with old method : 0.09570932388305664 length of segment : 232 time for calcul the mask position with numpy : 0.00044608116149902344 nb_pixel_total : 16616 time to create 1 rle with old method : 0.019612550735473633 length of segment : 157 time for calcul the mask position with numpy : 0.0008151531219482422 nb_pixel_total : 29583 time to create 1 rle with old method : 0.034554243087768555 length of segment : 354 time for calcul the mask position with numpy : 0.00032830238342285156 nb_pixel_total : 11712 time to create 1 rle with old method : 0.014164924621582031 length of segment : 92 time for calcul the mask position with numpy : 0.0003159046173095703 nb_pixel_total : 16416 time to create 1 rle with old method : 0.019574880599975586 length of segment : 178 time for calcul the mask position with numpy : 0.0011022090911865234 nb_pixel_total : 63020 time to create 1 rle with old method : 0.07339763641357422 length of segment : 319 time for calcul the mask position with numpy : 0.0006964206695556641 nb_pixel_total : 33232 time to create 1 rle with old method : 0.03828716278076172 length of segment : 228 time for calcul the mask position with numpy : 0.0003376007080078125 nb_pixel_total : 10731 time to create 1 rle with old method : 0.01295161247253418 length of segment : 201 time for calcul the mask position with numpy : 0.0012586116790771484 nb_pixel_total : 59929 time to create 1 rle with old method : 0.06903266906738281 length of segment : 486 time for calcul the mask position with numpy : 0.002703428268432617 nb_pixel_total : 162976 time to create 1 rle with new method : 0.011570930480957031 length of segment : 519 time for calcul the mask position with numpy : 0.0006744861602783203 nb_pixel_total : 38708 time to create 1 rle with old method : 0.045668601989746094 length of segment : 215 time for calcul the mask position with numpy : 0.002671480178833008 nb_pixel_total : 178707 time to create 1 rle with new method : 0.011136293411254883 length of segment : 472 time for calcul the mask position with numpy : 0.0006072521209716797 nb_pixel_total : 28570 time to create 1 rle with old method : 0.03602123260498047 length of segment : 146 time for calcul the mask position with numpy : 0.0005116462707519531 nb_pixel_total : 21069 time to create 1 rle with old method : 0.025870084762573242 length of segment : 219 time for calcul the mask position with numpy : 0.0003962516784667969 nb_pixel_total : 19971 time to create 1 rle with old method : 0.023553133010864258 length of segment : 166 time for calcul the mask position with numpy : 0.0002865791320800781 nb_pixel_total : 15049 time to create 1 rle with old method : 0.018222808837890625 length of segment : 126 time for calcul the mask position with numpy : 0.0011799335479736328 nb_pixel_total : 36959 time to create 1 rle with old method : 0.04410505294799805 length of segment : 153 time for calcul the mask position with numpy : 0.0025894641876220703 nb_pixel_total : 89017 time to create 1 rle with old method : 0.10196089744567871 length of segment : 278 time for calcul the mask position with numpy : 0.0012814998626708984 nb_pixel_total : 22847 time to create 1 rle with old method : 0.027431249618530273 length of segment : 174 time for calcul the mask position with numpy : 0.0005843639373779297 nb_pixel_total : 18769 time to create 1 rle with old method : 0.022617578506469727 length of segment : 89 time for calcul the mask position with numpy : 0.0008502006530761719 nb_pixel_total : 21942 time to create 1 rle with old method : 0.0254061222076416 length of segment : 184 time for calcul the mask position with numpy : 0.0012249946594238281 nb_pixel_total : 33790 time to create 1 rle with old method : 0.03941464424133301 length of segment : 267 time for calcul the mask position with numpy : 0.0016891956329345703 nb_pixel_total : 46065 time to create 1 rle with old method : 0.05320930480957031 length of segment : 318 time for calcul the mask position with numpy : 0.0016944408416748047 nb_pixel_total : 39212 time to create 1 rle with old method : 0.04669189453125 length of segment : 249 time for calcul the mask position with numpy : 0.002591371536254883 nb_pixel_total : 101670 time to create 1 rle with old method : 0.12105941772460938 length of segment : 384 time for calcul the mask position with numpy : 0.0018236637115478516 nb_pixel_total : 103307 time to create 1 rle with old method : 0.1209707260131836 length of segment : 403 time for calcul the mask position with numpy : 0.0011298656463623047 nb_pixel_total : 44446 time to create 1 rle with old method : 0.051287174224853516 length of segment : 283 time for calcul the mask position with numpy : 0.0009541511535644531 nb_pixel_total : 30184 time to create 1 rle with old method : 0.03570127487182617 length of segment : 200 time for calcul the mask position with numpy : 0.005389213562011719 nb_pixel_total : 192164 time to create 1 rle with new method : 0.01428985595703125 length of segment : 909 time for calcul the mask position with numpy : 0.0009613037109375 nb_pixel_total : 31168 time to create 1 rle with old method : 0.03627657890319824 length of segment : 182 time for calcul the mask position with numpy : 0.0023720264434814453 nb_pixel_total : 74703 time to create 1 rle with old method : 0.08565068244934082 length of segment : 262 time for calcul the mask position with numpy : 0.0008361339569091797 nb_pixel_total : 22826 time to create 1 rle with old method : 0.029364824295043945 length of segment : 202 time for calcul the mask position with numpy : 0.0008180141448974609 nb_pixel_total : 17227 time to create 1 rle with old method : 0.020587921142578125 length of segment : 190 time for calcul the mask position with numpy : 0.0004744529724121094 nb_pixel_total : 12944 time to create 1 rle with old method : 0.015432357788085938 length of segment : 140 time for calcul the mask position with numpy : 0.0009043216705322266 nb_pixel_total : 25479 time to create 1 rle with old method : 0.031044960021972656 length of segment : 160 time for calcul the mask position with numpy : 0.000202178955078125 nb_pixel_total : 9243 time to create 1 rle with old method : 0.011267662048339844 length of segment : 72 time for calcul the mask position with numpy : 0.0019145011901855469 nb_pixel_total : 73377 time to create 1 rle with old method : 0.09241390228271484 length of segment : 433 time for calcul the mask position with numpy : 0.0008606910705566406 nb_pixel_total : 24647 time to create 1 rle with old method : 0.032028913497924805 length of segment : 187 time for calcul the mask position with numpy : 0.0008747577667236328 nb_pixel_total : 22474 time to create 1 rle with old method : 0.026432514190673828 length of segment : 224 time for calcul the mask position with numpy : 0.0009028911590576172 nb_pixel_total : 20604 time to create 1 rle with old method : 0.02515721321105957 length of segment : 230 time for calcul the mask position with numpy : 0.4420149326324463 nb_pixel_total : 3123711 time to create 1 rle with new method : 0.2582852840423584 length of segment : 3060 time for calcul the mask position with numpy : 0.0058629512786865234 nb_pixel_total : 231914 time to create 1 rle with new method : 0.01520848274230957 length of segment : 533 time for calcul the mask position with numpy : 0.002851724624633789 nb_pixel_total : 22737 time to create 1 rle with old method : 0.029113054275512695 length of segment : 178 time for calcul the mask position with numpy : 0.0008778572082519531 nb_pixel_total : 19562 time to create 1 rle with old method : 0.023550033569335938 length of segment : 216 time for calcul the mask position with numpy : 0.00037550926208496094 nb_pixel_total : 23555 time to create 1 rle with old method : 0.02821803092956543 length of segment : 103 time for calcul the mask position with numpy : 0.00033664703369140625 nb_pixel_total : 8687 time to create 1 rle with old method : 0.010624885559082031 length of segment : 156 time for calcul the mask position with numpy : 0.0004723072052001953 nb_pixel_total : 22953 time to create 1 rle with old method : 0.0269925594329834 length of segment : 230 time for calcul the mask position with numpy : 0.0033266544342041016 nb_pixel_total : 102391 time to create 1 rle with old method : 0.11821770668029785 length of segment : 548 time for calcul the mask position with numpy : 0.001039743423461914 nb_pixel_total : 28311 time to create 1 rle with old method : 0.03264307975769043 length of segment : 225 time for calcul the mask position with numpy : 0.0015058517456054688 nb_pixel_total : 74855 time to create 1 rle with old method : 0.08811736106872559 length of segment : 730 time for calcul the mask position with numpy : 0.0009143352508544922 nb_pixel_total : 21301 time to create 1 rle with old method : 0.024945735931396484 length of segment : 209 time for calcul the mask position with numpy : 0.0003046989440917969 nb_pixel_total : 15804 time to create 1 rle with old method : 0.018938302993774414 length of segment : 120 time for calcul the mask position with numpy : 0.00488591194152832 nb_pixel_total : 213255 time to create 1 rle with new method : 0.009200096130371094 length of segment : 555 time for calcul the mask position with numpy : 0.0003895759582519531 nb_pixel_total : 14207 time to create 1 rle with old method : 0.01681041717529297 length of segment : 119 time for calcul the mask position with numpy : 0.002676725387573242 nb_pixel_total : 82236 time to create 1 rle with old method : 0.09257912635803223 length of segment : 653 time spent for convertir_results : 8.564401626586914 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 76 chid ids of type : 3594 Number RLEs to save : 24101 save missing photos in datou_result : time spend for datou_step_exec : 70.87384009361267 time spend to save output : 14.463087797164917 total time spend for step 1 : 85.33692789077759 step2:crop_condition Sat Mar 8 13:01:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 7 ! batch 1 Loaded 76 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 47 About to insert : list_path_to_insert length 47 new photo from crops ! About to upload 47 photos upload in portfolio : 3736932 init cache_photo without model_param we have 47 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741435329_331932 we have uploaded 47 photos in the portfolio 3736932 time of upload the photos Elapsed time : 16.626620531082153 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741435350_331932 we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.000955581665039 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741435357_331932 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.755234956741333 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741435377_331932 we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 8.970752954483032 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741435388_331932 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4271104335784912 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741435391_331932 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6008942127227783 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1331979205, 1331979202, 1331979169, 1331979167, 1331979164, 1331979160, 1331979158] Looping around the photos to save general results len do output : 76 /1341855692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341855806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856060Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856064Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856071Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856073Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856078Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856082Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341856124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979205', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979202', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979169', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979167', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979164', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979160', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979158', None, None, None, None, None, '2652054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 235 time used for this insertion : 1.744638442993164 save_final save missing photos in datou_result : time spend for datou_step_exec : 75.98129868507385 time spend to save output : 1.748462438583374 total time spend for step 2 : 77.72976112365723 step3:rle_unique_nms_with_priority Sat Mar 8 13:03:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 76 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 11 nb_hashtags : 2 time to prepare the origin masks : 5.3787682056427 time for calcul the mask position with numpy : 0.447340726852417 nb_pixel_total : 7291403 time to create 1 rle with new method : 0.9973368644714355 time for calcul the mask position with numpy : 0.02627086639404297 nb_pixel_total : 9857 time to create 1 rle with old method : 0.01143956184387207 time for calcul the mask position with numpy : 0.026826143264770508 nb_pixel_total : 199853 time to create 1 rle with new method : 0.760934591293335 time for calcul the mask position with numpy : 0.026740550994873047 nb_pixel_total : 57720 time to create 1 rle with old method : 0.06638145446777344 time for calcul the mask position with numpy : 0.029660701751708984 nb_pixel_total : 82562 time to create 1 rle with old method : 0.09175610542297363 time for calcul the mask position with numpy : 0.025557756423950195 nb_pixel_total : 50535 time to create 1 rle with old method : 0.05895495414733887 time for calcul the mask position with numpy : 0.0258791446685791 nb_pixel_total : 27882 time to create 1 rle with old method : 0.03287839889526367 time for calcul the mask position with numpy : 0.028695106506347656 nb_pixel_total : 31764 time to create 1 rle with old method : 0.03679609298706055 time for calcul the mask position with numpy : 0.030367612838745117 nb_pixel_total : 238490 time to create 1 rle with new method : 0.4051663875579834 time for calcul the mask position with numpy : 0.027559757232666016 nb_pixel_total : 30481 time to create 1 rle with old method : 0.03529095649719238 time for calcul the mask position with numpy : 0.026430130004882812 nb_pixel_total : 184577 time to create 1 rle with new method : 0.6474099159240723 time for calcul the mask position with numpy : 0.02946162223815918 nb_pixel_total : 89276 time to create 1 rle with old method : 0.11662578582763672 create new chi : 4.139269828796387 time to delete rle : 0.02178502082824707 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++Number RLEs to save : 8990 TO DO : save crop sub photo not yet done ! save time : 12.40636396408081 nb_obj : 10 nb_hashtags : 2 time to prepare the origin masks : 9.745081424713135 time for calcul the mask position with numpy : 0.8738207817077637 nb_pixel_total : 7876478 time to create 1 rle with new method : 1.564133882522583 time for calcul the mask position with numpy : 0.046701669692993164 nb_pixel_total : 81409 time to create 1 rle with old method : 0.09419035911560059 time for calcul the mask position with numpy : 0.04454994201660156 nb_pixel_total : 15240 time to create 1 rle with old method : 0.017342329025268555 time for calcul the mask position with numpy : 0.045126914978027344 nb_pixel_total : 33107 time to create 1 rle with old method : 0.03708910942077637 time for calcul the mask position with numpy : 0.04696798324584961 nb_pixel_total : 55568 time to create 1 rle with old method : 0.06314682960510254 time for calcul the mask position with numpy : 0.050713300704956055 nb_pixel_total : 7404 time to create 1 rle with old method : 0.008899688720703125 time for calcul the mask position with numpy : 0.04751420021057129 nb_pixel_total : 32226 time to create 1 rle with old method : 0.03789687156677246 time for calcul the mask position with numpy : 0.04586672782897949 nb_pixel_total : 60286 time to create 1 rle with old method : 0.06725454330444336 time for calcul the mask position with numpy : 0.043196678161621094 nb_pixel_total : 37767 time to create 1 rle with old method : 0.04308605194091797 time for calcul the mask position with numpy : 0.04506206512451172 nb_pixel_total : 76865 time to create 1 rle with old method : 0.0872039794921875 time for calcul the mask position with numpy : 0.042903900146484375 nb_pixel_total : 18050 time to create 1 rle with old method : 0.02143120765686035 create new chi : 3.4315240383148193 time to delete rle : 0.0018939971923828125 batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++++++++Number RLEs to save : 7658 TO DO : save crop sub photo not yet done ! save time : 14.469151258468628 nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 8.245056390762329 time for calcul the mask position with numpy : 0.8184411525726318 nb_pixel_total : 7685498 time to create 1 rle with new method : 1.08506178855896 time for calcul the mask position with numpy : 0.05940985679626465 nb_pixel_total : 15049 time to create 1 rle with old method : 0.01746511459350586 time for calcul the mask position with numpy : 0.03251481056213379 nb_pixel_total : 19971 time to create 1 rle with old method : 0.022353649139404297 time for calcul the mask position with numpy : 0.03157496452331543 nb_pixel_total : 21069 time to create 1 rle with old method : 0.02624034881591797 time for calcul the mask position with numpy : 0.03744196891784668 nb_pixel_total : 28570 time to create 1 rle with old method : 0.04833388328552246 time for calcul the mask position with numpy : 0.0384974479675293 nb_pixel_total : 21228 time to create 1 rle with old method : 0.03740978240966797 time for calcul the mask position with numpy : 0.03388619422912598 nb_pixel_total : 38708 time to create 1 rle with old method : 0.044267892837524414 time for calcul the mask position with numpy : 0.033409833908081055 nb_pixel_total : 162976 time to create 1 rle with new method : 0.9111785888671875 time for calcul the mask position with numpy : 0.028589725494384766 nb_pixel_total : 59929 time to create 1 rle with old method : 0.06904411315917969 time for calcul the mask position with numpy : 0.028686046600341797 nb_pixel_total : 10731 time to create 1 rle with old method : 0.013008594512939453 time for calcul the mask position with numpy : 0.03537869453430176 nb_pixel_total : 33232 time to create 1 rle with old method : 0.03855633735656738 time for calcul the mask position with numpy : 0.031728506088256836 nb_pixel_total : 63020 time to create 1 rle with old method : 0.07227969169616699 time for calcul the mask position with numpy : 0.030099868774414062 nb_pixel_total : 16416 time to create 1 rle with old method : 0.018529415130615234 time for calcul the mask position with numpy : 0.04272007942199707 nb_pixel_total : 11712 time to create 1 rle with old method : 0.013191938400268555 time for calcul the mask position with numpy : 0.04196023941040039 nb_pixel_total : 29583 time to create 1 rle with old method : 0.03299975395202637 time for calcul the mask position with numpy : 0.04213070869445801 nb_pixel_total : 16616 time to create 1 rle with old method : 0.018712520599365234 time for calcul the mask position with numpy : 0.043714046478271484 nb_pixel_total : 60092 time to create 1 rle with old method : 0.06643247604370117 create new chi : 4.070488452911377 time to delete rle : 0.0015301704406738281 batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++++Number RLEs to save : 10201 TO DO : save crop sub photo not yet done ! save time : 5.7780396938323975 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 10.781006813049316 time for calcul the mask position with numpy : 1.3118185997009277 nb_pixel_total : 7846362 time to create 1 rle with new method : 1.3274621963500977 time for calcul the mask position with numpy : 0.04384016990661621 nb_pixel_total : 44446 time to create 1 rle with old method : 0.05475592613220215 time for calcul the mask position with numpy : 0.058936119079589844 nb_pixel_total : 3136 time to create 1 rle with old method : 0.004270792007446289 time for calcul the mask position with numpy : 0.05122113227844238 nb_pixel_total : 101670 time to create 1 rle with old method : 0.11473560333251953 time for calcul the mask position with numpy : 0.05637049674987793 nb_pixel_total : 39212 time to create 1 rle with old method : 0.0464787483215332 time for calcul the mask position with numpy : 0.0458073616027832 nb_pixel_total : 46065 time to create 1 rle with old method : 0.05177950859069824 time for calcul the mask position with numpy : 0.044759273529052734 nb_pixel_total : 33790 time to create 1 rle with old method : 0.040609121322631836 time for calcul the mask position with numpy : 0.056743621826171875 nb_pixel_total : 21942 time to create 1 rle with old method : 0.0253298282623291 time for calcul the mask position with numpy : 0.04920244216918945 nb_pixel_total : 8954 time to create 1 rle with old method : 0.01032710075378418 time for calcul the mask position with numpy : 0.04222679138183594 nb_pixel_total : 22847 time to create 1 rle with old method : 0.025752782821655273 time for calcul the mask position with numpy : 0.038690805435180664 nb_pixel_total : 89017 time to create 1 rle with old method : 0.10036396980285645 time for calcul the mask position with numpy : 0.03273129463195801 nb_pixel_total : 36959 time to create 1 rle with old method : 0.04225921630859375 create new chi : 3.728433847427368 time to delete rle : 0.0012662410736083984 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++Number RLEs to save : 7068 TO DO : save crop sub photo not yet done ! save time : 5.486292600631714 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 6.208958387374878 time for calcul the mask position with numpy : 1.184232234954834 nb_pixel_total : 7805593 time to create 1 rle with new method : 1.3168067932128906 time for calcul the mask position with numpy : 0.04366326332092285 nb_pixel_total : 72869 time to create 1 rle with old method : 0.08973240852355957 time for calcul the mask position with numpy : 0.04523801803588867 nb_pixel_total : 9243 time to create 1 rle with old method : 0.010278463363647461 time for calcul the mask position with numpy : 0.04384660720825195 nb_pixel_total : 25479 time to create 1 rle with old method : 0.031708478927612305 time for calcul the mask position with numpy : 0.041855812072753906 nb_pixel_total : 12944 time to create 1 rle with old method : 0.014443397521972656 time for calcul the mask position with numpy : 0.03908395767211914 nb_pixel_total : 17227 time to create 1 rle with old method : 0.01925516128540039 time for calcul the mask position with numpy : 0.031073808670043945 nb_pixel_total : 22826 time to create 1 rle with old method : 0.025646448135375977 time for calcul the mask position with numpy : 0.04666852951049805 nb_pixel_total : 74703 time to create 1 rle with old method : 0.08351707458496094 time for calcul the mask position with numpy : 0.043042898178100586 nb_pixel_total : 31168 time to create 1 rle with old method : 0.03495955467224121 time for calcul the mask position with numpy : 0.04595041275024414 nb_pixel_total : 192164 time to create 1 rle with new method : 1.1543669700622559 time for calcul the mask position with numpy : 0.04532575607299805 nb_pixel_total : 30184 time to create 1 rle with old method : 0.03392148017883301 create new chi : 4.523120164871216 time to delete rle : 0.0023043155670166016 batch 1 Loaded 21 chid ids of type : 3594 +++++++++++Number RLEs to save : 7630 TO DO : save crop sub photo not yet done ! save time : 5.52441930770874 nb_obj : 13 nb_hashtags : 3 time to prepare the origin masks : 9.49698281288147 time for calcul the mask position with numpy : 1.7404305934906006 nb_pixel_total : 4674031 time to create 1 rle with new method : 2.0315818786621094 time for calcul the mask position with numpy : 0.03970217704772949 nb_pixel_total : 21301 time to create 1 rle with old method : 0.02343297004699707 time for calcul the mask position with numpy : 0.0399172306060791 nb_pixel_total : 7591 time to create 1 rle with old method : 0.00853729248046875 time for calcul the mask position with numpy : 0.0335390567779541 nb_pixel_total : 28311 time to create 1 rle with old method : 0.03140068054199219 time for calcul the mask position with numpy : 0.028907299041748047 nb_pixel_total : 99551 time to create 1 rle with old method : 0.10959553718566895 time for calcul the mask position with numpy : 0.040598154067993164 nb_pixel_total : 1880 time to create 1 rle with old method : 0.002132892608642578 time for calcul the mask position with numpy : 0.040169715881347656 nb_pixel_total : 8682 time to create 1 rle with old method : 0.010438919067382812 time for calcul the mask position with numpy : 0.0455172061920166 nb_pixel_total : 10141 time to create 1 rle with old method : 0.013775110244750977 time for calcul the mask position with numpy : 0.05398988723754883 nb_pixel_total : 19562 time to create 1 rle with old method : 0.02403092384338379 time for calcul the mask position with numpy : 0.05238986015319824 nb_pixel_total : 231914 time to create 1 rle with new method : 0.8455255031585693 time for calcul the mask position with numpy : 0.41416192054748535 nb_pixel_total : 3123711 time to create 1 rle with new method : 0.7389488220214844 time for calcul the mask position with numpy : 0.03336453437805176 nb_pixel_total : 20604 time to create 1 rle with old method : 0.022708654403686523 time for calcul the mask position with numpy : 0.028069496154785156 nb_pixel_total : 22474 time to create 1 rle with old method : 0.024399518966674805 time for calcul the mask position with numpy : 0.026887178421020508 nb_pixel_total : 24647 time to create 1 rle with old method : 0.027241230010986328 create new chi : 6.641912221908569 time to delete rle : 0.0019109249114990234 batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++++++Number RLEs to save : 13765 TO DO : save crop sub photo not yet done ! save time : 4.211611032485962 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 4.424375295639038 time for calcul the mask position with numpy : 1.0323033332824707 nb_pixel_total : 7984702 time to create 1 rle with new method : 1.6443476676940918 time for calcul the mask position with numpy : 0.030347347259521484 nb_pixel_total : 82236 time to create 1 rle with old method : 0.08872056007385254 time for calcul the mask position with numpy : 0.029922962188720703 nb_pixel_total : 14207 time to create 1 rle with old method : 0.015213251113891602 time for calcul the mask position with numpy : 0.03293871879577637 nb_pixel_total : 213255 time to create 1 rle with new method : 0.9537031650543213 create new chi : 3.926356315612793 time to delete rle : 0.0012302398681640625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4814 TO DO : save crop sub photo not yet done ! save time : 0.6359200477600098 map_output_result : {1331979205: (0.0, 'Should be the crop_list due to order', 0), 1331979202: (0.0, 'Should be the crop_list due to order', 0), 1331979169: (0.0, 'Should be the crop_list due to order', 0), 1331979167: (0.0, 'Should be the crop_list due to order', 0), 1331979164: (0.0, 'Should be the crop_list due to order', 0), 1331979160: (0.0, 'Should be the crop_list due to order', 0), 1331979158: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1331979205, 1331979202, 1331979169, 1331979167, 1331979164, 1331979160, 1331979158] Looping around the photos to save general results len do output : 7 /1331979205.Didn't retrieve data . /1331979202.Didn't retrieve data . /1331979169.Didn't retrieve data . /1331979167.Didn't retrieve data . /1331979164.Didn't retrieve data . /1331979160.Didn't retrieve data . /1331979158.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979205', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979202', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979169', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979167', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979164', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979160', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979158', None, None, None, None, None, '2652054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.020306110382080078 save_final save missing photos in datou_result : time spend for datou_step_exec : 136.09879899024963 time spend to save output : 0.02077937126159668 total time spend for step 3 : 136.11957836151123 step4:ventilate_hashtags_in_portfolio Sat Mar 8 13:05:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 21177717 get user id for portfolio 21177717 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177717 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','pet_fonce','metal','papier','autre','flou','background','pet_clair','environnement','pehd')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177717 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','pet_fonce','metal','papier','autre','flou','background','pet_clair','environnement','pehd')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177717 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','pet_fonce','metal','papier','autre','flou','background','pet_clair','environnement','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21180356,21180357,21180358,21180359,21180360,21180361,21180362,21180363,21180364,21180365,21180366?tags=mal_croppe,carton,pet_fonce,metal,papier,autre,flou,background,pet_clair,environnement,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1331979205, 1331979202, 1331979169, 1331979167, 1331979164, 1331979160, 1331979158] Looping around the photos to save general results len do output : 1 /21177717. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979205', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979202', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979169', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979167', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979164', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979160', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979158', None, None, None, None, None, '2652054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.02372288703918457 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.105294942855835 time spend to save output : 0.023981571197509766 total time spend for step 4 : 3.1292765140533447 step5:final Sat Mar 8 13:05:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1331979205: ('0.1187846705522487',), 1331979202: ('0.1187846705522487',), 1331979169: ('0.1187846705522487',), 1331979167: ('0.1187846705522487',), 1331979164: ('0.1187846705522487',), 1331979160: ('0.1187846705522487',), 1331979158: ('0.1187846705522487',)} new output for save of step final : {1331979205: ('0.1187846705522487',), 1331979202: ('0.1187846705522487',), 1331979169: ('0.1187846705522487',), 1331979167: ('0.1187846705522487',), 1331979164: ('0.1187846705522487',), 1331979160: ('0.1187846705522487',), 1331979158: ('0.1187846705522487',)} [1331979205, 1331979202, 1331979169, 1331979167, 1331979164, 1331979160, 1331979158] Looping around the photos to save general results len do output : 7 /1331979205.Didn't retrieve data . /1331979202.Didn't retrieve data . /1331979169.Didn't retrieve data . /1331979167.Didn't retrieve data . /1331979164.Didn't retrieve data . /1331979160.Didn't retrieve data . /1331979158.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979205', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979202', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979169', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979167', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979164', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979160', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979158', None, None, None, None, None, '2652054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.030809402465820312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13099098205566406 time spend to save output : 0.03130602836608887 total time spend for step 5 : 0.16229701042175293 step6:blur_detection Sat Mar 8 13:05:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 7 time used for this insertion : 0.008952617645263672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 7 time used for this insertion : 0.008913040161132812 save missing photos in datou_result : time spend for datou_step_exec : 0.4363095760345459 time spend to save output : 0.022429466247558594 total time spend for step 6 : 0.4587390422821045 step7:brightness Sat Mar 8 13:05:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 7 time used for this insertion : 0.14322757720947266 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 7 time used for this insertion : 0.009439945220947266 save missing photos in datou_result : time spend for datou_step_exec : 0.2708852291107178 time spend to save output : 0.15697979927062988 total time spend for step 7 : 0.42786502838134766 step8:velours_tree Sat Mar 8 13:05:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 1.4413692951202393 time spend to save output : 5.650520324707031e-05 total time spend for step 8 : 1.4414258003234863 step9:send_mail_cod Sat Mar 8 13:05:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P21177717_08-03-2025_13_05_35.pdf 21180356 imagette211803561741435535 21180357 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211803571741435535 21180358 change filename to text .imagette211803581741435536 21180359 change filename to text .imagette211803591741435536 21180360 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211803601741435536 21180361 change filename to text .imagette211803611741435537 21180362 imagette211803621741435537 21180363 imagette211803631741435537 21180364 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211803641741435537 21180366 imagette211803661741435539 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21177717 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21180356,21180357,21180358,21180359,21180360,21180361,21180362,21180363,21180364,21180365,21180366?tags=mal_croppe,carton,pet_fonce,metal,papier,autre,flou,background,pet_clair,environnement,pehd args[1331979205] : ((1331979205, -3.7654038102601954, 492609224), (1331979205, -0.5464463734839068, 501862349), '0.1187846705522487') We are sending mail with results at report@fotonower.com args[1331979202] : ((1331979202, -3.2229172988753048, 492609224), (1331979202, -1.4787004008373086, 501862349), '0.1187846705522487') We are sending mail with results at report@fotonower.com args[1331979169] : ((1331979169, -3.561845051938351, 492609224), (1331979169, -1.0809084381291436, 501862349), '0.1187846705522487') We are sending mail with results at report@fotonower.com args[1331979167] : ((1331979167, -3.3777125422119845, 492609224), (1331979167, -1.0411303270586527, 501862349), '0.1187846705522487') We are sending mail with results at report@fotonower.com args[1331979164] : ((1331979164, -3.750643731927201, 492609224), (1331979164, -0.5960430118198113, 501862349), '0.1187846705522487') We are sending mail with results at report@fotonower.com args[1331979160] : ((1331979160, -4.97792809874862, 492609224), (1331979160, -0.7845444881835818, 501862349), '0.1187846705522487') We are sending mail with results at report@fotonower.com args[1331979158] : ((1331979158, -5.024327219339481, 492609224), (1331979158, -0.7481865194761054, 501862349), '0.1187846705522487') We are sending mail with results at report@fotonower.com refus_total : 0.1187846705522487 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21177717 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177717_08-03-2025_13_05_35.pdf results_Auto_P21177717_08-03-2025_13_05_35.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177717_08-03-2025_13_05_35.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','21177717','results_Auto_P21177717_08-03-2025_13_05_35.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177717_08-03-2025_13_05_35.pdf','pdf','','0.9','0.1187846705522487') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/21177717

https://www.fotonower.com/image?json=false&list_photos_id=1331979205
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979202
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979169
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979167
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979164
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979160
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979158
Bravo, la photo est bien prise.

Dans ces conditions,le taux de refus est: 11.88%
Veuillez trouver les photos des contaminants.

exemples de contaminants: carton: https://www.fotonower.com/view/21180357?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/21180358?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/21180359?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/21180360?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/21180361?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/21180364?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177717_08-03-2025_13_05_35.pdf.

Lien vers velours :https://www.fotonower.com/velours/21180356,21180357,21180358,21180359,21180360,21180361,21180362,21180363,21180364,21180365,21180366?tags=mal_croppe,carton,pet_fonce,metal,papier,autre,flou,background,pet_clair,environnement,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 08 Mar 2025 12:05:42 GMT Content-Length: 0 Connection: close X-Message-Id: Qs8vQMFyQUWBvmjIHRwz1g Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1331979205, 1331979202, 1331979169, 1331979167, 1331979164, 1331979160, 1331979158] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979205', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979202', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979169', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979167', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979164', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979160', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979158', None, None, None, None, None, '2652054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.12810993194580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.791952610015869 time spend to save output : 0.12850189208984375 total time spend for step 9 : 6.920454502105713 step10:split_time_score Sat Mar 8 13:05:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('14', 7),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27012025 21177717 Nombre de photos uploadées : 7 / 23040 (0%) 27012025 21177717 Nombre de photos taguées (types de déchets): 0 / 7 (0%) 27012025 21177717 Nombre de photos taguées (volume) : 0 / 7 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ??????? elapsed_time : fill_and_build_computed_from_old_data 0.0005428791046142578 elapsed_time : insert_dashboard_record_day_entry 0.02353811264038086 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.1649695698302469 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177656_08-03-2025_12_56_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177656 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177656 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177659 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177671 order by id desc limit 1 Qualite : 0.028533669356422656 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177680_08-03-2025_11_42_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177680 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177680 AND mptpi.`type`=3726 To do Qualite : 0.01355141906818977 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177715_08-03-2025_11_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177715 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177715 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177716 order by id desc limit 1 Qualite : 0.1187846705522487 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177717_08-03-2025_13_05_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177717 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177717 AND mptpi.`type`=3594 To do Qualite : 0.08867884355709874 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177725_08-03-2025_11_49_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177725 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177725 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27012025': {'nb_upload': 7, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1331979205, 1331979202, 1331979169, 1331979167, 1331979164, 1331979160, 1331979158] Looping around the photos to save general results len do output : 1 /21177717Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979205', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979202', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979169', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979167', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979164', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979160', None, None, None, None, None, '2652054') ('3318', None, None, None, None, None, None, None, '2652054') ('3318', '21177717', '1331979158', None, None, None, None, None, '2652054') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.013599872589111328 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.8080525398254395 time spend to save output : 0.01385498046875 total time spend for step 10 : 7.8219075202941895 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 7 set_done_treatment 81.36user 124.00system 5:24.86elapsed 63%CPU (0avgtext+0avgdata 3800140maxresident)k 1282168inputs+128616outputs (13780major+10034795minor)pagefaults 0swaps