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 : 2764469 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 : ['4130308'] with mtr_portfolio_ids : ['28968116'] and first list_photo_ids : [] new path : /proc/2764469/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 2.0755159854888916 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 Nov 27 21:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-27 21:10:32.733735: 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-11-27 21:10:32.762489: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-27 21:10:32.764749: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f378c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-27 21:10:32.764805: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-27 21:10:32.768861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-27 21:10:33.095115: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x14c677d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-27 21:10:33.095166: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-27 21:10:33.096619: 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-11-27 21:10:33.096983: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-27 21:10:33.104598: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-27 21:10:33.107475: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-27 21:10:33.108283: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-27 21:10:33.111439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-27 21:10:33.112905: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-27 21:10:33.117788: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-27 21:10:33.119279: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-27 21:10:33.119343: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-27 21:10:33.120112: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-27 21:10:33.120126: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-27 21:10:33.120134: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-27 21:10:33.121505: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-11-27 21:10:33.522849: 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-11-27 21:10:33.522988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-27 21:10:33.523009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-27 21:10:33.523028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-27 21:10:33.523047: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-27 21:10:33.523064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-27 21:10:33.523082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-27 21:10:33.523099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-27 21:10:33.524778: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-27 21:10:33.527471: 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-11-27 21:10:33.527579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-27 21:10:33.527596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-27 21:10:33.527610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-27 21:10:33.527625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-27 21:10:33.527639: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-27 21:10:33.527653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-27 21:10:33.527667: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-27 21:10:33.529159: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-27 21:10:33.529207: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-27 21:10:33.529217: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-27 21:10:33.529226: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-27 21:10:33.530631: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-11-27 21:10:42.216710: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-27 21:10:42.378803: 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 : 13 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 : 4 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 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: 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 : 4 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.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: 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.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 Detection mask done ! Trying to reset tf kernel 2765091 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4513 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 5706 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'] DEBUG bbox = [804, 720, 963, 831] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002503395080566406 nb_pixel_total : 9795 time to create 1 rle with old method : 0.010909795761108398 length of segment : 152 DEBUG bbox = [966, 525, 1080, 663] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001862049102783203 nb_pixel_total : 9733 time to create 1 rle with old method : 0.011468648910522461 length of segment : 115 DEBUG bbox = [915, 234, 1047, 342] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001666545867919922 nb_pixel_total : 9423 time to create 1 rle with old method : 0.01101064682006836 length of segment : 126 DEBUG bbox = [1032, 348, 1077, 429] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.461143493652344e-05 nb_pixel_total : 2147 time to create 1 rle with old method : 0.00269317626953125 length of segment : 41 DEBUG bbox = [1035, 330, 1068, 420] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 5.2928924560546875e-05 nb_pixel_total : 1781 time to create 1 rle with old method : 0.0022957324981689453 length of segment : 33 DEBUG bbox = [792, 636, 942, 729] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016546249389648438 nb_pixel_total : 9244 time to create 1 rle with old method : 0.010921955108642578 length of segment : 148 DEBUG bbox = [849, 810, 966, 924] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 6409 time to create 1 rle with old method : 0.007932662963867188 length of segment : 102 DEBUG bbox = [900, 1176, 1014, 1257] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011920928955078125 nb_pixel_total : 4735 time to create 1 rle with old method : 0.005852937698364258 length of segment : 99 DEBUG bbox = [363, 1554, 513, 1641] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00014734268188476562 nb_pixel_total : 7633 time to create 1 rle with old method : 0.009113073348999023 length of segment : 132 DEBUG bbox = [723, 1047, 840, 1194] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001780986785888672 nb_pixel_total : 7420 time to create 1 rle with old method : 0.009470701217651367 length of segment : 104 DEBUG bbox = [816, 1152, 927, 1272] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00013589859008789062 nb_pixel_total : 6336 time to create 1 rle with old method : 0.007845640182495117 length of segment : 90 DEBUG bbox = [3, 1170, 72, 1221] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.295608520507812e-05 nb_pixel_total : 2025 time to create 1 rle with old method : 0.002518892288208008 length of segment : 69 DEBUG bbox = [528, 1512, 1068, 1893] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0020716190338134766 nb_pixel_total : 113885 time to create 1 rle with old method : 0.14066648483276367 length of segment : 538 DEBUG bbox = [522, 666, 597, 753] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012302398681640625 nb_pixel_total : 3696 time to create 1 rle with old method : 0.004583597183227539 length of segment : 66 DEBUG bbox = [516, 1530, 1059, 1896] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0018360614776611328 nb_pixel_total : 111645 time to create 1 rle with old method : 0.12712860107421875 length of segment : 520 DEBUG bbox = [912, 558, 1029, 681] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 7544 time to create 1 rle with old method : 0.009035587310791016 length of segment : 107 DEBUG bbox = [39, 912, 450, 1104] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0007202625274658203 nb_pixel_total : 49897 time to create 1 rle with old method : 0.05726194381713867 length of segment : 490 DEBUG bbox = [1023, 696, 1077, 807] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.989738464355469e-05 nb_pixel_total : 4122 time to create 1 rle with old method : 0.004973173141479492 length of segment : 52 DEBUG bbox = [819, 1419, 909, 1464] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.176399230957031e-05 nb_pixel_total : 2632 time to create 1 rle with old method : 0.0031960010528564453 length of segment : 90 DEBUG bbox = [999, 183, 1074, 318] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 5877 time to create 1 rle with old method : 0.007046699523925781 length of segment : 63 DEBUG bbox = [909, 840, 1011, 936] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 4650 time to create 1 rle with old method : 0.005574703216552734 length of segment : 95 DEBUG bbox = [987, 777, 1074, 864] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.5367431640625e-05 nb_pixel_total : 5819 time to create 1 rle with old method : 0.006626605987548828 length of segment : 86 DEBUG bbox = [0, 0, 960, 969] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.11337161064147949 nb_pixel_total : 704116 time to create 1 rle with new method : 0.03713679313659668 length of segment : 928 DEBUG bbox = [804, 567, 918, 666] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00032973289489746094 nb_pixel_total : 6477 time to create 1 rle with old method : 0.007821798324584961 length of segment : 98 DEBUG bbox = [918, 693, 1080, 927] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004909038543701172 nb_pixel_total : 11324 time to create 1 rle with old method : 0.013536214828491211 length of segment : 134 DEBUG bbox = [936, 897, 996, 942] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 5.555152893066406e-05 nb_pixel_total : 1626 time to create 1 rle with old method : 0.0020084381103515625 length of segment : 53 DEBUG bbox = [732, 246, 822, 336] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 4929 time to create 1 rle with old method : 0.005917072296142578 length of segment : 86 time spent for convertir_results : 1.6815872192382812 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 27 chid ids of type : 3594 Number RLEs to save : 4617 save missing photos in datou_result : time spend for datou_step_exec : 26.53707218170166 time spend to save output : 0.7190310955047607 total time spend for step 1 : 27.25610327720642 step2:crop_condition Thu Nov 27 21:10: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 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 : 13 ! batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764274258_2764469 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714736_0.png', 0, 104, 121, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714737_0.png', 0, 73, 41, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714735_0.png', 0, 137, 104, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714739_0.png', 0, 85, 143, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714734_0.png', 0, 107, 145, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714740_0.png', 0, 101, 102, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714741_0.png', 0, 65, 99, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439478_5f6fc33a8c0ca7026e7f88f92bfc240f_rle_crop_4047714747_0.png', 0, 84, 64, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714749_0.png', 0, 122, 95, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714751_0.png', 0, 109, 52, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714752_0.png', 0, 37, 89, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714755_0.png', 0, 87, 84, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714754_0.png', 0, 85, 95, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439472_bb7649bc4e2feafb3729317ee6e3471c_rle_crop_4047714757_0.png', 0, 95, 98, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf_rle_crop_4047714758_0.png', 0, 178, 139, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf_rle_crop_4047714759_0.png', 0, 39, 53, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274261), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439448_56f7e3321f808588a47fc668df45c4b6_rle_crop_4047714760_0.png', 0, 79, 86, 0, 1764274261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.507650375366211 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764274264_2764469 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274265), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714738_0.png', 0, 67, 33, 0, 1764274265,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274265), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714742_0.png', 0, 80, 131, 0, 1764274265,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274265), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60_rle_crop_4047714743_0.png', 0, 128, 102, 0, 1764274265,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274265), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60_rle_crop_4047714744_0.png', 0, 100, 89, 0, 1764274265,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4971089363098145 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764274269_2764469 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274270), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439541_d4a0a0dc43089e1bc1bcc7aa7f8a6fe8_rle_crop_4047714745_0.png', 0, 44, 69, 0, 1764274270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274270), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439537_a7a14c2f50b5dbd42ef26a3f31d1e92b_rle_crop_4047714746_0.png', 0, 357, 534, 0, 1764274270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274270), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714753_0.png', 0, 133, 63, 0, 1764274270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274270), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714748_0.png', 0, 351, 520, 0, 1764274270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274270), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714756_0.png', 0, 947, 927, 0, 1764274270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9277856349945068 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764274272_2764469 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764274272), 0.0, 0.0, 14, '', 0, 0, '1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714750_0.png', 0, 162, 410, 0, 1764274272,'0',0) 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.6788897514343262 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1396439553, 1396439549, 1396439548, 1396439545, 1396439541, 1396439537, 1396439478, 1396439477, 1396439475, 1396439473, 1396439472, 1396439449, 1396439448] Looping around the photos to save general results len do output : 27 /1396457252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396457326Didn'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, '4130308') ('3318', '28968116', '1396439553', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439549', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439548', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439545', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439541', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439537', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439478', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439477', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439475', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439473', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439472', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439449', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439448', None, None, None, None, None, '4130308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 94 time used for this insertion : 0.04668021202087402 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.52390456199646 time spend to save output : 0.04748892784118652 total time spend for step 2 : 15.571393489837646 step3:rle_unique_nms_with_priority Thu Nov 27 21:11:12 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++++++++++++++++++ No data in photo_id : 1396439553 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.6144661903381348 time for calcul the mask position with numpy : 0.18650555610656738 nb_pixel_total : 2033232 time to create 1 rle with new method : 0.10640478134155273 time for calcul the mask position with numpy : 0.006494998931884766 nb_pixel_total : 9244 time to create 1 rle with old method : 0.010347366333007812 time for calcul the mask position with numpy : 0.006198883056640625 nb_pixel_total : 26 time to create 1 rle with old method : 9.72747802734375e-05 time for calcul the mask position with numpy : 0.006087779998779297 nb_pixel_total : 2147 time to create 1 rle with old method : 0.0024535655975341797 time for calcul the mask position with numpy : 0.006929159164428711 nb_pixel_total : 9423 time to create 1 rle with old method : 0.015261650085449219 time for calcul the mask position with numpy : 0.007102251052856445 nb_pixel_total : 9733 time to create 1 rle with old method : 0.015770912170410156 time for calcul the mask position with numpy : 0.006989717483520508 nb_pixel_total : 9795 time to create 1 rle with old method : 0.015946626663208008 create new chi : 0.40337300300598145 time to delete rle : 0.09778523445129395 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2263 TO DO : save crop sub photo not yet done ! save time : 0.40334367752075195 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.10456609725952148 time for calcul the mask position with numpy : 0.08502769470214844 nb_pixel_total : 2054823 time to create 1 rle with new method : 0.08033132553100586 time for calcul the mask position with numpy : 0.006321907043457031 nb_pixel_total : 7633 time to create 1 rle with old method : 0.008551836013793945 time for calcul the mask position with numpy : 0.007461071014404297 nb_pixel_total : 4735 time to create 1 rle with old method : 0.007652759552001953 time for calcul the mask position with numpy : 0.0065190792083740234 nb_pixel_total : 6409 time to create 1 rle with old method : 0.01104283332824707 create new chi : 0.21326470375061035 time to delete rle : 0.00037097930908203125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1746 TO DO : save crop sub photo not yet done ! save time : 0.356278657913208 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04631757736206055 time for calcul the mask position with numpy : 0.018767833709716797 nb_pixel_total : 2059844 time to create 1 rle with new method : 0.37189435958862305 time for calcul the mask position with numpy : 0.006428241729736328 nb_pixel_total : 6336 time to create 1 rle with old method : 0.0069811344146728516 time for calcul the mask position with numpy : 0.006186485290527344 nb_pixel_total : 7420 time to create 1 rle with old method : 0.008401632308959961 create new chi : 0.41893482208251953 time to delete rle : 0.0002410411834716797 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1468 TO DO : save crop sub photo not yet done ! save time : 0.3175175189971924 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.19255566596984863 time for calcul the mask position with numpy : 0.07825899124145508 nb_pixel_total : 2071575 time to create 1 rle with new method : 0.20868778228759766 time for calcul the mask position with numpy : 0.006126880645751953 nb_pixel_total : 2025 time to create 1 rle with old method : 0.0021758079528808594 create new chi : 0.3061556816101074 time to delete rle : 0.0002105236053466797 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1218 TO DO : save crop sub photo not yet done ! save time : 0.331803560256958 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03633236885070801 time for calcul the mask position with numpy : 0.16194820404052734 nb_pixel_total : 1959715 time to create 1 rle with new method : 0.203857421875 time for calcul the mask position with numpy : 0.006417751312255859 nb_pixel_total : 113885 time to create 1 rle with old method : 0.12705779075622559 create new chi : 0.5089280605316162 time to delete rle : 0.00028777122497558594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2156 TO DO : save crop sub photo not yet done ! save time : 0.4721493721008301 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03336167335510254 time for calcul the mask position with numpy : 0.06578707695007324 nb_pixel_total : 2069904 time to create 1 rle with new method : 0.1890113353729248 time for calcul the mask position with numpy : 0.0074427127838134766 nb_pixel_total : 3696 time to create 1 rle with old method : 0.0042269229888916016 create new chi : 0.2787806987762451 time to delete rle : 0.0002682209014892578 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1212 TO DO : save crop sub photo not yet done ! save time : 0.24356627464294434 No data in photo_id : 1396439477 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.458202600479126 time for calcul the mask position with numpy : 0.15356087684631348 nb_pixel_total : 1891883 time to create 1 rle with new method : 0.12390398979187012 time for calcul the mask position with numpy : 0.0063631534576416016 nb_pixel_total : 5877 time to create 1 rle with old method : 0.006470441818237305 time for calcul the mask position with numpy : 0.0062825679779052734 nb_pixel_total : 2632 time to create 1 rle with old method : 0.0029783248901367188 time for calcul the mask position with numpy : 0.005953073501586914 nb_pixel_total : 4122 time to create 1 rle with old method : 0.0044405460357666016 time for calcul the mask position with numpy : 0.006066560745239258 nb_pixel_total : 49897 time to create 1 rle with old method : 0.05548834800720215 time for calcul the mask position with numpy : 0.006213665008544922 nb_pixel_total : 7544 time to create 1 rle with old method : 0.008633136749267578 time for calcul the mask position with numpy : 0.006940364837646484 nb_pixel_total : 111645 time to create 1 rle with old method : 0.1259629726409912 create new chi : 0.5293564796447754 time to delete rle : 0.0004687309265136719 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3724 TO DO : save crop sub photo not yet done ! save time : 0.4681551456451416 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05489945411682129 time for calcul the mask position with numpy : 0.018228769302368164 nb_pixel_total : 1359015 time to create 1 rle with new method : 0.08945488929748535 time for calcul the mask position with numpy : 0.014721393585205078 nb_pixel_total : 704116 time to create 1 rle with new method : 0.030371427536010742 time for calcul the mask position with numpy : 0.006761312484741211 nb_pixel_total : 5819 time to create 1 rle with old method : 0.006914377212524414 time for calcul the mask position with numpy : 0.006807565689086914 nb_pixel_total : 4650 time to create 1 rle with old method : 0.0053522586822509766 create new chi : 0.17916345596313477 time to delete rle : 0.0004258155822753906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3298 TO DO : save crop sub photo not yet done ! save time : 0.47171497344970703 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04518723487854004 time for calcul the mask position with numpy : 0.022513151168823242 nb_pixel_total : 2067123 time to create 1 rle with new method : 0.06371712684631348 time for calcul the mask position with numpy : 0.0062139034271240234 nb_pixel_total : 6477 time to create 1 rle with old method : 0.012285709381103516 create new chi : 0.10497617721557617 time to delete rle : 0.0003170967102050781 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1276 TO DO : save crop sub photo not yet done ! save time : 0.26572322845458984 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.17336487770080566 time for calcul the mask position with numpy : 0.09468936920166016 nb_pixel_total : 2060650 time to create 1 rle with new method : 0.21896147727966309 time for calcul the mask position with numpy : 0.007270336151123047 nb_pixel_total : 1626 time to create 1 rle with old method : 0.001895904541015625 time for calcul the mask position with numpy : 0.006276607513427734 nb_pixel_total : 11324 time to create 1 rle with old method : 0.01322484016418457 create new chi : 0.3549649715423584 time to delete rle : 0.0002593994140625 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1454 TO DO : save crop sub photo not yet done ! save time : 0.3128821849822998 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.057221174240112305 time for calcul the mask position with numpy : 0.19645476341247559 nb_pixel_total : 2068671 time to create 1 rle with new method : 0.07677769660949707 time for calcul the mask position with numpy : 0.00610041618347168 nb_pixel_total : 4929 time to create 1 rle with old method : 0.00527644157409668 create new chi : 0.29369616508483887 time to delete rle : 0.0002391338348388672 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1252 TO DO : save crop sub photo not yet done ! save time : 0.3220672607421875 map_output_result : {1396439553: (0.0, 'Should be the crop_list due to order', 0.0), 1396439549: (0.0, 'Should be the crop_list due to order', 0), 1396439548: (0.0, 'Should be the crop_list due to order', 0), 1396439545: (0.0, 'Should be the crop_list due to order', 0), 1396439541: (0.0, 'Should be the crop_list due to order', 0), 1396439537: (0.0, 'Should be the crop_list due to order', 0), 1396439478: (0.0, 'Should be the crop_list due to order', 0), 1396439477: (0.0, 'Should be the crop_list due to order', 0.0), 1396439475: (0.0, 'Should be the crop_list due to order', 0), 1396439473: (0.0, 'Should be the crop_list due to order', 0), 1396439472: (0.0, 'Should be the crop_list due to order', 0), 1396439449: (0.0, 'Should be the crop_list due to order', 0), 1396439448: (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 [1396439553, 1396439549, 1396439548, 1396439545, 1396439541, 1396439537, 1396439478, 1396439477, 1396439475, 1396439473, 1396439472, 1396439449, 1396439448] Looping around the photos to save general results len do output : 13 /1396439553.Didn't retrieve data . /1396439549.Didn't retrieve data . /1396439548.Didn't retrieve data . /1396439545.Didn't retrieve data . /1396439541.Didn't retrieve data . /1396439537.Didn't retrieve data . /1396439478.Didn't retrieve data . /1396439477.Didn't retrieve data . /1396439475.Didn't retrieve data . /1396439473.Didn't retrieve data . /1396439472.Didn't retrieve data . /1396439449.Didn't retrieve data . /1396439448.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, '4130308') ('3318', '28968116', '1396439553', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439549', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439548', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439545', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439541', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439537', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439478', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439477', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439475', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439473', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439472', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439449', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439448', None, None, None, None, None, '4130308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.045179128646850586 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.008433103561401 time spend to save output : 0.04566144943237305 total time spend for step 3 : 10.054094552993774 step4:ventilate_hashtags_in_portfolio Thu Nov 27 21:11:22 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 : 28968116 get user id for portfolio 28968116 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`=28968116 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','pehd','carton','pet_clair','environnement','background','flou','papier','mal_croppe','pet_fonce')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28968116 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','pehd','carton','pet_clair','environnement','background','flou','papier','mal_croppe','pet_fonce')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28968116 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','pehd','carton','pet_clair','environnement','background','flou','papier','mal_croppe','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28968339,28968340,28968341,28968342,28968343,28968344,28968345,28968346,28968347,28968348,28968349?tags=autre,metal,pehd,carton,pet_clair,environnement,background,flou,papier,mal_croppe,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396439553, 1396439549, 1396439548, 1396439545, 1396439541, 1396439537, 1396439478, 1396439477, 1396439475, 1396439473, 1396439472, 1396439449, 1396439448] Looping around the photos to save general results len do output : 1 /28968116. 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, '4130308') ('3318', '28968116', '1396439553', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439549', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439548', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439545', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439541', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439537', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439478', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439477', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439475', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439473', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439472', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439449', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439448', None, None, None, None, None, '4130308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.032601118087768555 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.285480260848999 time spend to save output : 0.0330348014831543 total time spend for step 4 : 5.318515062332153 step5:final Thu Nov 27 21:11:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1396439553: ('0.04129440438034188',), 1396439549: ('0.04129440438034188',), 1396439548: ('0.04129440438034188',), 1396439545: ('0.04129440438034188',), 1396439541: ('0.04129440438034188',), 1396439537: ('0.04129440438034188',), 1396439478: ('0.04129440438034188',), 1396439477: ('0.04129440438034188',), 1396439475: ('0.04129440438034188',), 1396439473: ('0.04129440438034188',), 1396439472: ('0.04129440438034188',), 1396439449: ('0.04129440438034188',), 1396439448: ('0.04129440438034188',)} new output for save of step final : {1396439553: ('0.04129440438034188',), 1396439549: ('0.04129440438034188',), 1396439548: ('0.04129440438034188',), 1396439545: ('0.04129440438034188',), 1396439541: ('0.04129440438034188',), 1396439537: ('0.04129440438034188',), 1396439478: ('0.04129440438034188',), 1396439477: ('0.04129440438034188',), 1396439475: ('0.04129440438034188',), 1396439473: ('0.04129440438034188',), 1396439472: ('0.04129440438034188',), 1396439449: ('0.04129440438034188',), 1396439448: ('0.04129440438034188',)} [1396439553, 1396439549, 1396439548, 1396439545, 1396439541, 1396439537, 1396439478, 1396439477, 1396439475, 1396439473, 1396439472, 1396439449, 1396439448] Looping around the photos to save general results len do output : 13 /1396439553.Didn't retrieve data . /1396439549.Didn't retrieve data . /1396439548.Didn't retrieve data . /1396439545.Didn't retrieve data . /1396439541.Didn't retrieve data . /1396439537.Didn't retrieve data . /1396439478.Didn't retrieve data . /1396439477.Didn't retrieve data . /1396439475.Didn't retrieve data . /1396439473.Didn't retrieve data . /1396439472.Didn't retrieve data . /1396439449.Didn't retrieve data . /1396439448.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, '4130308') ('3318', '28968116', '1396439553', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439549', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439548', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439545', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439541', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439537', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439478', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439477', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439475', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439473', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439472', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439449', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439448', None, None, None, None, None, '4130308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.04034686088562012 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.342606782913208 time spend to save output : 0.041007041931152344 total time spend for step 5 : 0.38361382484436035 step6:blur_detection Thu Nov 27 21:11:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1764274227_2764469_1396439553_5b6c10160c9eb4fab5ac504351c3b0a7.jpg resize: (1080, 1920) 1396439553 -0.048571490166733504 treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e.jpg resize: (1080, 1920) 1396439549 -3.9487492143061838 treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7.jpg resize: (1080, 1920) 1396439548 -0.4633268139296116 treat image : temp/1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60.jpg resize: (1080, 1920) 1396439545 -4.0322181454445305 treat image : temp/1764274227_2764469_1396439541_d4a0a0dc43089e1bc1bcc7aa7f8a6fe8.jpg resize: (1080, 1920) 1396439541 -0.4075506897743265 treat image : temp/1764274227_2764469_1396439537_a7a14c2f50b5dbd42ef26a3f31d1e92b.jpg resize: (1080, 1920) 1396439537 -1.3623191916437383 treat image : temp/1764274227_2764469_1396439478_5f6fc33a8c0ca7026e7f88f92bfc240f.jpg resize: (1080, 1920) 1396439478 -0.936653470245441 treat image : temp/1764274227_2764469_1396439477_17e95d2876285da75df93bc9447750c0.jpg resize: (1080, 1920) 1396439477 1.6958155779122648 treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a.jpg resize: (1080, 1920) 1396439475 -4.437569728013313 treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172.jpg resize: (1080, 1920) 1396439473 0.9733395119943247 treat image : temp/1764274227_2764469_1396439472_bb7649bc4e2feafb3729317ee6e3471c.jpg resize: (1080, 1920) 1396439472 -4.147337413770058 treat image : temp/1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf.jpg resize: (1080, 1920) 1396439449 0.18915875729658332 treat image : temp/1764274227_2764469_1396439448_56f7e3321f808588a47fc668df45c4b6.jpg resize: (1080, 1920) 1396439448 -0.7667343950738995 treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714736_0.png resize: (121, 104) 1396457252 -1.0416367923004017 treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714737_0.png resize: (41, 73) 1396457253 -2.216658714721073 treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714735_0.png resize: (104, 137) 1396457254 -2.102594063663289 treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714739_0.png resize: (143, 85) 1396457255 -4.38118333196963 treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714734_0.png resize: (145, 107) 1396457257 -4.29223777334242 treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714740_0.png resize: (102, 101) 1396457258 -3.1943787756293585 treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714741_0.png resize: (99, 65) 1396457260 2.579056753181323 treat image : temp/1764274227_2764469_1396439478_5f6fc33a8c0ca7026e7f88f92bfc240f_rle_crop_4047714747_0.png resize: (64, 84) 1396457261 0.008796362447316585 treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714749_0.png resize: (95, 122) 1396457263 -3.290994703201006 treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714751_0.png resize: (52, 109) 1396457264 -3.8301035654317017 treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714752_0.png resize: (89, 37) 1396457266 -1.6945463410370063 treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714755_0.png resize: (84, 87) 1396457267 -1.846689570132764 treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714754_0.png resize: (95, 85) 1396457269 -1.3774384234095218 treat image : temp/1764274227_2764469_1396439472_bb7649bc4e2feafb3729317ee6e3471c_rle_crop_4047714757_0.png resize: (98, 95) 1396457270 -4.8230282580477475 treat image : temp/1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf_rle_crop_4047714758_0.png resize: (139, 178) 1396457272 -1.13967883054197 treat image : temp/1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf_rle_crop_4047714759_0.png resize: (53, 39) 1396457273 3.7354405771723136 treat image : temp/1764274227_2764469_1396439448_56f7e3321f808588a47fc668df45c4b6_rle_crop_4047714760_0.png resize: (86, 79) 1396457275 -0.5801713606378963 treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714738_0.png resize: (33, 67) 1396457287 -1.3839984105645073 treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714742_0.png resize: (131, 80) 1396457288 -0.8133056179882079 treat image : temp/1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60_rle_crop_4047714743_0.png resize: (102, 128) 1396457290 -2.622103332617008 treat image : temp/1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60_rle_crop_4047714744_0.png resize: (89, 100) 1396457292 -2.222811043980912 treat image : temp/1764274227_2764469_1396439541_d4a0a0dc43089e1bc1bcc7aa7f8a6fe8_rle_crop_4047714745_0.png resize: (69, 44) 1396457321 -0.7218253042054339 treat image : temp/1764274227_2764469_1396439537_a7a14c2f50b5dbd42ef26a3f31d1e92b_rle_crop_4047714746_0.png resize: (534, 357) 1396457322 -0.13357952439936166 treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714753_0.png resize: (63, 133) 1396457323 -3.25569989312039 treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714748_0.png resize: (520, 351) 1396457324 0.19169104927231193 treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714756_0.png resize: (927, 947) 1396457325 0.05433675146830731 treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714750_0.png resize: (410, 162) 1396457326 -1.4465931135516377 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 40 time used for this insertion : 0.04296517372131348 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.04369330406188965 save missing photos in datou_result : time spend for datou_step_exec : 10.523473978042603 time spend to save output : 0.10607695579528809 total time spend for step 6 : 10.62955093383789 step7:brightness Thu Nov 27 21:11:39 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/1764274227_2764469_1396439553_5b6c10160c9eb4fab5ac504351c3b0a7.jpg treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e.jpg treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7.jpg treat image : temp/1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60.jpg treat image : temp/1764274227_2764469_1396439541_d4a0a0dc43089e1bc1bcc7aa7f8a6fe8.jpg treat image : temp/1764274227_2764469_1396439537_a7a14c2f50b5dbd42ef26a3f31d1e92b.jpg treat image : temp/1764274227_2764469_1396439478_5f6fc33a8c0ca7026e7f88f92bfc240f.jpg treat image : temp/1764274227_2764469_1396439477_17e95d2876285da75df93bc9447750c0.jpg treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a.jpg treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172.jpg treat image : temp/1764274227_2764469_1396439472_bb7649bc4e2feafb3729317ee6e3471c.jpg treat image : temp/1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf.jpg treat image : temp/1764274227_2764469_1396439448_56f7e3321f808588a47fc668df45c4b6.jpg treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714736_0.png treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714737_0.png treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714735_0.png treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714739_0.png treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714734_0.png treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714740_0.png treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714741_0.png treat image : temp/1764274227_2764469_1396439478_5f6fc33a8c0ca7026e7f88f92bfc240f_rle_crop_4047714747_0.png treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714749_0.png treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714751_0.png treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714752_0.png treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714755_0.png treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714754_0.png treat image : temp/1764274227_2764469_1396439472_bb7649bc4e2feafb3729317ee6e3471c_rle_crop_4047714757_0.png treat image : temp/1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf_rle_crop_4047714758_0.png treat image : temp/1764274227_2764469_1396439449_054a8c429a6ffa2d5de83b73835b8daf_rle_crop_4047714759_0.png treat image : temp/1764274227_2764469_1396439448_56f7e3321f808588a47fc668df45c4b6_rle_crop_4047714760_0.png treat image : temp/1764274227_2764469_1396439549_7dc479f0bcf5aa87d07b905b83c38d5e_rle_crop_4047714738_0.png treat image : temp/1764274227_2764469_1396439548_50547c1cf8dd5aa6bdb2711daa6471d7_rle_crop_4047714742_0.png treat image : temp/1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60_rle_crop_4047714743_0.png treat image : temp/1764274227_2764469_1396439545_cc5977eb92b7d326ee39997495a35d60_rle_crop_4047714744_0.png treat image : temp/1764274227_2764469_1396439541_d4a0a0dc43089e1bc1bcc7aa7f8a6fe8_rle_crop_4047714745_0.png treat image : temp/1764274227_2764469_1396439537_a7a14c2f50b5dbd42ef26a3f31d1e92b_rle_crop_4047714746_0.png treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714753_0.png treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714748_0.png treat image : temp/1764274227_2764469_1396439473_7513cb82f94353dc73ab7ffba2626172_rle_crop_4047714756_0.png treat image : temp/1764274227_2764469_1396439475_6f8e3cf258b3b59ab0573b6c73e6cc2a_rle_crop_4047714750_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 40 time used for this insertion : 0.042504072189331055 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.0439453125 save missing photos in datou_result : time spend for datou_step_exec : 3.0951685905456543 time spend to save output : 0.10563969612121582 total time spend for step 7 : 3.20080828666687 step8:velours_tree Thu Nov 27 21:11:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.14690113067626953 time spend to save output : 4.4345855712890625e-05 total time spend for step 8 : 0.14694547653198242 step9:send_mail_cod Thu Nov 27 21:11:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P28968116_27-11-2025_21_11_42.pdf 28968339 change filename to text .imagette289683391764274302 28968340 imagette289683401764274302 28968341 imagette289683411764274302 28968342 change filename to text .change filename to text .change filename to text .change filename to text .imagette289683421764274302 28968343 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette289683431764274302 28968345 imagette289683451764274303 28968346 imagette289683461764274303 28968347 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 .imagette289683471764274303 28968348 imagette289683481764274306 28968349 imagette289683491764274306 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28968116 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28968339,28968340,28968341,28968342,28968343,28968344,28968345,28968346,28968347,28968348,28968349?tags=autre,metal,pehd,carton,pet_clair,environnement,background,flou,papier,mal_croppe,pet_fonce args[1396439553] : ((1396439553, -0.048571490166733504, 492688767), (1396439553, 0.7753446530143682, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439549] : ((1396439549, -3.9487492143061838, 492609224), (1396439549, 0.5560608544172159, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439548] : ((1396439548, -0.4633268139296116, 492688767), (1396439548, 0.6875983947948026, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439545] : ((1396439545, -4.0322181454445305, 492609224), (1396439545, 0.34622103010972083, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439541] : ((1396439541, -0.4075506897743265, 492688767), (1396439541, 0.871471563958903, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439537] : ((1396439537, -1.3623191916437383, 492688767), (1396439537, 0.41127562439386495, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439478] : ((1396439478, -0.936653470245441, 492688767), (1396439478, 0.7849460694927324, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439477] : ((1396439477, 1.6958155779122648, 492688767), (1396439477, 1.097325420293249, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439475] : ((1396439475, -4.437569728013313, 492609224), (1396439475, 0.5211701939131652, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439473] : ((1396439473, 0.9733395119943247, 492688767), (1396439473, 0.1897149755522924, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439472] : ((1396439472, -4.147337413770058, 492609224), (1396439472, 0.30659551983426536, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439449] : ((1396439449, 0.18915875729658332, 492688767), (1396439449, 0.5607872113982413, 2107752395), '0.04129440438034188') We are sending mail with results at report@fotonower.com args[1396439448] : ((1396439448, -0.7667343950738995, 492688767), (1396439448, -0.11463893299623173, 496442774), '0.04129440438034188') We are sending mail with results at report@fotonower.com refus_total : 0.04129440438034188 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28968116 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_P28968116_27-11-2025_21_11_42.pdf results_Auto_P28968116_27-11-2025_21_11_42.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28968116_27-11-2025_21_11_42.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','28968116','results_Auto_P28968116_27-11-2025_21_11_42.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28968116_27-11-2025_21_11_42.pdf','pdf','','0.23','0.04129440438034188') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28968116

https://www.fotonower.com/image?json=false&list_photos_id=1396439553
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439549
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439548
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439545
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439541
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439537
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439478
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439477
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6958155779122648)
https://www.fotonower.com/image?json=false&list_photos_id=1396439475
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439473
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439472
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439449
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396439448
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/28968339?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28968342?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28968343?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28968347?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28968116_27-11-2025_21_11_42.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28968339,28968340,28968341,28968342,28968343,28968344,28968345,28968346,28968347,28968348,28968349?tags=autre,metal,pehd,carton,pet_clair,environnement,background,flou,papier,mal_croppe,pet_fonce.


L'équipe Fotonower HTTP Error 401: Unauthorized Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1396439553, 1396439549, 1396439548, 1396439545, 1396439541, 1396439537, 1396439478, 1396439477, 1396439475, 1396439473, 1396439472, 1396439449, 1396439448] 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, '4130308') ('3318', '28968116', '1396439553', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439549', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439548', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439545', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439541', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439537', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439478', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439477', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439475', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439473', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439472', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439449', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439448', None, None, None, None, None, '4130308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.027419567108154297 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.394636869430542 time spend to save output : 0.027716398239135742 total time spend for step 9 : 5.422353267669678 step10:split_time_score Thu Nov 27 21:11:47 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'}] (('19', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27112025 28968116 Nombre de photos uploadées : 13 / 23040 (0%) 27112025 28968116 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 27112025 28968116 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006768703460693359 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.41678833961486816 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.12755787037037034 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28959582_27-11-2025_11_51_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28959582 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`=28959582 AND mptpi.`type`=3594 To do Qualite : 0.04231227494855968 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28959585_27-11-2025_11_41_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28959585 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`=28959585 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28968112 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28968114 order by id desc limit 1 Qualite : 0.04129440438034188 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28968116_27-11-2025_21_11_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28968116 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`=28968116 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27112025': {'nb_upload': 13, '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 [1396439553, 1396439549, 1396439548, 1396439545, 1396439541, 1396439537, 1396439478, 1396439477, 1396439475, 1396439473, 1396439472, 1396439449, 1396439448] Looping around the photos to save general results len do output : 1 /28968116Didn'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, '4130308') ('3318', '28968116', '1396439553', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439549', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439548', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439545', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439541', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439537', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439478', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439477', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439475', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439473', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439472', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439449', None, None, None, None, None, '4130308') ('3318', None, None, None, None, None, None, None, '4130308') ('3318', '28968116', '1396439448', None, None, None, None, None, '4130308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.028571128845214844 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.7010183334350586 time spend to save output : 0.02880382537841797 total time spend for step 10 : 3.7298221588134766 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 36.92user 21.81system 1:27.02elapsed 67%CPU (0avgtext+0avgdata 2789952maxresident)k 513152inputs+14592outputs (244major+1461337minor)pagefaults 0swaps