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 : 2314328 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 : ['3531171'] with mtr_portfolio_ids : ['25974582'] and first list_photo_ids : [] new path : /proc/2314328/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 2.1045076847076416 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 Thu Aug 14 10:10:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10619 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-14 10:10:34.763522: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-14 10:10:34.796503: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-14 10:10:34.798179: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f43cc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-14 10:10:34.798237: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-14 10:10:34.801617: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-14 10:10:34.975783: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xc641000 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-14 10:10:34.975837: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-14 10:10:34.976887: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-14 10:10:34.977255: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 10:10:34.982270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 10:10:34.996109: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 10:10:34.997647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 10:10:35.002873: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 10:10:35.005082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 10:10:35.013929: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 10:10:35.015388: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 10:10:35.015793: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 10:10:35.016561: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-14 10:10:35.016577: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-14 10:10:35.016661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-14 10:10:35.018595: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9836 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-14 10:10:35.448412: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-14 10:10:35.448506: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 10:10:35.448525: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 10:10:35.448543: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 10:10:35.448559: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 10:10:35.448576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 10:10:35.448592: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 10:10:35.448608: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 10:10:35.449918: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 10:10:35.451258: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-14 10:10:35.451320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 10:10:35.451338: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 10:10:35.451354: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 10:10:35.451370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 10:10:35.451386: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 10:10:35.451402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 10:10:35.451418: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 10:10:35.452737: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 10:10:35.452770: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-14 10:10:35.452780: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-14 10:10:35.452787: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-14 10:10:35.454192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9836 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-14 10:10:42.789833: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 10:10:42.968051: 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 : 15 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 : 5 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.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 : 6 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: 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.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: 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 : 9 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 : 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.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: 46.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: 44.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: 27.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: 64.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 2314815 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4222 tf kernel not reseted sub process len(results) : 15 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 15 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 : 9511 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.00018596649169921875 nb_pixel_total : 3487 time to create 1 rle with old method : 0.004154682159423828 length of segment : 89 time for calcul the mask position with numpy : 0.000244140625 nb_pixel_total : 11245 time to create 1 rle with old method : 0.013127326965332031 length of segment : 148 time for calcul the mask position with numpy : 0.015261411666870117 nb_pixel_total : 748238 time to create 1 rle with new method : 0.02968454360961914 length of segment : 978 time for calcul the mask position with numpy : 0.0002894401550292969 nb_pixel_total : 11834 time to create 1 rle with old method : 0.013385534286499023 length of segment : 180 time for calcul the mask position with numpy : 0.0007641315460205078 nb_pixel_total : 42895 time to create 1 rle with old method : 0.04840493202209473 length of segment : 236 time for calcul the mask position with numpy : 0.0003948211669921875 nb_pixel_total : 18261 time to create 1 rle with old method : 0.021068096160888672 length of segment : 192 time for calcul the mask position with numpy : 0.00021409988403320312 nb_pixel_total : 10341 time to create 1 rle with old method : 0.012189149856567383 length of segment : 102 time for calcul the mask position with numpy : 0.013698101043701172 nb_pixel_total : 737694 time to create 1 rle with new method : 0.02434563636779785 length of segment : 929 time for calcul the mask position with numpy : 0.00013327598571777344 nb_pixel_total : 5258 time to create 1 rle with old method : 0.005894184112548828 length of segment : 73 time for calcul the mask position with numpy : 0.00019621849060058594 nb_pixel_total : 8556 time to create 1 rle with old method : 0.0092926025390625 length of segment : 164 time for calcul the mask position with numpy : 0.001689910888671875 nb_pixel_total : 110367 time to create 1 rle with old method : 0.11673331260681152 length of segment : 539 time for calcul the mask position with numpy : 0.00018286705017089844 nb_pixel_total : 8692 time to create 1 rle with old method : 0.009673357009887695 length of segment : 120 time for calcul the mask position with numpy : 0.0004904270172119141 nb_pixel_total : 35374 time to create 1 rle with old method : 0.03933286666870117 length of segment : 131 time for calcul the mask position with numpy : 0.0003542900085449219 nb_pixel_total : 26222 time to create 1 rle with old method : 0.02809906005859375 length of segment : 160 time for calcul the mask position with numpy : 0.0017273426055908203 nb_pixel_total : 118267 time to create 1 rle with old method : 0.12717437744140625 length of segment : 589 time for calcul the mask position with numpy : 0.0017399787902832031 nb_pixel_total : 118405 time to create 1 rle with old method : 0.1312694549560547 length of segment : 555 time for calcul the mask position with numpy : 0.00030517578125 nb_pixel_total : 4899 time to create 1 rle with old method : 0.005347013473510742 length of segment : 132 time for calcul the mask position with numpy : 0.000392913818359375 nb_pixel_total : 10937 time to create 1 rle with old method : 0.012183189392089844 length of segment : 146 time for calcul the mask position with numpy : 0.00028133392333984375 nb_pixel_total : 4468 time to create 1 rle with old method : 0.00522923469543457 length of segment : 99 time for calcul the mask position with numpy : 0.0014476776123046875 nb_pixel_total : 51928 time to create 1 rle with old method : 0.05512285232543945 length of segment : 441 time for calcul the mask position with numpy : 0.0028526782989501953 nb_pixel_total : 114351 time to create 1 rle with old method : 0.12285590171813965 length of segment : 548 time for calcul the mask position with numpy : 0.0003757476806640625 nb_pixel_total : 12488 time to create 1 rle with old method : 0.013602733612060547 length of segment : 128 time for calcul the mask position with numpy : 0.0006089210510253906 nb_pixel_total : 25401 time to create 1 rle with old method : 0.027915239334106445 length of segment : 196 time for calcul the mask position with numpy : 0.00018835067749023438 nb_pixel_total : 10496 time to create 1 rle with old method : 0.011824846267700195 length of segment : 119 time for calcul the mask position with numpy : 0.00043272972106933594 nb_pixel_total : 10387 time to create 1 rle with old method : 0.011709451675415039 length of segment : 176 time for calcul the mask position with numpy : 0.0009415149688720703 nb_pixel_total : 34069 time to create 1 rle with old method : 0.036722660064697266 length of segment : 296 time for calcul the mask position with numpy : 0.0024383068084716797 nb_pixel_total : 102705 time to create 1 rle with old method : 0.10994911193847656 length of segment : 537 time for calcul the mask position with numpy : 0.022676706314086914 nb_pixel_total : 937717 time to create 1 rle with new method : 0.03580021858215332 length of segment : 1660 time for calcul the mask position with numpy : 0.0003409385681152344 nb_pixel_total : 4835 time to create 1 rle with old method : 0.005606174468994141 length of segment : 74 time for calcul the mask position with numpy : 9.584426879882812e-05 nb_pixel_total : 1117 time to create 1 rle with old method : 0.0013420581817626953 length of segment : 34 time for calcul the mask position with numpy : 0.002686738967895508 nb_pixel_total : 110609 time to create 1 rle with old method : 0.12061929702758789 length of segment : 544 time for calcul the mask position with numpy : 0.0007395744323730469 nb_pixel_total : 17446 time to create 1 rle with old method : 0.019735097885131836 length of segment : 304 time for calcul the mask position with numpy : 0.00027060508728027344 nb_pixel_total : 6956 time to create 1 rle with old method : 0.011773347854614258 length of segment : 101 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 7707 time to create 1 rle with old method : 0.013265371322631836 length of segment : 74 time for calcul the mask position with numpy : 0.008601903915405273 nb_pixel_total : 323211 time to create 1 rle with new method : 0.018184900283813477 length of segment : 1065 time for calcul the mask position with numpy : 0.0008988380432128906 nb_pixel_total : 57564 time to create 1 rle with old method : 0.068084716796875 length of segment : 314 time for calcul the mask position with numpy : 0.0006122589111328125 nb_pixel_total : 10287 time to create 1 rle with old method : 0.016391515731811523 length of segment : 175 time for calcul the mask position with numpy : 0.0009219646453857422 nb_pixel_total : 25007 time to create 1 rle with old method : 0.036078691482543945 length of segment : 201 time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 6280 time to create 1 rle with old method : 0.007407426834106445 length of segment : 91 time for calcul the mask position with numpy : 0.0003991127014160156 nb_pixel_total : 14125 time to create 1 rle with old method : 0.016451597213745117 length of segment : 137 time for calcul the mask position with numpy : 0.0028917789459228516 nb_pixel_total : 108086 time to create 1 rle with old method : 0.12174630165100098 length of segment : 544 time spent for convertir_results : 3.61417293548584 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 41 chid ids of type : 3594 Number RLEs to save : 13321 save missing photos in datou_result : time spend for datou_step_exec : 24.925428867340088 time spend to save output : 0.9560031890869141 total time spend for step 1 : 25.881432056427002 step2:crop_condition Thu Aug 14 10:10:56 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 : 15 ! batch 1 Loaded 41 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 ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755159058_2314328 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.243363618850708 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755159062_2314328 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5805613994598389 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 24 About to insert : list_path_to_insert length 24 new photo from crops ! About to upload 24 photos upload in portfolio : 3736932 init cache_photo without model_param we have 24 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755159078_2314328 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 24 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.0737597942352295 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755159085_2314328 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0083534717559814 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 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 [1376957175, 1376957143, 1376957082, 1376957079, 1376957075, 1376957049, 1376957043, 1376957016, 1376957014, 1376957011, 1376957006, 1376956991, 1376956990, 1376956987, 1376956984] Looping around the photos to save general results len do output : 41 /1376975369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975377Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376975427Didn'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, '3531171') ('3318', '25974582', '1376957175', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957143', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957082', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957079', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957075', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957049', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957043', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957016', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957014', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957011', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957006', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956991', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956990', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956987', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956984', None, None, None, None, None, '3531171') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 138 time used for this insertion : 0.025369644165039062 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.862332820892334 time spend to save output : 0.027241945266723633 total time spend for step 2 : 28.889574766159058 step3:rle_unique_nms_with_priority Thu Aug 14 10:11:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 41 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.2678849697113037 time for calcul the mask position with numpy : 0.05093789100646973 nb_pixel_total : 1310630 time to create 1 rle with new method : 0.10559868812561035 time for calcul the mask position with numpy : 0.019656896591186523 nb_pixel_total : 748238 time to create 1 rle with new method : 0.1321706771850586 time for calcul the mask position with numpy : 0.00768733024597168 nb_pixel_total : 11245 time to create 1 rle with old method : 0.012786149978637695 time for calcul the mask position with numpy : 0.00789189338684082 nb_pixel_total : 3487 time to create 1 rle with old method : 0.0043506622314453125 create new chi : 0.35956788063049316 time to delete rle : 0.02675938606262207 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3510 TO DO : save crop sub photo not yet done ! save time : 0.3106381893157959 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.3705778121948242 time for calcul the mask position with numpy : 0.03527069091796875 nb_pixel_total : 1252633 time to create 1 rle with new method : 0.11351609230041504 time for calcul the mask position with numpy : 0.01268458366394043 nb_pixel_total : 737636 time to create 1 rle with new method : 0.06971120834350586 time for calcul the mask position with numpy : 0.006368160247802734 nb_pixel_total : 10341 time to create 1 rle with old method : 0.011683225631713867 time for calcul the mask position with numpy : 0.006400108337402344 nb_pixel_total : 18261 time to create 1 rle with old method : 0.020533084869384766 time for calcul the mask position with numpy : 0.006363391876220703 nb_pixel_total : 42895 time to create 1 rle with old method : 0.0483250617980957 time for calcul the mask position with numpy : 0.006404399871826172 nb_pixel_total : 11834 time to create 1 rle with old method : 0.013444662094116211 create new chi : 0.3650393486022949 time to delete rle : 0.0006105899810791016 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4340 TO DO : save crop sub photo not yet done ! save time : 0.3286406993865967 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06832385063171387 time for calcul the mask position with numpy : 0.7621262073516846 nb_pixel_total : 1940727 time to create 1 rle with new method : 0.08343720436096191 time for calcul the mask position with numpy : 0.0071713924407958984 nb_pixel_total : 8692 time to create 1 rle with old method : 0.009842634201049805 time for calcul the mask position with numpy : 0.007357358932495117 nb_pixel_total : 110367 time to create 1 rle with old method : 0.12311339378356934 time for calcul the mask position with numpy : 0.007382631301879883 nb_pixel_total : 8556 time to create 1 rle with old method : 0.01015329360961914 time for calcul the mask position with numpy : 0.006981849670410156 nb_pixel_total : 5258 time to create 1 rle with old method : 0.00593256950378418 create new chi : 1.0340075492858887 time to delete rle : 0.0004839897155761719 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2872 TO DO : save crop sub photo not yet done ! save time : 0.21343255043029785 No data in photo_id : 1376957079 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.10337495803833008 time for calcul the mask position with numpy : 0.07010412216186523 nb_pixel_total : 1893737 time to create 1 rle with new method : 0.08015131950378418 time for calcul the mask position with numpy : 0.006905555725097656 nb_pixel_total : 118267 time to create 1 rle with old method : 0.13129472732543945 time for calcul the mask position with numpy : 0.0065479278564453125 nb_pixel_total : 26222 time to create 1 rle with old method : 0.029392480850219727 time for calcul the mask position with numpy : 0.006501913070678711 nb_pixel_total : 35374 time to create 1 rle with old method : 0.0397036075592041 create new chi : 0.3811326026916504 time to delete rle : 0.0004734992980957031 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2840 TO DO : save crop sub photo not yet done ! save time : 0.21982455253601074 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0428621768951416 time for calcul the mask position with numpy : 0.020876407623291016 nb_pixel_total : 1955195 time to create 1 rle with new method : 0.3502840995788574 time for calcul the mask position with numpy : 0.007210254669189453 nb_pixel_total : 118405 time to create 1 rle with old method : 0.1312544345855713 create new chi : 0.5181601047515869 time to delete rle : 0.0004100799560546875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2190 TO DO : save crop sub photo not yet done ! save time : 0.1794109344482422 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.23061180114746094 time for calcul the mask position with numpy : 0.21680760383605957 nb_pixel_total : 1887017 time to create 1 rle with new method : 0.08720231056213379 time for calcul the mask position with numpy : 0.007233142852783203 nb_pixel_total : 114351 time to create 1 rle with old method : 0.13122200965881348 time for calcul the mask position with numpy : 0.00699925422668457 nb_pixel_total : 51928 time to create 1 rle with old method : 0.05890035629272461 time for calcul the mask position with numpy : 0.006667375564575195 nb_pixel_total : 4468 time to create 1 rle with old method : 0.00504612922668457 time for calcul the mask position with numpy : 0.0068340301513671875 nb_pixel_total : 10937 time to create 1 rle with old method : 0.01241159439086914 time for calcul the mask position with numpy : 0.006773233413696289 nb_pixel_total : 4899 time to create 1 rle with old method : 0.005474090576171875 create new chi : 0.562720537185669 time to delete rle : 0.0007646083831787109 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3812 TO DO : save crop sub photo not yet done ! save time : 0.3189980983734131 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.05114150047302246 time for calcul the mask position with numpy : 0.0472416877746582 nb_pixel_total : 2035680 time to create 1 rle with new method : 0.07663702964782715 time for calcul the mask position with numpy : 0.00659489631652832 nb_pixel_total : 31 time to create 1 rle with old method : 7.295608520507812e-05 time for calcul the mask position with numpy : 0.006624460220336914 nb_pixel_total : 25401 time to create 1 rle with old method : 0.03500247001647949 time for calcul the mask position with numpy : 0.007094383239746094 nb_pixel_total : 12488 time to create 1 rle with old method : 0.013928890228271484 create new chi : 0.2009267807006836 time to delete rle : 0.00030684471130371094 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1742 TO DO : save crop sub photo not yet done ! save time : 0.1716296672821045 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.035186767578125 time for calcul the mask position with numpy : 0.021612167358398438 nb_pixel_total : 2063213 time to create 1 rle with new method : 0.044484615325927734 time for calcul the mask position with numpy : 0.006493330001831055 nb_pixel_total : 10387 time to create 1 rle with old method : 0.011653900146484375 create new chi : 0.08448576927185059 time to delete rle : 0.00025534629821777344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1432 TO DO : save crop sub photo not yet done ! save time : 0.15076351165771484 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07020974159240723 time for calcul the mask position with numpy : 0.02378082275390625 nb_pixel_total : 1033178 time to create 1 rle with new method : 0.09041070938110352 time for calcul the mask position with numpy : 0.01410818099975586 nb_pixel_total : 903648 time to create 1 rle with new method : 0.2645752429962158 time for calcul the mask position with numpy : 0.00726628303527832 nb_pixel_total : 102705 time to create 1 rle with old method : 0.11377477645874023 time for calcul the mask position with numpy : 0.007082462310791016 nb_pixel_total : 34069 time to create 1 rle with old method : 0.03788113594055176 create new chi : 0.5740799903869629 time to delete rle : 0.0009109973907470703 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 6066 TO DO : save crop sub photo not yet done ! save time : 0.4922027587890625 No data in photo_id : 1376957006 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04680037498474121 time for calcul the mask position with numpy : 0.13194775581359863 nb_pixel_total : 2067648 time to create 1 rle with new method : 0.07425975799560547 time for calcul the mask position with numpy : 0.006451129913330078 nb_pixel_total : 1117 time to create 1 rle with old method : 0.0012993812561035156 time for calcul the mask position with numpy : 0.006240129470825195 nb_pixel_total : 4835 time to create 1 rle with old method : 0.005504131317138672 create new chi : 0.2335805892944336 time to delete rle : 0.0002484321594238281 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1296 TO DO : save crop sub photo not yet done ! save time : 0.12392306327819824 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08475732803344727 time for calcul the mask position with numpy : 0.12191963195800781 nb_pixel_total : 1930882 time to create 1 rle with new method : 0.11796998977661133 time for calcul the mask position with numpy : 0.006368160247802734 nb_pixel_total : 7707 time to create 1 rle with old method : 0.008451700210571289 time for calcul the mask position with numpy : 0.006219148635864258 nb_pixel_total : 6956 time to create 1 rle with old method : 0.007775306701660156 time for calcul the mask position with numpy : 0.0062444210052490234 nb_pixel_total : 17446 time to create 1 rle with old method : 0.019060373306274414 time for calcul the mask position with numpy : 0.006613969802856445 nb_pixel_total : 110609 time to create 1 rle with old method : 0.1200711727142334 create new chi : 0.4307396411895752 time to delete rle : 0.0003986358642578125 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3126 TO DO : save crop sub photo not yet done ! save time : 0.23662877082824707 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05267620086669922 time for calcul the mask position with numpy : 0.04894256591796875 nb_pixel_total : 1682538 time to create 1 rle with new method : 0.24815702438354492 time for calcul the mask position with numpy : 0.006364107131958008 nb_pixel_total : 10287 time to create 1 rle with old method : 0.011374235153198242 time for calcul the mask position with numpy : 0.006412029266357422 nb_pixel_total : 57564 time to create 1 rle with old method : 0.06167745590209961 time for calcul the mask position with numpy : 0.00787043571472168 nb_pixel_total : 323211 time to create 1 rle with new method : 0.14155054092407227 create new chi : 0.5447587966918945 time to delete rle : 0.0007815361022949219 batch 1 Loaded 7 chid ids of type : 3594 +++++++++Number RLEs to save : 4188 TO DO : save crop sub photo not yet done ! save time : 0.3001890182495117 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.15308308601379395 time for calcul the mask position with numpy : 0.2252805233001709 nb_pixel_total : 1920102 time to create 1 rle with new method : 0.32555079460144043 time for calcul the mask position with numpy : 0.007134199142456055 nb_pixel_total : 108086 time to create 1 rle with old method : 0.11725926399230957 time for calcul the mask position with numpy : 0.006446123123168945 nb_pixel_total : 14125 time to create 1 rle with old method : 0.015857458114624023 time for calcul the mask position with numpy : 0.006343364715576172 nb_pixel_total : 6280 time to create 1 rle with old method : 0.008595466613769531 time for calcul the mask position with numpy : 0.006577730178833008 nb_pixel_total : 25007 time to create 1 rle with old method : 0.026676654815673828 create new chi : 0.7550070285797119 time to delete rle : 0.0005972385406494141 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3026 TO DO : save crop sub photo not yet done ! save time : 0.22182011604309082 map_output_result : {1376957175: (0.0, 'Should be the crop_list due to order', 0), 1376957143: (0.0, 'Should be the crop_list due to order', 0), 1376957082: (0.0, 'Should be the crop_list due to order', 0), 1376957079: (0.0, 'Should be the crop_list due to order', 0.0), 1376957075: (0.0, 'Should be the crop_list due to order', 0), 1376957049: (0.0, 'Should be the crop_list due to order', 0), 1376957043: (0.0, 'Should be the crop_list due to order', 0), 1376957016: (0.0, 'Should be the crop_list due to order', 0), 1376957014: (0.0, 'Should be the crop_list due to order', 0), 1376957011: (0.0, 'Should be the crop_list due to order', 0), 1376957006: (0.0, 'Should be the crop_list due to order', 0.0), 1376956991: (0.0, 'Should be the crop_list due to order', 0), 1376956990: (0.0, 'Should be the crop_list due to order', 0), 1376956987: (0.0, 'Should be the crop_list due to order', 0), 1376956984: (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 [1376957175, 1376957143, 1376957082, 1376957079, 1376957075, 1376957049, 1376957043, 1376957016, 1376957014, 1376957011, 1376957006, 1376956991, 1376956990, 1376956987, 1376956984] Looping around the photos to save general results len do output : 15 /1376957175.Didn't retrieve data . /1376957143.Didn't retrieve data . /1376957082.Didn't retrieve data . /1376957079.Didn't retrieve data . /1376957075.Didn't retrieve data . /1376957049.Didn't retrieve data . /1376957043.Didn't retrieve data . /1376957016.Didn't retrieve data . /1376957014.Didn't retrieve data . /1376957011.Didn't retrieve data . /1376957006.Didn't retrieve data . /1376956991.Didn't retrieve data . /1376956990.Didn't retrieve data . /1376956987.Didn't retrieve data . /1376956984.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, '3531171') ('3318', '25974582', '1376957175', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957143', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957082', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957079', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957075', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957049', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957043', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957016', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957014', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957011', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957006', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956991', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956990', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956987', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956984', None, None, None, None, None, '3531171') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.015339374542236328 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.373218297958374 time spend to save output : 0.01582956314086914 total time spend for step 3 : 11.389047861099243 step4:ventilate_hashtags_in_portfolio Thu Aug 14 10:11:37 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 : 25974582 get user id for portfolio 25974582 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`=25974582 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_fonce','pet_clair','pehd','papier','autre','mal_croppe','metal','flou','carton','environnement')) 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`=25974582 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_fonce','pet_clair','pehd','papier','autre','mal_croppe','metal','flou','carton','environnement')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25974582 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_fonce','pet_clair','pehd','papier','autre','mal_croppe','metal','flou','carton','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25975210,25975211,25975212,25975213,25975214,25975215,25975216,25975217,25975218,25975219,25975220?tags=background,pet_fonce,pet_clair,pehd,papier,autre,mal_croppe,metal,flou,carton,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376957175, 1376957143, 1376957082, 1376957079, 1376957075, 1376957049, 1376957043, 1376957016, 1376957014, 1376957011, 1376957006, 1376956991, 1376956990, 1376956987, 1376956984] Looping around the photos to save general results len do output : 1 /25974582. 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, '3531171') ('3318', '25974582', '1376957175', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957143', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957082', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957079', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957075', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957049', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957043', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957016', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957014', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957011', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957006', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956991', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956990', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956987', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956984', None, None, None, None, None, '3531171') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.015708208084106445 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.671830177307129 time spend to save output : 0.021277427673339844 total time spend for step 4 : 1.6931076049804688 step5:final Thu Aug 14 10:11: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 ! 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 : {1376957175: ('0.1280742026748971',), 1376957143: ('0.1280742026748971',), 1376957082: ('0.1280742026748971',), 1376957079: ('0.1280742026748971',), 1376957075: ('0.1280742026748971',), 1376957049: ('0.1280742026748971',), 1376957043: ('0.1280742026748971',), 1376957016: ('0.1280742026748971',), 1376957014: ('0.1280742026748971',), 1376957011: ('0.1280742026748971',), 1376957006: ('0.1280742026748971',), 1376956991: ('0.1280742026748971',), 1376956990: ('0.1280742026748971',), 1376956987: ('0.1280742026748971',), 1376956984: ('0.1280742026748971',)} new output for save of step final : {1376957175: ('0.1280742026748971',), 1376957143: ('0.1280742026748971',), 1376957082: ('0.1280742026748971',), 1376957079: ('0.1280742026748971',), 1376957075: ('0.1280742026748971',), 1376957049: ('0.1280742026748971',), 1376957043: ('0.1280742026748971',), 1376957016: ('0.1280742026748971',), 1376957014: ('0.1280742026748971',), 1376957011: ('0.1280742026748971',), 1376957006: ('0.1280742026748971',), 1376956991: ('0.1280742026748971',), 1376956990: ('0.1280742026748971',), 1376956987: ('0.1280742026748971',), 1376956984: ('0.1280742026748971',)} [1376957175, 1376957143, 1376957082, 1376957079, 1376957075, 1376957049, 1376957043, 1376957016, 1376957014, 1376957011, 1376957006, 1376956991, 1376956990, 1376956987, 1376956984] Looping around the photos to save general results len do output : 15 /1376957175.Didn't retrieve data . /1376957143.Didn't retrieve data . /1376957082.Didn't retrieve data . /1376957079.Didn't retrieve data . /1376957075.Didn't retrieve data . /1376957049.Didn't retrieve data . /1376957043.Didn't retrieve data . /1376957016.Didn't retrieve data . /1376957014.Didn't retrieve data . /1376957011.Didn't retrieve data . /1376957006.Didn't retrieve data . /1376956991.Didn't retrieve data . /1376956990.Didn't retrieve data . /1376956987.Didn't retrieve data . /1376956984.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, '3531171') ('3318', '25974582', '1376957175', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957143', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957082', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957079', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957075', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957049', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957043', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957016', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957014', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957011', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957006', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956991', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956990', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956987', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956984', None, None, None, None, None, '3531171') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.017736434936523438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1273946762084961 time spend to save output : 0.018385648727416992 total time spend for step 5 : 0.14578032493591309 step6:blur_detection Thu Aug 14 10:11: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 blur_detection methode: ratio et variance treat image : temp/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf.jpg resize: (1080, 1920) 1376957175 -0.250213967910094 treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740.jpg resize: (1080, 1920) 1376957143 -0.08794067172281307 treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03.jpg resize: (1080, 1920) 1376957082 -4.208499827857044 treat image : temp/1755159028_2314328_1376957079_3c32debbcd34a317d3764340fa155a81.jpg resize: (1080, 1920) 1376957079 1.9603212963881627 treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00.jpg resize: (1080, 1920) 1376957075 -4.5183598991562475 treat image : temp/1755159028_2314328_1376957049_07ad234390b3c555cce045fd33809cca.jpg resize: (1080, 1920) 1376957049 0.8317496834407393 treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177.jpg resize: (1080, 1920) 1376957043 -1.1165852840097321 treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf.jpg resize: (1080, 1920) 1376957016 4.0059434395254545 treat image : temp/1755159028_2314328_1376957014_3e2fb9db93586de120dc4a6b044a1396.jpg resize: (1080, 1920) 1376957014 -1.3164179777634342 treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e.jpg resize: (1080, 1920) 1376957011 -5.289299669877474 treat image : temp/1755159028_2314328_1376957006_b055dfcebc0bb6e9dc57d50f337d1008.jpg resize: (1080, 1920) 1376957006 -1.7271849746791645 treat image : temp/1755159028_2314328_1376956991_e44ebe292573aaf878e720c46a6c5254.jpg resize: (1080, 1920) 1376956991 -4.327739875760987 treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b.jpg resize: (1080, 1920) 1376956990 -5.150475537138883 treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c.jpg resize: (1080, 1920) 1376956987 -1.877207338919991 treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405.jpg resize: (1080, 1920) 1376956984 -4.635025620231545 treat image : temp/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf_rle_crop_3914530074_0.png resize: (89, 63) 1376975369 -2.811329828586336 treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530077_0.png resize: (180, 113) 1376975370 -0.40598605032279717 treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530079_0.png resize: (163, 166) 1376975371 -0.8478242216284488 treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530082_0.png resize: (73, 99) 1376975372 -4.764712363854535 treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00_rle_crop_3914530087_0.png resize: (160, 200) 1376975373 -2.264712547264759 treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530092_0.png resize: (99, 85) 1376975374 -1.9552374390775171 treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530090_0.png resize: (131, 73) 1376975375 -2.155389995669764 treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf_rle_crop_3914530096_0.png resize: (176, 188) 1376975376 -0.14677076529669145 treat image : temp/1755159028_2314328_1376956991_e44ebe292573aaf878e720c46a6c5254_rle_crop_3914530102_0.png resize: (74, 107) 1376975377 -2.3109477860636916 treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530105_0.png resize: (300, 99) 1376975378 -1.829649572702285 treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c_rle_crop_3914530110_0.png resize: (175, 113) 1376975379 -0.3644465156690921 treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530111_0.png resize: (187, 213) 1376975380 -2.2038507258276083 treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530112_0.png resize: (79, 119) 1376975381 -4.778727361355836 treat image : temp/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf_rle_crop_3914530075_0.png resize: (148, 99) 1376975383 -1.595513652862726 treat image : temp/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf_rle_crop_3914530076_0.png resize: (974, 1040) 1376975400 -0.6295090701952619 treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530081_0.png resize: (915, 1063) 1376975401 -0.4351836537276205 treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530078_0.png resize: (229, 331) 1376975402 -1.9634853906220628 treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530080_0.png resize: (101, 151) 1376975403 -3.9217452577033 treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530083_0.png resize: (163, 86) 1376975404 -0.8013835219248477 treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530085_0.png resize: (96, 135) 1376975405 -3.4180892932312856 treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530084_0.png resize: (533, 346) 1376975406 0.13678487662960676 treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00_rle_crop_3914530086_0.png resize: (129, 365) 1376975407 -2.475153010567542 treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00_rle_crop_3914530088_0.png resize: (579, 346) 1376975409 0.34952388441177534 treat image : temp/1755159028_2314328_1376957049_07ad234390b3c555cce045fd33809cca_rle_crop_3914530089_0.png resize: (550, 353) 1376975410 0.2078876987335197 treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530091_0.png resize: (142, 99) 1376975411 -2.3913973578194208 treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530093_0.png resize: (441, 147) 1376975412 -0.9919292731423098 treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530094_0.png resize: (540, 345) 1376975413 -0.07177163639699302 treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf_rle_crop_3914530095_0.png resize: (127, 131) 1376975414 -0.6161452330805735 treat image : temp/1755159028_2314328_1376957014_3e2fb9db93586de120dc4a6b044a1396_rle_crop_3914530098_0.png resize: (176, 112) 1376975415 -0.8296438598263409 treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e_rle_crop_3914530101_0.png resize: (993, 1185) 1376975416 -4.481576136240427 treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e_rle_crop_3914530100_0.png resize: (535, 331) 1376975417 0.03911332599320612 treat image : temp/1755159028_2314328_1376956991_e44ebe292573aaf878e720c46a6c5254_rle_crop_3914530103_0.png resize: (33, 45) 1376975418 1.7215801027682411 treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530107_0.png resize: (72, 132) 1376975419 -1.2153139408393285 treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530106_0.png resize: (101, 86) 1376975420 -1.2901936730224164 treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530104_0.png resize: (540, 338) 1376975421 -0.06317050696844087 treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c_rle_crop_3914530108_0.png resize: (888, 881) 1376975422 0.5952598312141484 treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c_rle_crop_3914530109_0.png resize: (311, 218) 1376975423 0.29284929162325474 treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530114_0.png resize: (535, 341) 1376975424 0.26712437822087864 treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf_rle_crop_3914530097_0.png resize: (119, 109) 1376975425 -0.31283525551917757 treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e_rle_crop_3914530099_0.png resize: (288, 158) 1376975426 -0.46870630993464923 treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530113_0.png resize: (131, 135) 1376975427 -2.90205467852256 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 : 56 time used for this insertion : 0.013707637786865234 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 56 time used for this insertion : 0.016366004943847656 save missing photos in datou_result : time spend for datou_step_exec : 14.162681102752686 time spend to save output : 0.03490781784057617 total time spend for step 6 : 14.197588920593262 step7:brightness Thu Aug 14 10:11:53 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/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf.jpg treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740.jpg treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03.jpg treat image : temp/1755159028_2314328_1376957079_3c32debbcd34a317d3764340fa155a81.jpg treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00.jpg treat image : temp/1755159028_2314328_1376957049_07ad234390b3c555cce045fd33809cca.jpg treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177.jpg treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf.jpg treat image : temp/1755159028_2314328_1376957014_3e2fb9db93586de120dc4a6b044a1396.jpg treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e.jpg treat image : temp/1755159028_2314328_1376957006_b055dfcebc0bb6e9dc57d50f337d1008.jpg treat image : temp/1755159028_2314328_1376956991_e44ebe292573aaf878e720c46a6c5254.jpg treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b.jpg treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c.jpg treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405.jpg treat image : temp/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf_rle_crop_3914530074_0.png treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530077_0.png treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530079_0.png treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530082_0.png treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00_rle_crop_3914530087_0.png treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530092_0.png treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530090_0.png treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf_rle_crop_3914530096_0.png treat image : temp/1755159028_2314328_1376956991_e44ebe292573aaf878e720c46a6c5254_rle_crop_3914530102_0.png treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530105_0.png treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c_rle_crop_3914530110_0.png treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530111_0.png treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530112_0.png treat image : temp/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf_rle_crop_3914530075_0.png treat image : temp/1755159028_2314328_1376957175_69a879450e5348b67779e45ea0554cdf_rle_crop_3914530076_0.png treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530081_0.png treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530078_0.png treat image : temp/1755159028_2314328_1376957143_eaabda8d29996e8601a33cabf224e740_rle_crop_3914530080_0.png treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530083_0.png treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530085_0.png treat image : temp/1755159028_2314328_1376957082_d0338be535940262902095abb0b50d03_rle_crop_3914530084_0.png treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00_rle_crop_3914530086_0.png treat image : temp/1755159028_2314328_1376957075_a1cdd62cec554735b88815f70b197c00_rle_crop_3914530088_0.png treat image : temp/1755159028_2314328_1376957049_07ad234390b3c555cce045fd33809cca_rle_crop_3914530089_0.png treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530091_0.png treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530093_0.png treat image : temp/1755159028_2314328_1376957043_0e36c9ac2d1fce1c2484c2b99bced177_rle_crop_3914530094_0.png treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf_rle_crop_3914530095_0.png treat image : temp/1755159028_2314328_1376957014_3e2fb9db93586de120dc4a6b044a1396_rle_crop_3914530098_0.png treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e_rle_crop_3914530101_0.png treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e_rle_crop_3914530100_0.png treat image : temp/1755159028_2314328_1376956991_e44ebe292573aaf878e720c46a6c5254_rle_crop_3914530103_0.png treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530107_0.png treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530106_0.png treat image : temp/1755159028_2314328_1376956990_c58fbbd96dbb7737cb557ecda203954b_rle_crop_3914530104_0.png treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c_rle_crop_3914530108_0.png treat image : temp/1755159028_2314328_1376956987_7623e6c8581891f1b55ea156d0b1d82c_rle_crop_3914530109_0.png treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530114_0.png treat image : temp/1755159028_2314328_1376957016_0fa02b6c09006d0487680ebc67904dcf_rle_crop_3914530097_0.png treat image : temp/1755159028_2314328_1376957011_641d7b770b1648be93ff881fa3cc5b9e_rle_crop_3914530099_0.png treat image : temp/1755159028_2314328_1376956984_d01a128788881197a6de56d1fe2fe405_rle_crop_3914530113_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 : 56 time used for this insertion : 0.022890567779541016 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 56 time used for this insertion : 0.02950596809387207 save missing photos in datou_result : time spend for datou_step_exec : 4.348883867263794 time spend to save output : 0.05723834037780762 total time spend for step 7 : 4.406122207641602 step8:velours_tree Thu Aug 14 10:11:57 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.1739192008972168 time spend to save output : 6.842613220214844e-05 total time spend for step 8 : 0.17398762702941895 step9:send_mail_cod Thu Aug 14 10:11:57 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_P25974582_14-08-2025_10_11_57.pdf 25975210 imagette259752101755159117 25975211 imagette259752111755159117 25975212 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 .imagette259752121755159117 25975213 imagette259752131755159119 25975214 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 .imagette259752141755159119 25975215 change filename to text .change filename to text .change filename to text .imagette259752151755159119 25975216 imagette259752161755159120 25975217 imagette259752171755159120 25975218 imagette259752181755159120 25975219 change filename to text .imagette259752191755159120 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25974582 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25975210,25975211,25975212,25975213,25975214,25975215,25975216,25975217,25975218,25975219,25975220?tags=background,pet_fonce,pet_clair,pehd,papier,autre,mal_croppe,metal,flou,carton,environnement args[1376957175] : ((1376957175, -0.250213967910094, 492688767), (1376957175, 0.28265870855445224, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957143] : ((1376957143, -0.08794067172281307, 492688767), (1376957143, 0.6294778547858484, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957082] : ((1376957082, -4.208499827857044, 492609224), (1376957082, 0.48752058712317653, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957079] : ((1376957079, 1.9603212963881627, 492688767), (1376957079, 0.6362603476177732, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957075] : ((1376957075, -4.5183598991562475, 492609224), (1376957075, 0.5376625921425235, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957049] : ((1376957049, 0.8317496834407393, 492688767), (1376957049, 0.3438083355591829, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957043] : ((1376957043, -1.1165852840097321, 492688767), (1376957043, 0.34223815566930804, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957016] : ((1376957016, 4.0059434395254545, 492688767), (1376957016, 0.4607744198502889, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957014] : ((1376957014, -1.3164179777634342, 492688767), (1376957014, 0.650050869654855, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957011] : ((1376957011, -5.289299669877474, 492609224), (1376957011, 0.4574104621126161, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376957006] : ((1376957006, -1.7271849746791645, 492688767), (1376957006, 0.67707187921647, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376956991] : ((1376956991, -4.327739875760987, 492609224), (1376956991, 0.5784885572317224, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376956990] : ((1376956990, -5.150475537138883, 492609224), (1376956990, 0.3400743031647394, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376956987] : ((1376956987, -1.877207338919991, 492688767), (1376956987, 1.4575035088817048, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com args[1376956984] : ((1376956984, -4.635025620231545, 492609224), (1376956984, 0.5118156088946316, 2107752395), '0.1280742026748971') We are sending mail with results at report@fotonower.com refus_total : 0.1280742026748971 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25974582 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_P25974582_14-08-2025_10_11_57.pdf results_Auto_P25974582_14-08-2025_10_11_57.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974582_14-08-2025_10_11_57.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','25974582','results_Auto_P25974582_14-08-2025_10_11_57.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974582_14-08-2025_10_11_57.pdf','pdf','','0.44','0.1280742026748971') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25974582

https://www.fotonower.com/image?json=false&list_photos_id=1376957175
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957143
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957082
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957079
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.9603212963881627)
https://www.fotonower.com/image?json=false&list_photos_id=1376957075
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957049
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957043
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957016
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.0059434395254545)
https://www.fotonower.com/image?json=false&list_photos_id=1376957014
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957011
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376957006
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376956991
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376956990
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376956987
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376956984
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/25975212?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25975214?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25975215?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25975219?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974582_14-08-2025_10_11_57.pdf.

Lien vers velours :https://www.fotonower.com/velours/25975210,25975211,25975212,25975213,25975214,25975215,25975216,25975217,25975218,25975219,25975220?tags=background,pet_fonce,pet_clair,pehd,papier,autre,mal_croppe,metal,flou,carton,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 14 Aug 2025 08:12:02 GMT Content-Length: 0 Connection: close X-Message-Id: fOUPLjy9SReeCgcWpU7vgQ 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 [1376957175, 1376957143, 1376957082, 1376957079, 1376957075, 1376957049, 1376957043, 1376957016, 1376957014, 1376957011, 1376957006, 1376956991, 1376956990, 1376956987, 1376956984] 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, '3531171') ('3318', '25974582', '1376957175', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957143', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957082', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957079', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957075', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957049', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957043', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957016', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957014', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957011', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957006', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956991', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956990', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956987', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956984', None, None, None, None, None, '3531171') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.06168317794799805 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.549379348754883 time spend to save output : 0.0620579719543457 total time spend for step 9 : 4.6114373207092285 step10:split_time_score Thu Aug 14 10:12:02 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', 15),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14082025 25974582 Nombre de photos uploadées : 15 / 23040 (0%) 14082025 25974582 Nombre de photos taguées (types de déchets): 0 / 15 (0%) 14082025 25974582 Nombre de photos taguées (volume) : 0 / 15 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ??????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006258487701416016 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22608542442321777 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.1280742026748971 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974582_14-08-2025_10_11_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974582 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`=25974582 AND mptpi.`type`=3594 To do Qualite : 0.015116423932613166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974586_14-08-2025_10_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974586 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`=25974586 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14082025': {'nb_upload': 15, '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 [1376957175, 1376957143, 1376957082, 1376957079, 1376957075, 1376957049, 1376957043, 1376957016, 1376957014, 1376957011, 1376957006, 1376956991, 1376956990, 1376956987, 1376956984] Looping around the photos to save general results len do output : 1 /25974582Didn'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, '3531171') ('3318', '25974582', '1376957175', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957143', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957082', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957079', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957075', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957049', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957043', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957016', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957014', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957011', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376957006', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956991', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956990', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956987', None, None, None, None, None, '3531171') ('3318', None, None, None, None, None, None, None, '3531171') ('3318', '25974582', '1376956984', None, None, None, None, None, '3531171') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.019214153289794922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.53314208984375 time spend to save output : 0.019524812698364258 total time spend for step 10 : 0.5526669025421143 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 59.80user 18.56system 1:37.99elapsed 79%CPU (0avgtext+0avgdata 2889888maxresident)k 1209648inputs+36080outputs (3370major+1439903minor)pagefaults 0swaps