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 : 1879047 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 : ['3931757'] with mtr_portfolio_ids : ['27749761'] and first list_photo_ids : [] new path : /proc/1879047/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.6276042461395264 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 Mon Oct 13 10:20:34 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 : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-13 10:20:37.887392: 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-10-13 10:20:37.914659: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-13 10:20:37.916307: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9a4c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-13 10:20:37.916358: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-13 10:20:37.919032: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-13 10:20:38.164277: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x30f9c860 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-13 10:20:38.164322: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-13 10:20:38.165269: 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-10-13 10:20:38.165926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 10:20:38.169305: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 10:20:38.185689: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 10:20:38.187248: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 10:20:38.213412: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 10:20:38.217877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 10:20:38.267486: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 10:20:38.269419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 10:20:38.269918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 10:20:38.270884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 10:20:38.270906: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 10:20:38.270917: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 10:20:38.273150: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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-10-13 10:20:38.766142: 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-10-13 10:20:38.766301: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 10:20:38.766336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 10:20:38.766358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 10:20:38.766379: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 10:20:38.766400: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 10:20:38.766419: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 10:20:38.766440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 10:20:38.768066: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 10:20:38.769921: 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-10-13 10:20:38.769987: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 10:20:38.770006: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 10:20:38.770027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 10:20:38.770045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 10:20:38.770063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 10:20:38.770080: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 10:20:38.770098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 10:20:38.772596: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 10:20:38.772699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 10:20:38.772718: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 10:20:38.772732: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 10:20:38.774968: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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-10-13 10:20:48.424796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 10:20:48.658307: 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.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: 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.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 : 2 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.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 : 2 Detection mask done ! Trying to reset tf kernel 1879669 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 196 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 5485 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.00020742416381835938 nb_pixel_total : 4858 time to create 1 rle with old method : 0.005900382995605469 length of segment : 72 time for calcul the mask position with numpy : 0.002225160598754883 nb_pixel_total : 116620 time to create 1 rle with old method : 0.13718152046203613 length of segment : 581 time for calcul the mask position with numpy : 0.0018780231475830078 nb_pixel_total : 117597 time to create 1 rle with old method : 0.1233816146850586 length of segment : 551 time for calcul the mask position with numpy : 9.131431579589844e-05 nb_pixel_total : 1902 time to create 1 rle with old method : 0.0024683475494384766 length of segment : 45 time for calcul the mask position with numpy : 0.0001506805419921875 nb_pixel_total : 5534 time to create 1 rle with old method : 0.006685495376586914 length of segment : 113 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 3332 time to create 1 rle with old method : 0.004210472106933594 length of segment : 148 time for calcul the mask position with numpy : 7.724761962890625e-05 nb_pixel_total : 2124 time to create 1 rle with old method : 0.002620220184326172 length of segment : 56 time for calcul the mask position with numpy : 0.000637054443359375 nb_pixel_total : 31425 time to create 1 rle with old method : 0.03674459457397461 length of segment : 458 time for calcul the mask position with numpy : 0.0002789497375488281 nb_pixel_total : 10083 time to create 1 rle with old method : 0.011889457702636719 length of segment : 112 time for calcul the mask position with numpy : 0.00010204315185546875 nb_pixel_total : 3339 time to create 1 rle with old method : 0.00425267219543457 length of segment : 67 time for calcul the mask position with numpy : 0.0002818107604980469 nb_pixel_total : 14413 time to create 1 rle with old method : 0.016447067260742188 length of segment : 136 time for calcul the mask position with numpy : 0.0724954605102539 nb_pixel_total : 667075 time to create 1 rle with new method : 0.06739425659179688 length of segment : 1281 time for calcul the mask position with numpy : 0.00095367431640625 nb_pixel_total : 11875 time to create 1 rle with old method : 0.017742156982421875 length of segment : 132 time for calcul the mask position with numpy : 0.0003921985626220703 nb_pixel_total : 7516 time to create 1 rle with old method : 0.010458946228027344 length of segment : 96 time for calcul the mask position with numpy : 0.00019431114196777344 nb_pixel_total : 2842 time to create 1 rle with old method : 0.0036420822143554688 length of segment : 46 time for calcul the mask position with numpy : 0.0006704330444335938 nb_pixel_total : 9542 time to create 1 rle with old method : 0.011647701263427734 length of segment : 168 time for calcul the mask position with numpy : 0.0015816688537597656 nb_pixel_total : 49420 time to create 1 rle with old method : 0.05699610710144043 length of segment : 204 time for calcul the mask position with numpy : 0.00017452239990234375 nb_pixel_total : 1880 time to create 1 rle with old method : 0.0023267269134521484 length of segment : 52 time for calcul the mask position with numpy : 0.0004241466522216797 nb_pixel_total : 11112 time to create 1 rle with old method : 0.013094663619995117 length of segment : 126 time for calcul the mask position with numpy : 0.0003986358642578125 nb_pixel_total : 9718 time to create 1 rle with old method : 0.01175069808959961 length of segment : 164 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 5011 time to create 1 rle with old method : 0.005969524383544922 length of segment : 70 time for calcul the mask position with numpy : 0.00032067298889160156 nb_pixel_total : 8939 time to create 1 rle with old method : 0.010622024536132812 length of segment : 111 time for calcul the mask position with numpy : 0.00026917457580566406 nb_pixel_total : 4665 time to create 1 rle with old method : 0.00576472282409668 length of segment : 64 time for calcul the mask position with numpy : 0.0002636909484863281 nb_pixel_total : 5939 time to create 1 rle with old method : 0.007332801818847656 length of segment : 84 time for calcul the mask position with numpy : 0.0003681182861328125 nb_pixel_total : 11796 time to create 1 rle with old method : 0.014007091522216797 length of segment : 145 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 4144 time to create 1 rle with old method : 0.005124807357788086 length of segment : 93 time for calcul the mask position with numpy : 0.00018525123596191406 nb_pixel_total : 3636 time to create 1 rle with old method : 0.004486799240112305 length of segment : 55 time for calcul the mask position with numpy : 0.0005040168762207031 nb_pixel_total : 16547 time to create 1 rle with old method : 0.019876718521118164 length of segment : 170 time for calcul the mask position with numpy : 0.0005156993865966797 nb_pixel_total : 27107 time to create 1 rle with old method : 0.030803442001342773 length of segment : 127 time spent for convertir_results : 2.273402690887451 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 29 chid ids of type : 3594 Number RLEs to save : 5527 save missing photos in datou_result : time spend for datou_step_exec : 27.774972438812256 time spend to save output : 0.8199629783630371 total time spend for step 1 : 28.594935417175293 step2:crop_condition Mon Oct 13 10:21:03 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 : 11 ! batch 1 Loaded 29 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 ! map_result returned by crop_photo_return_map_crop : length : 22 About to insert : list_path_to_insert length 22 new photo from crops ! About to upload 22 photos upload in portfolio : 3736932 init cache_photo without model_param we have 22 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760343664_1879047 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612_rle_crop_3996056247_0.png', 0, 107, 70, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056252_0.png', 0, 90, 87, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056250_0.png', 0, 64, 45, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056251_0.png', 0, 68, 111, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056253_0.png', 0, 55, 56, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056255_0.png', 0, 136, 112, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056256_0.png', 0, 81, 66, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056257_0.png', 0, 134, 133, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056262_0.png', 0, 176, 150, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056259_0.png', 0, 152, 132, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056261_0.png', 0, 93, 46, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056264_0.png', 0, 50, 52, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056268_0.png', 0, 97, 107, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056265_0.png', 0, 124, 121, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056266_0.png', 0, 106, 150, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056267_0.png', 0, 110, 70, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3_rle_crop_3996056270_0.png', 0, 124, 76, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3_rle_crop_3996056269_0.png', 0, 104, 64, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389183471_c1eb33114bb58238b3aabfc52bce0ee2_rle_crop_3996056271_0.png', 0, 108, 144, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389183304_cbf0a2ef42c412f2be971e2fcb2a7cbf_rle_crop_3996056272_0.png', 0, 80, 93, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389183302_bb434bf7ac577b33f85bbe245f2e40d3_rle_crop_3996056273_0.png', 0, 85, 54, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343668), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b_rle_crop_3996056274_0.png', 0, 164, 170, 0, 1760343668,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 22 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.345432758331299 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 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760343675_1879047 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343676), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612_rle_crop_3996056248_0.png', 0, 333, 581, 0, 1760343676,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343676), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056249_0.png', 0, 347, 547, 0, 1760343676,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343676), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056258_0.png', 0, 1018, 974, 0, 1760343676,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343676), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056263_0.png', 0, 362, 193, 0, 1760343676,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343676), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b_rle_crop_3996056275_0.png', 0, 226, 125, 0, 1760343676,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.034550189971924 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760343677_1879047 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343678), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056254_0.png', 0, 150, 311, 0, 1760343678,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760343678), 0.0, 0.0, 14, '', 0, 0, '1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056260_0.png', 0, 99, 96, 0, 1760343678,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3316035270690918 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 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 [1389184483, 1389184481, 1389184300, 1389184299, 1389184286, 1389184248, 1389184216, 1389183471, 1389183304, 1389183302, 1389183301] Looping around the photos to save general results len do output : 29 /1389193355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193397Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389193454Didn'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, '3931757') ('3318', '27749761', '1389184483', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184481', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184300', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184299', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184286', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184248', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184216', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183471', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183304', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183302', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183301', None, None, None, None, None, '3931757') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 98 time used for this insertion : 0.038684844970703125 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.741113185882568 time spend to save output : 0.04007911682128906 total time spend for step 2 : 15.781192302703857 step3:rle_unique_nms_with_priority Mon Oct 13 10:21:18 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 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 29 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04832005500793457 time for calcul the mask position with numpy : 0.02448892593383789 nb_pixel_total : 1952122 time to create 1 rle with new method : 0.04394221305847168 time for calcul the mask position with numpy : 0.007232666015625 nb_pixel_total : 116620 time to create 1 rle with old method : 0.1296985149383545 time for calcul the mask position with numpy : 0.006581783294677734 nb_pixel_total : 4858 time to create 1 rle with old method : 0.005574226379394531 create new chi : 0.2223668098449707 time to delete rle : 0.12048673629760742 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2386 TO DO : save crop sub photo not yet done ! save time : 0.3927743434906006 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.12039923667907715 time for calcul the mask position with numpy : 0.02323460578918457 nb_pixel_total : 1911686 time to create 1 rle with new method : 0.0454559326171875 time for calcul the mask position with numpy : 0.006686687469482422 nb_pixel_total : 31425 time to create 1 rle with old method : 0.05101346969604492 time for calcul the mask position with numpy : 0.006649971008300781 nb_pixel_total : 2124 time to create 1 rle with old method : 0.003471851348876953 time for calcul the mask position with numpy : 0.006722211837768555 nb_pixel_total : 3332 time to create 1 rle with old method : 0.005488872528076172 time for calcul the mask position with numpy : 0.00635981559753418 nb_pixel_total : 5534 time to create 1 rle with old method : 0.006243228912353516 time for calcul the mask position with numpy : 0.006229877471923828 nb_pixel_total : 1902 time to create 1 rle with old method : 0.0022134780883789062 time for calcul the mask position with numpy : 0.007036685943603516 nb_pixel_total : 117597 time to create 1 rle with old method : 0.14052581787109375 create new chi : 0.3219625949859619 time to delete rle : 0.0006413459777832031 batch 1 Loaded 13 chid ids of type : 3594 +++++++++++Number RLEs to save : 3822 TO DO : save crop sub photo not yet done ! save time : 0.6446912288665771 No data in photo_id : 1389184300 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.09793663024902344 time for calcul the mask position with numpy : 0.019844532012939453 nb_pixel_total : 1378690 time to create 1 rle with new method : 0.03805279731750488 time for calcul the mask position with numpy : 0.01360177993774414 nb_pixel_total : 667075 time to create 1 rle with new method : 0.03091573715209961 time for calcul the mask position with numpy : 0.006839275360107422 nb_pixel_total : 14413 time to create 1 rle with old method : 0.01618480682373047 time for calcul the mask position with numpy : 0.006798982620239258 nb_pixel_total : 3339 time to create 1 rle with old method : 0.003879547119140625 time for calcul the mask position with numpy : 0.006827116012573242 nb_pixel_total : 10083 time to create 1 rle with old method : 0.011506319046020508 create new chi : 0.15738320350646973 time to delete rle : 0.0005817413330078125 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 4272 TO DO : save crop sub photo not yet done ! save time : 0.5670106410980225 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.09423518180847168 time for calcul the mask position with numpy : 0.0240786075592041 nb_pixel_total : 1990525 time to create 1 rle with new method : 0.043375253677368164 time for calcul the mask position with numpy : 0.006351470947265625 nb_pixel_total : 1880 time to create 1 rle with old method : 0.0020999908447265625 time for calcul the mask position with numpy : 0.0061075687408447266 nb_pixel_total : 49420 time to create 1 rle with old method : 0.05334329605102539 time for calcul the mask position with numpy : 0.006107330322265625 nb_pixel_total : 9542 time to create 1 rle with old method : 0.010637044906616211 time for calcul the mask position with numpy : 0.00626683235168457 nb_pixel_total : 2842 time to create 1 rle with old method : 0.003265380859375 time for calcul the mask position with numpy : 0.0060007572174072266 nb_pixel_total : 7516 time to create 1 rle with old method : 0.00844430923461914 time for calcul the mask position with numpy : 0.006116390228271484 nb_pixel_total : 11875 time to create 1 rle with old method : 0.013394355773925781 create new chi : 0.1995704174041748 time to delete rle : 0.00038623809814453125 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2476 TO DO : save crop sub photo not yet done ! save time : 0.3674747943878174 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.07268810272216797 time for calcul the mask position with numpy : 0.023909807205200195 nb_pixel_total : 2038820 time to create 1 rle with new method : 0.039553165435791016 time for calcul the mask position with numpy : 0.006295442581176758 nb_pixel_total : 8939 time to create 1 rle with old method : 0.010272026062011719 time for calcul the mask position with numpy : 0.006254673004150391 nb_pixel_total : 5011 time to create 1 rle with old method : 0.005759000778198242 time for calcul the mask position with numpy : 0.006492137908935547 nb_pixel_total : 9718 time to create 1 rle with old method : 0.01111912727355957 time for calcul the mask position with numpy : 0.0063228607177734375 nb_pixel_total : 11112 time to create 1 rle with old method : 0.012523174285888672 create new chi : 0.12887310981750488 time to delete rle : 0.00031757354736328125 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2022 TO DO : save crop sub photo not yet done ! save time : 0.3582634925842285 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04548811912536621 time for calcul the mask position with numpy : 0.022124290466308594 nb_pixel_total : 2062996 time to create 1 rle with new method : 0.03346514701843262 time for calcul the mask position with numpy : 0.0062580108642578125 nb_pixel_total : 5939 time to create 1 rle with old method : 0.006824493408203125 time for calcul the mask position with numpy : 0.00611424446105957 nb_pixel_total : 4665 time to create 1 rle with old method : 0.005246400833129883 create new chi : 0.08036160469055176 time to delete rle : 0.000244140625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1376 TO DO : save crop sub photo not yet done ! save time : 0.27205729484558105 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.040209293365478516 time for calcul the mask position with numpy : 0.02371692657470703 nb_pixel_total : 2061804 time to create 1 rle with new method : 0.04176139831542969 time for calcul the mask position with numpy : 0.006522417068481445 nb_pixel_total : 11796 time to create 1 rle with old method : 0.01309061050415039 create new chi : 0.0891103744506836 time to delete rle : 0.00022220611572265625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1370 TO DO : save crop sub photo not yet done ! save time : 0.278627872467041 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03834247589111328 time for calcul the mask position with numpy : 0.0253753662109375 nb_pixel_total : 2069456 time to create 1 rle with new method : 0.04335904121398926 time for calcul the mask position with numpy : 0.00686335563659668 nb_pixel_total : 4144 time to create 1 rle with old method : 0.006850719451904297 create new chi : 0.08730101585388184 time to delete rle : 0.0002815723419189453 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1266 TO DO : save crop sub photo not yet done ! save time : 0.26933932304382324 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.033823251724243164 time for calcul the mask position with numpy : 0.024178743362426758 nb_pixel_total : 2069964 time to create 1 rle with new method : 0.040430545806884766 time for calcul the mask position with numpy : 0.006606578826904297 nb_pixel_total : 3636 time to create 1 rle with old method : 0.004220724105834961 create new chi : 0.07924461364746094 time to delete rle : 0.00021529197692871094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1190 TO DO : save crop sub photo not yet done ! save time : 0.26949000358581543 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04921603202819824 time for calcul the mask position with numpy : 0.0278623104095459 nb_pixel_total : 2029946 time to create 1 rle with new method : 0.04756355285644531 time for calcul the mask position with numpy : 0.006619691848754883 nb_pixel_total : 27107 time to create 1 rle with old method : 0.031125307083129883 time for calcul the mask position with numpy : 0.007256507873535156 nb_pixel_total : 16547 time to create 1 rle with old method : 0.018467426300048828 create new chi : 0.14301633834838867 time to delete rle : 0.00029206275939941406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1674 TO DO : save crop sub photo not yet done ! save time : 0.3217911720275879 map_output_result : {1389184483: (0.0, 'Should be the crop_list due to order', 0), 1389184481: (0.0, 'Should be the crop_list due to order', 0), 1389184300: (0.0, 'Should be the crop_list due to order', 0.0), 1389184299: (0.0, 'Should be the crop_list due to order', 0), 1389184286: (0.0, 'Should be the crop_list due to order', 0), 1389184248: (0.0, 'Should be the crop_list due to order', 0), 1389184216: (0.0, 'Should be the crop_list due to order', 0), 1389183471: (0.0, 'Should be the crop_list due to order', 0), 1389183304: (0.0, 'Should be the crop_list due to order', 0), 1389183302: (0.0, 'Should be the crop_list due to order', 0), 1389183301: (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 [1389184483, 1389184481, 1389184300, 1389184299, 1389184286, 1389184248, 1389184216, 1389183471, 1389183304, 1389183302, 1389183301] Looping around the photos to save general results len do output : 11 /1389184483.Didn't retrieve data . /1389184481.Didn't retrieve data . /1389184300.Didn't retrieve data . /1389184299.Didn't retrieve data . /1389184286.Didn't retrieve data . /1389184248.Didn't retrieve data . /1389184216.Didn't retrieve data . /1389183471.Didn't retrieve data . /1389183304.Didn't retrieve data . /1389183302.Didn't retrieve data . /1389183301.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, '3931757') ('3318', '27749761', '1389184483', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184481', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184300', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184299', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184286', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184248', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184216', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183471', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183304', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183302', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183301', None, None, None, None, None, '3931757') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.03702425956726074 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.491709232330322 time spend to save output : 0.03743553161621094 total time spend for step 3 : 6.529144763946533 step4:ventilate_hashtags_in_portfolio Mon Oct 13 10:21: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 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 : 27749761 get user id for portfolio 27749761 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`=27749761 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','background','mal_croppe','flou','papier','metal','autre','carton','environnement','pet_clair','pehd')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27749761 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','background','mal_croppe','flou','papier','metal','autre','carton','environnement','pet_clair','pehd')) AND mptpi.`min_score`=0.5 To do 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`=27749761 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','background','mal_croppe','flou','papier','metal','autre','carton','environnement','pet_clair','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27750067,27750068,27750069,27750070,27750071,27750072,27750073,27750074,27750075,27750076,27750077?tags=pet_fonce,background,mal_croppe,flou,papier,metal,autre,carton,environnement,pet_clair,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389184483, 1389184481, 1389184300, 1389184299, 1389184286, 1389184248, 1389184216, 1389183471, 1389183304, 1389183302, 1389183301] Looping around the photos to save general results len do output : 1 /27749761. 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, '3931757') ('3318', '27749761', '1389184483', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184481', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184300', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184299', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184286', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184248', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184216', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183471', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183304', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183302', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183301', None, None, None, None, None, '3931757') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.04164409637451172 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.3455986976623535 time spend to save output : 0.04192399978637695 total time spend for step 4 : 2.3875226974487305 step5:final Mon Oct 13 10:21:27 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 : {1389184483: ('0.05129379734848485',), 1389184481: ('0.05129379734848485',), 1389184300: ('0.05129379734848485',), 1389184299: ('0.05129379734848485',), 1389184286: ('0.05129379734848485',), 1389184248: ('0.05129379734848485',), 1389184216: ('0.05129379734848485',), 1389183471: ('0.05129379734848485',), 1389183304: ('0.05129379734848485',), 1389183302: ('0.05129379734848485',), 1389183301: ('0.05129379734848485',)} new output for save of step final : {1389184483: ('0.05129379734848485',), 1389184481: ('0.05129379734848485',), 1389184300: ('0.05129379734848485',), 1389184299: ('0.05129379734848485',), 1389184286: ('0.05129379734848485',), 1389184248: ('0.05129379734848485',), 1389184216: ('0.05129379734848485',), 1389183471: ('0.05129379734848485',), 1389183304: ('0.05129379734848485',), 1389183302: ('0.05129379734848485',), 1389183301: ('0.05129379734848485',)} [1389184483, 1389184481, 1389184300, 1389184299, 1389184286, 1389184248, 1389184216, 1389183471, 1389183304, 1389183302, 1389183301] Looping around the photos to save general results len do output : 11 /1389184483.Didn't retrieve data . /1389184481.Didn't retrieve data . /1389184300.Didn't retrieve data . /1389184299.Didn't retrieve data . /1389184286.Didn't retrieve data . /1389184248.Didn't retrieve data . /1389184216.Didn't retrieve data . /1389183471.Didn't retrieve data . /1389183304.Didn't retrieve data . /1389183302.Didn't retrieve data . /1389183301.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, '3931757') ('3318', '27749761', '1389184483', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184481', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184300', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184299', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184286', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184248', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184216', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183471', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183304', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183302', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183301', None, None, None, None, None, '3931757') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.03663229942321777 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3826620578765869 time spend to save output : 0.03727531433105469 total time spend for step 5 : 0.4199373722076416 step6:blur_detection Mon Oct 13 10:21: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 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/1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612.jpg resize: (1080, 1920) 1389184483 -0.7860764510847427 treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3.jpg resize: (1080, 1920) 1389184481 -3.8480639783802495 treat image : temp/1760343632_1879047_1389184300_3beb3701134773ceb3a50dbd5c50d5fa.jpg resize: (1080, 1920) 1389184300 -0.6369825577642187 treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66.jpg resize: (1080, 1920) 1389184299 -0.5847611676269877 treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf.jpg resize: (1080, 1920) 1389184286 -4.1528543313674415 treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093.jpg resize: (1080, 1920) 1389184248 -4.105480317646354 treat image : temp/1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3.jpg resize: (1080, 1920) 1389184216 -4.4418830202903195 treat image : temp/1760343632_1879047_1389183471_c1eb33114bb58238b3aabfc52bce0ee2.jpg resize: (1080, 1920) 1389183471 0.5237130765719783 treat image : temp/1760343632_1879047_1389183304_cbf0a2ef42c412f2be971e2fcb2a7cbf.jpg resize: (1080, 1920) 1389183304 0.7203501498688244 treat image : temp/1760343632_1879047_1389183302_bb434bf7ac577b33f85bbe245f2e40d3.jpg resize: (1080, 1920) 1389183302 1.4212613101033666 treat image : temp/1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b.jpg resize: (1080, 1920) 1389183301 0.1640402831426367 treat image : temp/1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612_rle_crop_3996056247_0.png resize: (70, 107) 1389193355 -0.4633662104481844 treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056252_0.png resize: (87, 90) 1389193357 -3.2126320028036583 treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056250_0.png resize: (45, 64) 1389193358 -4.028347228601387 treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056251_0.png resize: (111, 68) 1389193359 -1.9813631672602416 treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056253_0.png resize: (56, 55) 1389193360 0.7359443110402665 treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056255_0.png resize: (112, 136) 1389193361 -1.1946590585838224 treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056256_0.png resize: (66, 81) 1389193362 -0.9693871050346784 treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056257_0.png resize: (133, 134) 1389193363 0.16610481695004692 treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056262_0.png resize: (150, 176) 1389193364 -2.6312572924532116 treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056259_0.png resize: (132, 152) 1389193365 -2.5804189809705114 treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056261_0.png resize: (46, 93) 1389193366 -3.3138441468445636 treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056264_0.png resize: (52, 50) 1389193367 0.18865111528146575 treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056268_0.png resize: (107, 97) 1389193368 -4.831591614364962 treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056265_0.png resize: (121, 124) 1389193369 -3.0812543042998626 treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056266_0.png resize: (150, 106) 1389193370 -1.5456045606664601 treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056267_0.png resize: (70, 110) 1389193371 -0.5945399383944079 treat image : temp/1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3_rle_crop_3996056270_0.png resize: (76, 124) 1389193372 -2.1317652898269506 treat image : temp/1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3_rle_crop_3996056269_0.png resize: (64, 104) 1389193373 -0.890340506428676 treat image : temp/1760343632_1879047_1389183471_c1eb33114bb58238b3aabfc52bce0ee2_rle_crop_3996056271_0.png resize: (144, 108) 1389193374 -0.22562315563019497 treat image : temp/1760343632_1879047_1389183304_cbf0a2ef42c412f2be971e2fcb2a7cbf_rle_crop_3996056272_0.png resize: (93, 80) 1389193375 -0.22688080809639005 treat image : temp/1760343632_1879047_1389183302_bb434bf7ac577b33f85bbe245f2e40d3_rle_crop_3996056273_0.png resize: (54, 85) 1389193383 7.294617623761184 treat image : temp/1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b_rle_crop_3996056274_0.png resize: (170, 164) 1389193397 -0.003083067493525849 treat image : temp/1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612_rle_crop_3996056248_0.png resize: (581, 333) 1389193435 0.26388704405089386 treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056249_0.png resize: (547, 347) 1389193441 0.00647575664074538 treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056258_0.png resize: (974, 1018) 1389193449 0.14725465299417714 treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056263_0.png resize: (193, 362) 1389193450 -2.990299819430129 treat image : temp/1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b_rle_crop_3996056275_0.png resize: (125, 226) 1389193451 6.227003576677964 treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056254_0.png resize: (311, 150) 1389193453 -2.0957229746217427 treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056260_0.png resize: (96, 99) 1389193454 0.005940164314157458 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 : 40 time used for this insertion : 0.03730273246765137 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.03724074363708496 save missing photos in datou_result : time spend for datou_step_exec : 10.076432228088379 time spend to save output : 0.09291267395019531 total time spend for step 6 : 10.169344902038574 step7:brightness Mon Oct 13 10:21:38 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/1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612.jpg treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3.jpg treat image : temp/1760343632_1879047_1389184300_3beb3701134773ceb3a50dbd5c50d5fa.jpg treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66.jpg treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf.jpg treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093.jpg treat image : temp/1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3.jpg treat image : temp/1760343632_1879047_1389183471_c1eb33114bb58238b3aabfc52bce0ee2.jpg treat image : temp/1760343632_1879047_1389183304_cbf0a2ef42c412f2be971e2fcb2a7cbf.jpg treat image : temp/1760343632_1879047_1389183302_bb434bf7ac577b33f85bbe245f2e40d3.jpg treat image : temp/1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b.jpg treat image : temp/1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612_rle_crop_3996056247_0.png treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056252_0.png treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056250_0.png treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056251_0.png treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056253_0.png treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056255_0.png treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056256_0.png treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056257_0.png treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056262_0.png treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056259_0.png treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056261_0.png treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056264_0.png treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056268_0.png treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056265_0.png treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056266_0.png treat image : temp/1760343632_1879047_1389184248_81545c3745d7315672b31a8ba5c02093_rle_crop_3996056267_0.png treat image : temp/1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3_rle_crop_3996056270_0.png treat image : temp/1760343632_1879047_1389184216_f9ab2421054d1d5d0ab99ea7df2267f3_rle_crop_3996056269_0.png treat image : temp/1760343632_1879047_1389183471_c1eb33114bb58238b3aabfc52bce0ee2_rle_crop_3996056271_0.png treat image : temp/1760343632_1879047_1389183304_cbf0a2ef42c412f2be971e2fcb2a7cbf_rle_crop_3996056272_0.png treat image : temp/1760343632_1879047_1389183302_bb434bf7ac577b33f85bbe245f2e40d3_rle_crop_3996056273_0.png treat image : temp/1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b_rle_crop_3996056274_0.png treat image : temp/1760343632_1879047_1389184483_d987558dd7463e359bb7e45241605612_rle_crop_3996056248_0.png treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056249_0.png treat image : temp/1760343632_1879047_1389184299_d86e31e8554c68e7bbc15dbfc7919a66_rle_crop_3996056258_0.png treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056263_0.png treat image : temp/1760343632_1879047_1389183301_205ccd85b5a6e005c3fda516c250236b_rle_crop_3996056275_0.png treat image : temp/1760343632_1879047_1389184481_3cb3b52dca5a6a78c69cb3631445ebf3_rle_crop_3996056254_0.png treat image : temp/1760343632_1879047_1389184286_1e705c39b0967daa9c3f8ff8411bacaf_rle_crop_3996056260_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 : 40 time used for this insertion : 0.037569522857666016 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.03848385810852051 save missing photos in datou_result : time spend for datou_step_exec : 2.8759067058563232 time spend to save output : 0.09348273277282715 total time spend for step 7 : 2.9693894386291504 step8:velours_tree Mon Oct 13 10:21:41 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.23306035995483398 time spend to save output : 4.1961669921875e-05 total time spend for step 8 : 0.23310232162475586 step9:send_mail_cod Mon Oct 13 10:21:41 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_P27749761_13-10-2025_10_21_41.pdf 27750067 imagette277500671760343701 27750068 imagette277500681760343701 27750069 imagette277500691760343701 27750070 imagette277500701760343701 27750071 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 .imagette277500711760343701 27750072 imagette277500721760343703 27750073 change filename to text .change filename to text .imagette277500731760343703 27750074 imagette277500741760343703 27750076 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette277500761760343703 27750077 imagette277500771760343703 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27749761 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27750067,27750068,27750069,27750070,27750071,27750072,27750073,27750074,27750075,27750076,27750077?tags=pet_fonce,background,mal_croppe,flou,papier,metal,autre,carton,environnement,pet_clair,pehd args[1389184483] : ((1389184483, -0.7860764510847427, 492688767), (1389184483, 0.45956618079177014, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389184481] : ((1389184481, -3.8480639783802495, 492609224), (1389184481, 0.2517610808710823, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389184300] : ((1389184300, -0.6369825577642187, 492688767), (1389184300, 0.7132815646446182, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389184299] : ((1389184299, -0.5847611676269877, 492688767), (1389184299, 0.9483331748636543, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389184286] : ((1389184286, -4.1528543313674415, 492609224), (1389184286, 0.14672411266346835, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389184248] : ((1389184248, -4.105480317646354, 492609224), (1389184248, 0.4932373375340261, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389184216] : ((1389184216, -4.4418830202903195, 492609224), (1389184216, 0.313541087650189, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389183471] : ((1389183471, 0.5237130765719783, 492688767), (1389183471, 0.9541943371829212, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389183304] : ((1389183304, 0.7203501498688244, 492688767), (1389183304, 0.6273961272489537, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389183302] : ((1389183302, 1.4212613101033666, 492688767), (1389183302, 0.9158980872266417, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com args[1389183301] : ((1389183301, 0.1640402831426367, 492688767), (1389183301, 0.7986425150143102, 2107752395), '0.05129379734848485') We are sending mail with results at report@fotonower.com refus_total : 0.05129379734848485 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27749761 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_P27749761_13-10-2025_10_21_41.pdf results_Auto_P27749761_13-10-2025_10_21_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749761_13-10-2025_10_21_41.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','27749761','results_Auto_P27749761_13-10-2025_10_21_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749761_13-10-2025_10_21_41.pdf','pdf','','0.22','0.05129379734848485') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27749761

https://www.fotonower.com/image?json=false&list_photos_id=1389184483
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389184481
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389184300
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389184299
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389184286
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389184248
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389184216
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389183471
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389183304
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389183302
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4212613101033666)
https://www.fotonower.com/image?json=false&list_photos_id=1389183301
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/27750071?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27750073?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27750076?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749761_13-10-2025_10_21_41.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27750067,27750068,27750069,27750070,27750071,27750072,27750073,27750074,27750075,27750076,27750077?tags=pet_fonce,background,mal_croppe,flou,papier,metal,autre,carton,environnement,pet_clair,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 13 Oct 2025 08:21:46 GMT Content-Length: 0 Connection: close X-Message-Id: ELwi5uEkQ_y9WEj_hWjz-g 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 [1389184483, 1389184481, 1389184300, 1389184299, 1389184286, 1389184248, 1389184216, 1389183471, 1389183304, 1389183302, 1389183301] 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, '3931757') ('3318', '27749761', '1389184483', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184481', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184300', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184299', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184286', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184248', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184216', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183471', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183304', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183302', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183301', None, None, None, None, None, '3931757') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.04052853584289551 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.643629312515259 time spend to save output : 0.04078269004821777 total time spend for step 9 : 4.684412002563477 step10:split_time_score Mon Oct 13 10:21: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 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'}] (('08', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13102025 27749761 Nombre de photos uploadées : 11 / 23040 (0%) 13102025 27749761 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 13102025 27749761 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006396770477294922 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6492431163787842 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749759 order by id desc limit 1 Qualite : 0.05129379734848485 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749761_13-10-2025_10_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749761 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`=27749761 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13102025': {'nb_upload': 11, '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 [1389184483, 1389184481, 1389184300, 1389184299, 1389184286, 1389184248, 1389184216, 1389183471, 1389183304, 1389183302, 1389183301] Looping around the photos to save general results len do output : 1 /27749761Didn'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, '3931757') ('3318', '27749761', '1389184483', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184481', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184300', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184299', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184286', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184248', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389184216', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183471', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183304', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183302', None, None, None, None, None, '3931757') ('3318', None, None, None, None, None, None, None, '3931757') ('3318', '27749761', '1389183301', None, None, None, None, None, '3931757') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.03873801231384277 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1170289516448975 time spend to save output : 0.03893733024597168 total time spend for step 10 : 2.155966281890869 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 37.96user 16.70system 1:19.05elapsed 69%CPU (0avgtext+0avgdata 2784624maxresident)k 1317328inputs+14560outputs (5248major+1245479minor)pagefaults 0swaps