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 : 469463 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 : ['3598267'] with mtr_portfolio_ids : ['26226962'] and first list_photo_ids : [] new path : /proc/469463/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.0488269329071045 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 Tue Aug 26 09:50:28 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 : 10385 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-26 09:50:32.859737: 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-08-26 09:50:32.896595: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-26 09:50:32.899433: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9b8c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-26 09:50:32.899505: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-26 09:50:32.906919: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-26 09:50:33.110558: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x29fa8c70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-26 09:50:33.110651: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-26 09:50:33.113329: 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-08-26 09:50:33.117188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 09:50:33.158784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 09:50:33.185877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-26 09:50:33.191194: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-26 09:50:33.232576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-26 09:50:33.239025: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-26 09:50:33.309300: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-26 09:50:33.312014: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-26 09:50:33.312676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 09:50:33.315338: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-26 09:50:33.315369: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-26 09:50:33.315390: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-26 09:50:33.318464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9620 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-08-26 09:50:33.779745: 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-08-26 09:50:33.779832: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 09:50:33.779853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 09:50:33.779871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-26 09:50:33.779889: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-26 09:50:33.779907: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-26 09:50:33.779924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-26 09:50:33.779941: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-26 09:50:33.781518: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-26 09:50:33.782893: 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-08-26 09:50:33.782933: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 09:50:33.782952: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 09:50:33.782969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-26 09:50:33.782985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-26 09:50:33.783002: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-26 09:50:33.783018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-26 09:50:33.783035: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-26 09:50:33.784614: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-26 09:50:33.784648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-26 09:50:33.784659: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-26 09:50:33.784668: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-26 09:50:33.786068: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9620 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-08-26 09:50:42.818748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 09:50:43.167673: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 470054 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 520 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 5415 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.0007386207580566406 nb_pixel_total : 24020 time to create 1 rle with old method : 0.03054666519165039 length of segment : 195 time for calcul the mask position with numpy : 0.00015044212341308594 nb_pixel_total : 5678 time to create 1 rle with old method : 0.0067517757415771484 length of segment : 107 time for calcul the mask position with numpy : 0.0001418590545654297 nb_pixel_total : 5621 time to create 1 rle with old method : 0.006977558135986328 length of segment : 73 time for calcul the mask position with numpy : 0.0003027915954589844 nb_pixel_total : 10474 time to create 1 rle with old method : 0.012292623519897461 length of segment : 181 time for calcul the mask position with numpy : 0.0002987384796142578 nb_pixel_total : 16168 time to create 1 rle with old method : 0.018824338912963867 length of segment : 153 time for calcul the mask position with numpy : 0.0002951622009277344 nb_pixel_total : 13700 time to create 1 rle with old method : 0.015960216522216797 length of segment : 143 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 6059 time to create 1 rle with old method : 0.0071294307708740234 length of segment : 74 time for calcul the mask position with numpy : 0.00010204315185546875 nb_pixel_total : 3863 time to create 1 rle with old method : 0.004990339279174805 length of segment : 47 time for calcul the mask position with numpy : 0.0002377033233642578 nb_pixel_total : 8768 time to create 1 rle with old method : 0.010438919067382812 length of segment : 161 time for calcul the mask position with numpy : 0.0002048015594482422 nb_pixel_total : 7081 time to create 1 rle with old method : 0.008476018905639648 length of segment : 112 time for calcul the mask position with numpy : 0.0003857612609863281 nb_pixel_total : 22013 time to create 1 rle with old method : 0.024424076080322266 length of segment : 172 time for calcul the mask position with numpy : 0.0001442432403564453 nb_pixel_total : 5383 time to create 1 rle with old method : 0.006374835968017578 length of segment : 91 time for calcul the mask position with numpy : 0.00013566017150878906 nb_pixel_total : 5702 time to create 1 rle with old method : 0.007108926773071289 length of segment : 56 time for calcul the mask position with numpy : 0.0006794929504394531 nb_pixel_total : 39563 time to create 1 rle with old method : 0.04504704475402832 length of segment : 269 time for calcul the mask position with numpy : 0.016140222549438477 nb_pixel_total : 670924 time to create 1 rle with new method : 0.2311995029449463 length of segment : 1082 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 4919 time to create 1 rle with old method : 0.0059430599212646484 length of segment : 127 time for calcul the mask position with numpy : 0.0002608299255371094 nb_pixel_total : 3849 time to create 1 rle with old method : 0.004553794860839844 length of segment : 98 time for calcul the mask position with numpy : 0.0008466243743896484 nb_pixel_total : 22744 time to create 1 rle with old method : 0.02742624282836914 length of segment : 249 time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 6735 time to create 1 rle with old method : 0.008241891860961914 length of segment : 54 time for calcul the mask position with numpy : 0.00021409988403320312 nb_pixel_total : 11236 time to create 1 rle with old method : 0.01379251480102539 length of segment : 130 time for calcul the mask position with numpy : 0.00013113021850585938 nb_pixel_total : 5700 time to create 1 rle with old method : 0.006987094879150391 length of segment : 104 time for calcul the mask position with numpy : 0.0003044605255126953 nb_pixel_total : 15321 time to create 1 rle with old method : 0.017363309860229492 length of segment : 166 time for calcul the mask position with numpy : 0.00017690658569335938 nb_pixel_total : 7093 time to create 1 rle with old method : 0.008417129516601562 length of segment : 152 time for calcul the mask position with numpy : 0.0004470348358154297 nb_pixel_total : 16321 time to create 1 rle with old method : 0.01971721649169922 length of segment : 204 time for calcul the mask position with numpy : 0.0001327991485595703 nb_pixel_total : 5936 time to create 1 rle with old method : 0.006961345672607422 length of segment : 89 time for calcul the mask position with numpy : 0.0003275871276855469 nb_pixel_total : 11762 time to create 1 rle with old method : 0.013917922973632812 length of segment : 255 time for calcul the mask position with numpy : 0.0014586448669433594 nb_pixel_total : 51459 time to create 1 rle with old method : 0.056524038314819336 length of segment : 321 time for calcul the mask position with numpy : 0.0003826618194580078 nb_pixel_total : 10888 time to create 1 rle with old method : 0.012485742568969727 length of segment : 81 time for calcul the mask position with numpy : 0.0005061626434326172 nb_pixel_total : 11523 time to create 1 rle with old method : 0.013755321502685547 length of segment : 110 time for calcul the mask position with numpy : 0.0003993511199951172 nb_pixel_total : 8178 time to create 1 rle with old method : 0.009699583053588867 length of segment : 130 time for calcul the mask position with numpy : 0.00031304359436035156 nb_pixel_total : 11380 time to create 1 rle with old method : 0.01284337043762207 length of segment : 144 time for calcul the mask position with numpy : 0.0004596710205078125 nb_pixel_total : 12874 time to create 1 rle with old method : 0.014470338821411133 length of segment : 212 time for calcul the mask position with numpy : 0.0007259845733642578 nb_pixel_total : 26188 time to create 1 rle with old method : 0.029332637786865234 length of segment : 128 time for calcul the mask position with numpy : 0.027231931686401367 nb_pixel_total : 1126919 time to create 1 rle with new method : 0.44573235511779785 length of segment : 1594 time for calcul the mask position with numpy : 0.000370025634765625 nb_pixel_total : 8952 time to create 1 rle with old method : 0.010495901107788086 length of segment : 120 time for calcul the mask position with numpy : 0.0002429485321044922 nb_pixel_total : 3424 time to create 1 rle with old method : 0.004296779632568359 length of segment : 98 time for calcul the mask position with numpy : 0.0002791881561279297 nb_pixel_total : 5627 time to create 1 rle with old method : 0.00672459602355957 length of segment : 89 time for calcul the mask position with numpy : 0.00028061866760253906 nb_pixel_total : 12179 time to create 1 rle with old method : 0.014301776885986328 length of segment : 156 time for calcul the mask position with numpy : 0.00040149688720703125 nb_pixel_total : 10696 time to create 1 rle with old method : 0.012293815612792969 length of segment : 183 time for calcul the mask position with numpy : 0.0003752708435058594 nb_pixel_total : 8995 time to create 1 rle with old method : 0.01051783561706543 length of segment : 144 time for calcul the mask position with numpy : 0.00010371208190917969 nb_pixel_total : 3540 time to create 1 rle with old method : 0.0042040348052978516 length of segment : 71 time for calcul the mask position with numpy : 0.0005183219909667969 nb_pixel_total : 11396 time to create 1 rle with old method : 0.013339996337890625 length of segment : 167 time for calcul the mask position with numpy : 0.00030159950256347656 nb_pixel_total : 4902 time to create 1 rle with old method : 0.008556365966796875 length of segment : 69 time for calcul the mask position with numpy : 0.0003457069396972656 nb_pixel_total : 8817 time to create 1 rle with old method : 0.015001058578491211 length of segment : 107 time for calcul the mask position with numpy : 0.0002512931823730469 nb_pixel_total : 10588 time to create 1 rle with old method : 0.014140844345092773 length of segment : 115 time for calcul the mask position with numpy : 0.00026035308837890625 nb_pixel_total : 7441 time to create 1 rle with old method : 0.008870363235473633 length of segment : 109 time for calcul the mask position with numpy : 0.0008947849273681641 nb_pixel_total : 47230 time to create 1 rle with old method : 0.052908897399902344 length of segment : 203 time for calcul the mask position with numpy : 0.00043511390686035156 nb_pixel_total : 8640 time to create 1 rle with old method : 0.009986400604248047 length of segment : 137 time for calcul the mask position with numpy : 0.0012996196746826172 nb_pixel_total : 47860 time to create 1 rle with old method : 0.05694174766540527 length of segment : 433 time spent for convertir_results : 3.1204237937927246 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 49 chid ids of type : 3594 Number RLEs to save : 9465 save missing photos in datou_result : time spend for datou_step_exec : 31.962986707687378 time spend to save output : 0.5832955837249756 total time spend for step 1 : 32.54628229141235 step2:crop_condition Tue Aug 26 09:51:01 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 : 9 ! batch 1 Loaded 49 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 ! map_result returned by crop_photo_return_map_crop : length : 31 About to insert : list_path_to_insert length 31 new photo from crops ! About to upload 31 photos upload in portfolio : 3736932 init cache_photo without model_param we have 31 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756194663_469463 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 31 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.685940980911255 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756194675_469463 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2769858837127686 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 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 ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756194682_469463 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.213218927383423 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/1756194685_469463 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5691258907318115 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 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 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 [1379390367, 1379390365, 1379390361, 1379390336, 1379390333, 1379390330, 1379390324, 1379390323, 1379390321] Looping around the photos to save general results len do output : 49 /1379395939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395941Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395943Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395946Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395991Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395992Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395993Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395995Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395996Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379395999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379396001Didn'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, '3598267') ('3318', '26226962', '1379390367', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390365', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390361', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390336', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390333', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390330', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390324', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390323', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390321', None, None, None, None, None, '3598267') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 156 time used for this insertion : 0.02746415138244629 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.658834218978882 time spend to save output : 0.02906489372253418 total time spend for step 2 : 24.687899112701416 step3:rle_unique_nms_with_priority Tue Aug 26 09:51:25 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 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 49 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 0.6022868156433105 time for calcul the mask position with numpy : 0.12052416801452637 nb_pixel_total : 1972222 time to create 1 rle with new method : 0.10994195938110352 time for calcul the mask position with numpy : 0.006736040115356445 nb_pixel_total : 7081 time to create 1 rle with old method : 0.00848698616027832 time for calcul the mask position with numpy : 0.007162332534790039 nb_pixel_total : 8768 time to create 1 rle with old method : 0.011739969253540039 time for calcul the mask position with numpy : 0.006741046905517578 nb_pixel_total : 3809 time to create 1 rle with old method : 0.00466609001159668 time for calcul the mask position with numpy : 0.007762432098388672 nb_pixel_total : 6059 time to create 1 rle with old method : 0.007654905319213867 time for calcul the mask position with numpy : 0.007810354232788086 nb_pixel_total : 13700 time to create 1 rle with old method : 0.016337871551513672 time for calcul the mask position with numpy : 0.007863759994506836 nb_pixel_total : 16168 time to create 1 rle with old method : 0.01868605613708496 time for calcul the mask position with numpy : 0.007857322692871094 nb_pixel_total : 10474 time to create 1 rle with old method : 0.012112617492675781 time for calcul the mask position with numpy : 0.008135318756103516 nb_pixel_total : 5621 time to create 1 rle with old method : 0.006410121917724609 time for calcul the mask position with numpy : 0.008160114288330078 nb_pixel_total : 5678 time to create 1 rle with old method : 0.0068018436431884766 time for calcul the mask position with numpy : 0.008086442947387695 nb_pixel_total : 24020 time to create 1 rle with old method : 0.02773904800415039 create new chi : 0.4377293586730957 time to delete rle : 0.029872655868530273 batch 1 Loaded 21 chid ids of type : 3594 ++++++++++++Number RLEs to save : 3557 TO DO : save crop sub photo not yet done ! save time : 0.2681739330291748 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.11580634117126465 time for calcul the mask position with numpy : 0.05516171455383301 nb_pixel_total : 1330015 time to create 1 rle with new method : 0.10314321517944336 time for calcul the mask position with numpy : 0.014363527297973633 nb_pixel_total : 670924 time to create 1 rle with new method : 0.029557228088378906 time for calcul the mask position with numpy : 0.0067596435546875 nb_pixel_total : 39563 time to create 1 rle with old method : 0.04655909538269043 time for calcul the mask position with numpy : 0.006482601165771484 nb_pixel_total : 5702 time to create 1 rle with old method : 0.006966352462768555 time for calcul the mask position with numpy : 0.006779670715332031 nb_pixel_total : 5383 time to create 1 rle with old method : 0.0064356327056884766 time for calcul the mask position with numpy : 0.0069811344146728516 nb_pixel_total : 22013 time to create 1 rle with old method : 0.026027202606201172 create new chi : 0.31589627265930176 time to delete rle : 0.0006933212280273438 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 4375 TO DO : save crop sub photo not yet done ! save time : 0.3032817840576172 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.09918451309204102 time for calcul the mask position with numpy : 0.025463342666625977 nb_pixel_total : 2042088 time to create 1 rle with new method : 0.04110240936279297 time for calcul the mask position with numpy : 0.007844209671020508 nb_pixel_total : 22744 time to create 1 rle with old method : 0.04554629325866699 time for calcul the mask position with numpy : 0.007584571838378906 nb_pixel_total : 3849 time to create 1 rle with old method : 0.004526376724243164 time for calcul the mask position with numpy : 0.0066432952880859375 nb_pixel_total : 4919 time to create 1 rle with old method : 0.005682468414306641 create new chi : 0.14485406875610352 time to delete rle : 0.00044655799865722656 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 2028 TO DO : save crop sub photo not yet done ! save time : 0.17588496208190918 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.15926742553710938 time for calcul the mask position with numpy : 0.0632627010345459 nb_pixel_total : 2008495 time to create 1 rle with new method : 0.08246731758117676 time for calcul the mask position with numpy : 0.007795572280883789 nb_pixel_total : 348 time to create 1 rle with old method : 0.0006091594696044922 time for calcul the mask position with numpy : 0.007991313934326172 nb_pixel_total : 2351 time to create 1 rle with old method : 0.0029249191284179688 time for calcul the mask position with numpy : 0.010022401809692383 nb_pixel_total : 16321 time to create 1 rle with old method : 0.01905512809753418 time for calcul the mask position with numpy : 0.007668256759643555 nb_pixel_total : 7093 time to create 1 rle with old method : 0.008403539657592773 time for calcul the mask position with numpy : 0.007927179336547852 nb_pixel_total : 15321 time to create 1 rle with old method : 0.01804804801940918 time for calcul the mask position with numpy : 0.0077326297760009766 nb_pixel_total : 5700 time to create 1 rle with old method : 0.006456851959228516 time for calcul the mask position with numpy : 0.008160591125488281 nb_pixel_total : 11236 time to create 1 rle with old method : 0.013650178909301758 time for calcul the mask position with numpy : 0.008062124252319336 nb_pixel_total : 6735 time to create 1 rle with old method : 0.00817251205444336 create new chi : 0.3010745048522949 time to delete rle : 0.0008151531219482422 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 2864 TO DO : save crop sub photo not yet done ! save time : 0.2369089126586914 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.06071305274963379 time for calcul the mask position with numpy : 0.03057408332824707 nb_pixel_total : 2011253 time to create 1 rle with new method : 0.03847789764404297 time for calcul the mask position with numpy : 0.0067501068115234375 nb_pixel_total : 10888 time to create 1 rle with old method : 0.01236271858215332 time for calcul the mask position with numpy : 0.0074770450592041016 nb_pixel_total : 51459 time to create 1 rle with old method : 0.05948758125305176 create new chi : 0.15561771392822266 time to delete rle : 0.00041413307189941406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1884 TO DO : save crop sub photo not yet done ! save time : 0.15816521644592285 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.0982351303100586 time for calcul the mask position with numpy : 0.014118432998657227 nb_pixel_total : 890513 time to create 1 rle with new method : 0.08286237716674805 time for calcul the mask position with numpy : 0.015510797500610352 nb_pixel_total : 1113130 time to create 1 rle with new method : 0.17406892776489258 time for calcul the mask position with numpy : 0.00688624382019043 nb_pixel_total : 26188 time to create 1 rle with old method : 0.030895233154296875 time for calcul the mask position with numpy : 0.006852865219116211 nb_pixel_total : 12688 time to create 1 rle with old method : 0.016370296478271484 time for calcul the mask position with numpy : 0.007081508636474609 nb_pixel_total : 11380 time to create 1 rle with old method : 0.019008874893188477 time for calcul the mask position with numpy : 0.0077860355377197266 nb_pixel_total : 8178 time to create 1 rle with old method : 0.012992382049560547 time for calcul the mask position with numpy : 0.006923198699951172 nb_pixel_total : 11523 time to create 1 rle with old method : 0.018319368362426758 create new chi : 0.43535566329956055 time to delete rle : 0.0009257793426513672 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 5620 TO DO : save crop sub photo not yet done ! save time : 0.3825826644897461 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05431032180786133 time for calcul the mask position with numpy : 0.022020339965820312 nb_pixel_total : 2055597 time to create 1 rle with new method : 0.07575440406799316 time for calcul the mask position with numpy : 0.006492137908935547 nb_pixel_total : 5627 time to create 1 rle with old method : 0.007616996765136719 time for calcul the mask position with numpy : 0.006230354309082031 nb_pixel_total : 3424 time to create 1 rle with old method : 0.004537343978881836 time for calcul the mask position with numpy : 0.0061740875244140625 nb_pixel_total : 8952 time to create 1 rle with old method : 0.01172947883605957 create new chi : 0.14815092086791992 time to delete rle : 0.00029659271240234375 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1694 TO DO : save crop sub photo not yet done ! save time : 0.146348237991333 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.3504166603088379 time for calcul the mask position with numpy : 0.2778346538543701 nb_pixel_total : 2038190 time to create 1 rle with new method : 0.26308107376098633 time for calcul the mask position with numpy : 0.006750583648681641 nb_pixel_total : 3540 time to create 1 rle with old method : 0.00408935546875 time for calcul the mask position with numpy : 0.010628223419189453 nb_pixel_total : 8995 time to create 1 rle with old method : 0.011096000671386719 time for calcul the mask position with numpy : 0.010430574417114258 nb_pixel_total : 10696 time to create 1 rle with old method : 0.012255668640136719 time for calcul the mask position with numpy : 0.010921478271484375 nb_pixel_total : 12179 time to create 1 rle with old method : 0.013712406158447266 create new chi : 0.6311819553375244 time to delete rle : 0.0004875659942626953 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2188 TO DO : save crop sub photo not yet done ! save time : 0.16704916954040527 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.29086852073669434 time for calcul the mask position with numpy : 0.11421012878417969 nb_pixel_total : 1926726 time to create 1 rle with new method : 0.12978076934814453 time for calcul the mask position with numpy : 0.007299661636352539 nb_pixel_total : 47860 time to create 1 rle with old method : 0.0551908016204834 time for calcul the mask position with numpy : 0.006415128707885742 nb_pixel_total : 8640 time to create 1 rle with old method : 0.009743213653564453 time for calcul the mask position with numpy : 0.006649017333984375 nb_pixel_total : 47230 time to create 1 rle with old method : 0.05414867401123047 time for calcul the mask position with numpy : 0.00648045539855957 nb_pixel_total : 7441 time to create 1 rle with old method : 0.01165461540222168 time for calcul the mask position with numpy : 0.006369829177856445 nb_pixel_total : 10588 time to create 1 rle with old method : 0.012944936752319336 time for calcul the mask position with numpy : 0.006911039352416992 nb_pixel_total : 8817 time to create 1 rle with old method : 0.01058816909790039 time for calcul the mask position with numpy : 0.006658792495727539 nb_pixel_total : 4902 time to create 1 rle with old method : 0.005967617034912109 time for calcul the mask position with numpy : 0.006723642349243164 nb_pixel_total : 11396 time to create 1 rle with old method : 0.013433456420898438 create new chi : 0.48217201232910156 time to delete rle : 0.00060272216796875 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3760 TO DO : save crop sub photo not yet done ! save time : 0.2720043659210205 map_output_result : {1379390367: (0.0, 'Should be the crop_list due to order', 0), 1379390365: (0.0, 'Should be the crop_list due to order', 0), 1379390361: (0.0, 'Should be the crop_list due to order', 0), 1379390336: (0.0, 'Should be the crop_list due to order', 0), 1379390333: (0.0, 'Should be the crop_list due to order', 0), 1379390330: (0.0, 'Should be the crop_list due to order', 0), 1379390324: (0.0, 'Should be the crop_list due to order', 0), 1379390323: (0.0, 'Should be the crop_list due to order', 0), 1379390321: (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 [1379390367, 1379390365, 1379390361, 1379390336, 1379390333, 1379390330, 1379390324, 1379390323, 1379390321] Looping around the photos to save general results len do output : 9 /1379390367.Didn't retrieve data . /1379390365.Didn't retrieve data . /1379390361.Didn't retrieve data . /1379390336.Didn't retrieve data . /1379390333.Didn't retrieve data . /1379390330.Didn't retrieve data . /1379390324.Didn't retrieve data . /1379390323.Didn't retrieve data . /1379390321.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, '3598267') ('3318', '26226962', '1379390367', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390365', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390361', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390336', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390333', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390330', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390324', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390323', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390321', None, None, None, None, None, '3598267') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.014007568359375 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.472522974014282 time spend to save output : 0.01456904411315918 total time spend for step 3 : 7.487092018127441 step4:ventilate_hashtags_in_portfolio Tue Aug 26 09:51: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 beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26226962 get user id for portfolio 26226962 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`=26226962 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','environnement','papier','background','autre','metal','pehd','flou','pet_clair','pet_fonce')) 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`=26226962 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','environnement','papier','background','autre','metal','pehd','flou','pet_clair','pet_fonce')) 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`=26226962 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','environnement','papier','background','autre','metal','pehd','flou','pet_clair','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26227168,26227169,26227170,26227171,26227172,26227173,26227174,26227175,26227176,26227177,26227178?tags=carton,mal_croppe,environnement,papier,background,autre,metal,pehd,flou,pet_clair,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379390367, 1379390365, 1379390361, 1379390336, 1379390333, 1379390330, 1379390324, 1379390323, 1379390321] Looping around the photos to save general results len do output : 1 /26226962. 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, '3598267') ('3318', '26226962', '1379390367', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390365', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390361', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390336', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390333', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390330', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390324', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390323', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390321', None, None, None, None, None, '3598267') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.017912626266479492 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7173476219177246 time spend to save output : 0.018241405487060547 total time spend for step 4 : 1.7355890274047852 step5:final Tue Aug 26 09:51: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 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 : {1379390367: ('0.12792036394032924',), 1379390365: ('0.12792036394032924',), 1379390361: ('0.12792036394032924',), 1379390336: ('0.12792036394032924',), 1379390333: ('0.12792036394032924',), 1379390330: ('0.12792036394032924',), 1379390324: ('0.12792036394032924',), 1379390323: ('0.12792036394032924',), 1379390321: ('0.12792036394032924',)} new output for save of step final : {1379390367: ('0.12792036394032924',), 1379390365: ('0.12792036394032924',), 1379390361: ('0.12792036394032924',), 1379390336: ('0.12792036394032924',), 1379390333: ('0.12792036394032924',), 1379390330: ('0.12792036394032924',), 1379390324: ('0.12792036394032924',), 1379390323: ('0.12792036394032924',), 1379390321: ('0.12792036394032924',)} [1379390367, 1379390365, 1379390361, 1379390336, 1379390333, 1379390330, 1379390324, 1379390323, 1379390321] Looping around the photos to save general results len do output : 9 /1379390367.Didn't retrieve data . /1379390365.Didn't retrieve data . /1379390361.Didn't retrieve data . /1379390336.Didn't retrieve data . /1379390333.Didn't retrieve data . /1379390330.Didn't retrieve data . /1379390324.Didn't retrieve data . /1379390323.Didn't retrieve data . /1379390321.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, '3598267') ('3318', '26226962', '1379390367', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390365', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390361', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390336', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390333', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390330', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390324', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390323', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390321', None, None, None, None, None, '3598267') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.020297765731811523 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15584564208984375 time spend to save output : 0.020833730697631836 total time spend for step 5 : 0.17667937278747559 step6:blur_detection Tue Aug 26 09:51: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 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 methode: ratio et variance treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c.jpg resize: (1080, 1920) 1379390367 0.376500794902375 treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6.jpg resize: (1080, 1920) 1379390365 0.6494930661231816 treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab.jpg resize: (1080, 1920) 1379390361 0.6774456674057878 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc.jpg resize: (1080, 1920) 1379390336 -1.0698979239982391 treat image : temp/1756194627_469463_1379390333_ca3383a2a132a4f106c18657a27b3b9b.jpg resize: (1080, 1920) 1379390333 0.5311130246460356 treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43.jpg resize: (1080, 1920) 1379390330 -1.3625731321660686 treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad.jpg resize: (1080, 1920) 1379390324 -0.3581232438915454 treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693.jpg resize: (1080, 1920) 1379390323 1.2725820068993403 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385.jpg resize: (1080, 1920) 1379390321 -0.27008593137230563 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744441_0.png resize: (181, 117) 1379395939 -1.5662475877460773 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744442_0.png resize: (153, 143) 1379395940 3.252551297295824 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744440_0.png resize: (73, 123) 1379395941 -1.1280929041756058 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744444_0.png resize: (74, 124) 1379395942 -0.00804734331738828 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744438_0.png resize: (154, 234) 1379395943 -1.39916022828226 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744445_0.png resize: (38, 147) 1379395944 -1.0942819787268818 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744446_0.png resize: (130, 139) 1379395945 -1.2203026830530646 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744439_0.png resize: (107, 79) 1379395946 -0.37427096359953144 treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744448_0.png resize: (172, 210) 1379395947 -1.472245787458959 treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744450_0.png resize: (47, 226) 1379395948 -2.056474428294725 treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744451_0.png resize: (245, 215) 1379395949 -1.3533569219479051 treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744449_0.png resize: (91, 90) 1379395950 -2.115062189063286 treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab_rle_crop_3930744454_0.png resize: (98, 58) 1379395951 -0.4917909135998593 treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab_rle_crop_3930744453_0.png resize: (127, 48) 1379395952 3.39273772083042 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744463_0.png resize: (205, 154) 1379395953 -1.2432247902099964 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744458_0.png resize: (104, 72) 1379395954 1.4286918822185781 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744460_0.png resize: (152, 62) 1379395955 -0.10701652930614623 treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744466_0.png resize: (98, 160) 1379395957 2.071493210573207 treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744468_0.png resize: (138, 126) 1379395958 -1.3805337325174805 treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744467_0.png resize: (130, 101) 1379395959 1.2451556614369985 treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad_rle_crop_3930744473_0.png resize: (80, 85) 1379395961 -1.5288443991095815 treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad_rle_crop_3930744474_0.png resize: (89, 128) 1379395962 -1.2051481929778987 treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744476_0.png resize: (164, 98) 1379395963 0.2528662872190544 treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744477_0.png resize: (138, 102) 1379395965 -0.6528416015521039 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744479_0.png resize: (167, 125) 1379395966 -0.5878989251121072 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744484_0.png resize: (202, 328) 1379395967 -2.1520665142025153 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744480_0.png resize: (69, 107) 1379395968 -1.2228617372277009 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744482_0.png resize: (113, 120) 1379395969 0.6206078682684165 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744483_0.png resize: (109, 89) 1379395970 -2.5578224975247443 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744481_0.png resize: (102, 141) 1379395971 -1.536787279617343 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744485_0.png resize: (132, 109) 1379395972 -1.5478806858476375 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744443_0.png resize: (142, 137) 1379395974 -0.7423972079954252 treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744452_0.png resize: (957, 1012) 1379395975 -0.3149077710279876 treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744478_0.png resize: (70, 57) 1379395976 4.408558347803827 treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744486_0.png resize: (413, 168) 1379395977 -1.1354113012722618 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744447_0.png resize: (111, 78) 1379395987 0.4730449330535322 treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab_rle_crop_3930744455_0.png resize: (162, 318) 1379395988 -2.7624553509243936 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744459_0.png resize: (166, 144) 1379395989 -1.5272152054306674 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744461_0.png resize: (192, 163) 1379395990 -2.176019047647705 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744462_0.png resize: (87, 88) 1379395991 -3.700915830410415 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744457_0.png resize: (123, 152) 1379395992 -3.6915477995224237 treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744456_0.png resize: (53, 142) 1379395993 1.2628982094881385 treat image : temp/1756194627_469463_1379390333_ca3383a2a132a4f106c18657a27b3b9b_rle_crop_3930744465_0.png resize: (81, 194) 1379395994 -2.1454602071722295 treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744471_0.png resize: (997, 1316) 1379395995 -1.1436058215887273 treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744470_0.png resize: (108, 322) 1379395996 -0.6210881171972327 treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744469_0.png resize: (179, 108) 1379395997 -1.3241658017709916 treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad_rle_crop_3930744472_0.png resize: (120, 92) 1379395998 -1.9924827612590024 treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744475_0.png resize: (145, 111) 1379395999 -2.2032746851607645 treat image : temp/1756194627_469463_1379390333_ca3383a2a132a4f106c18657a27b3b9b_rle_crop_3930744464_0.png resize: (321, 270) 1379396001 -0.41516219833497525 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 : 58 time used for this insertion : 0.017991065979003906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 58 time used for this insertion : 0.016852140426635742 save missing photos in datou_result : time spend for datou_step_exec : 8.631952285766602 time spend to save output : 0.03975176811218262 total time spend for step 6 : 8.671704053878784 step7:brightness Tue Aug 26 09:51:44 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 treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c.jpg treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6.jpg treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab.jpg treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc.jpg treat image : temp/1756194627_469463_1379390333_ca3383a2a132a4f106c18657a27b3b9b.jpg treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43.jpg treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad.jpg treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693.jpg treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385.jpg treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744441_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744442_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744440_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744444_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744438_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744445_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744446_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744439_0.png treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744448_0.png treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744450_0.png treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744451_0.png treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744449_0.png treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab_rle_crop_3930744454_0.png treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab_rle_crop_3930744453_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744463_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744458_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744460_0.png treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744466_0.png treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744468_0.png treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744467_0.png treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad_rle_crop_3930744473_0.png treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad_rle_crop_3930744474_0.png treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744476_0.png treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744477_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744479_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744484_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744480_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744482_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744483_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744481_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744485_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744443_0.png treat image : temp/1756194627_469463_1379390365_2d5e2bb981cb79f10b9de27db89eecd6_rle_crop_3930744452_0.png treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744478_0.png treat image : temp/1756194627_469463_1379390321_ed23bb8ab2f1836cd34d0ebbdf8ea385_rle_crop_3930744486_0.png treat image : temp/1756194627_469463_1379390367_5d125008b43244e8da050557d4de0a4c_rle_crop_3930744447_0.png treat image : temp/1756194627_469463_1379390361_0c9ecec3b4e3aecf58c368b277a6c4ab_rle_crop_3930744455_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744459_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744461_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744462_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744457_0.png treat image : temp/1756194627_469463_1379390336_4c2449e6cd2a1f32c8b82b475ab9a2cc_rle_crop_3930744456_0.png treat image : temp/1756194627_469463_1379390333_ca3383a2a132a4f106c18657a27b3b9b_rle_crop_3930744465_0.png treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744471_0.png treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744470_0.png treat image : temp/1756194627_469463_1379390330_7db905397e19233e7257093c5f77af43_rle_crop_3930744469_0.png treat image : temp/1756194627_469463_1379390324_495ca347b6365c1c6316b784b90374ad_rle_crop_3930744472_0.png treat image : temp/1756194627_469463_1379390323_f4edc3ae4918cef62537ced46788a693_rle_crop_3930744475_0.png treat image : temp/1756194627_469463_1379390333_ca3383a2a132a4f106c18657a27b3b9b_rle_crop_3930744464_0.png 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 : 58 time used for this insertion : 0.02189946174621582 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 58 time used for this insertion : 0.016049623489379883 save missing photos in datou_result : time spend for datou_step_exec : 2.4485278129577637 time spend to save output : 0.04247760772705078 total time spend for step 7 : 2.4910054206848145 step8:velours_tree Tue Aug 26 09:51:46 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 : 0.36069250106811523 time spend to save output : 4.38690185546875e-05 total time spend for step 8 : 0.3607363700866699 step9:send_mail_cod Tue Aug 26 09:51:46 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 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 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_P26226962_26-08-2025_09_51_46.pdf 26227168 change filename to text .change filename to text .change filename to text .change filename to text .imagette262271681756194706 26227169 imagette262271691756194707 26227171 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 .imagette262271711756194707 26227172 imagette262271721756194708 26227173 change filename to text .imagette262271731756194708 26227174 imagette262271741756194708 26227175 imagette262271751756194708 26227176 imagette262271761756194708 26227177 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 .imagette262271771756194708 26227178 imagette262271781756194709 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26226962 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26227168,26227169,26227170,26227171,26227172,26227173,26227174,26227175,26227176,26227177,26227178?tags=carton,mal_croppe,environnement,papier,background,autre,metal,pehd,flou,pet_clair,pet_fonce args[1379390367] : ((1379390367, 0.376500794902375, 492688767), (1379390367, 0.8173935287521418, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390365] : ((1379390365, 0.6494930661231816, 492688767), (1379390365, 0.4493272337870929, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390361] : ((1379390361, 0.6774456674057878, 492688767), (1379390361, 0.42342455192262857, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390336] : ((1379390336, -1.0698979239982391, 492688767), (1379390336, 0.8556392896014288, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390333] : ((1379390333, 0.5311130246460356, 492688767), (1379390333, 0.7509775639933506, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390330] : ((1379390330, -1.3625731321660686, 492688767), (1379390330, 0.6563138423695759, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390324] : ((1379390324, -0.3581232438915454, 492688767), (1379390324, 0.5921340516534116, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390323] : ((1379390323, 1.2725820068993403, 492688767), (1379390323, 0.7950497072471526, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com args[1379390321] : ((1379390321, -0.27008593137230563, 492688767), (1379390321, 0.5378308836258305, 2107752395), '0.12792036394032924') We are sending mail with results at report@fotonower.com refus_total : 0.12792036394032924 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=26226962 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_P26226962_26-08-2025_09_51_46.pdf results_Auto_P26226962_26-08-2025_09_51_46.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226962_26-08-2025_09_51_46.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','26226962','results_Auto_P26226962_26-08-2025_09_51_46.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226962_26-08-2025_09_51_46.pdf','pdf','','0.33','0.12792036394032924') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26226962

https://www.fotonower.com/image?json=false&list_photos_id=1379390367
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379390365
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379390361
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379390336
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379390333
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379390330
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379390324
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379390323
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2725820068993403)
https://www.fotonower.com/image?json=false&list_photos_id=1379390321
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26227168?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26227171?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26227173?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26227177?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226962_26-08-2025_09_51_46.pdf.

Lien vers velours :https://www.fotonower.com/velours/26227168,26227169,26227170,26227171,26227172,26227173,26227174,26227175,26227176,26227177,26227178?tags=carton,mal_croppe,environnement,papier,background,autre,metal,pehd,flou,pet_clair,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 26 Aug 2025 07:51:51 GMT Content-Length: 0 Connection: close X-Message-Id: 0Z6BjzWmS_Sqj65zPaU7kw 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 [1379390367, 1379390365, 1379390361, 1379390336, 1379390333, 1379390330, 1379390324, 1379390323, 1379390321] 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, '3598267') ('3318', '26226962', '1379390367', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390365', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390361', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390336', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390333', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390330', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390324', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390323', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390321', None, None, None, None, None, '3598267') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.016277790069580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.6106414794921875 time spend to save output : 0.016490459442138672 total time spend for step 9 : 4.627131938934326 step10:split_time_score Tue Aug 26 09:51:51 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'}] (('09', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26226962 Nombre de photos uploadées : 9 / 23040 (0%) 26082025 26226962 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 26082025 26226962 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 9.5367431640625e-07 elapsed_time : order_list_meta_photo_and_scores 3.5762786865234375e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004134178161621094 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2140350341796875 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.12792036394032924 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226962_26-08-2025_09_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226962 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`=26226962 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'nb_upload': 9, '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 [1379390367, 1379390365, 1379390361, 1379390336, 1379390333, 1379390330, 1379390324, 1379390323, 1379390321] Looping around the photos to save general results len do output : 1 /26226962Didn'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, '3598267') ('3318', '26226962', '1379390367', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390365', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390361', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390336', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390333', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390330', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390324', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390323', None, None, None, None, None, '3598267') ('3318', None, None, None, None, None, None, None, '3598267') ('3318', '26226962', '1379390321', None, None, None, None, None, '3598267') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.016147375106811523 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4544527530670166 time spend to save output : 0.016305923461914062 total time spend for step 10 : 0.47075867652893066 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 43.12user 22.59system 1:27.32elapsed 75%CPU (0avgtext+0avgdata 2822220maxresident)k 2278056inputs+24184outputs (8234major+1549146minor)pagefaults 0swaps