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 : 3927001 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 : ['3610744'] with mtr_portfolio_ids : ['26258328'] and first list_photo_ids : [] new path : /proc/3927001/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.4874231815338135 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 Wed Aug 27 10:00:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10386 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-27 10:00:33.599358: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-27 10:00:33.624874: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-27 10:00:33.627007: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fbcfc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-27 10:00:33.627059: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-27 10:00:33.631104: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-27 10:00:33.756265: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x26139dc0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-27 10:00:33.756325: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-27 10:00:33.757599: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 10:00:33.758077: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:00:33.761440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:00:33.764179: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 10:00:33.764634: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 10:00:33.767574: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 10:00:33.769072: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 10:00:33.774546: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 10:00:33.776431: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 10:00:33.776557: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:00:33.777587: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 10:00:33.777612: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 10:00:33.777628: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 10:00:33.779192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9477 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-27 10:00:34.090391: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 10:00:34.090501: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:00:34.090532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:00:34.090561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 10:00:34.090588: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 10:00:34.090615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 10:00:34.090641: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 10:00:34.090673: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 10:00:34.092407: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 10:00:34.094115: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 10:00:34.094182: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:00:34.094208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:00:34.094232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 10:00:34.094253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 10:00:34.094276: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 10:00:34.094301: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 10:00:34.094326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 10:00:34.095956: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 10:00:34.096000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 10:00:34.096012: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 10:00:34.096022: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 10:00:34.097744: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9477 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-27 10:00:42.789103: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:00:43.053508: 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 : 19 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 7 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: 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 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: 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: 31.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: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 3 Detection mask done ! Trying to reset tf kernel 3930009 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 521 tf kernel not reseted sub process len(results) : 19 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 19 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 : 5810 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0001285076141357422 nb_pixel_total : 2537 time to create 1 rle with old method : 0.0031774044036865234 length of segment : 37 time for calcul the mask position with numpy : 0.0005910396575927734 nb_pixel_total : 30651 time to create 1 rle with old method : 0.035219430923461914 length of segment : 194 time for calcul the mask position with numpy : 0.0003972053527832031 nb_pixel_total : 19915 time to create 1 rle with old method : 0.025028228759765625 length of segment : 251 time for calcul the mask position with numpy : 0.0001227855682373047 nb_pixel_total : 5162 time to create 1 rle with old method : 0.006018877029418945 length of segment : 131 time for calcul the mask position with numpy : 0.00010991096496582031 nb_pixel_total : 4017 time to create 1 rle with old method : 0.00490880012512207 length of segment : 66 time for calcul the mask position with numpy : 7.82012939453125e-05 nb_pixel_total : 3438 time to create 1 rle with old method : 0.0042188167572021484 length of segment : 48 time for calcul the mask position with numpy : 0.00019478797912597656 nb_pixel_total : 13869 time to create 1 rle with old method : 0.01629805564880371 length of segment : 152 time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 5767 time to create 1 rle with old method : 0.006831169128417969 length of segment : 75 time for calcul the mask position with numpy : 0.00025200843811035156 nb_pixel_total : 12574 time to create 1 rle with old method : 0.014796972274780273 length of segment : 159 time for calcul the mask position with numpy : 0.00038433074951171875 nb_pixel_total : 16319 time to create 1 rle with old method : 0.024043560028076172 length of segment : 160 time for calcul the mask position with numpy : 0.00022602081298828125 nb_pixel_total : 11333 time to create 1 rle with old method : 0.01326298713684082 length of segment : 115 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 3595 time to create 1 rle with old method : 0.004319190979003906 length of segment : 50 time for calcul the mask position with numpy : 0.0711205005645752 nb_pixel_total : 745117 time to create 1 rle with new method : 0.08149862289428711 length of segment : 996 time for calcul the mask position with numpy : 0.00025725364685058594 nb_pixel_total : 13528 time to create 1 rle with old method : 0.015720844268798828 length of segment : 145 time for calcul the mask position with numpy : 0.00026035308837890625 nb_pixel_total : 10690 time to create 1 rle with old method : 0.013835668563842773 length of segment : 180 time for calcul the mask position with numpy : 0.00014495849609375 nb_pixel_total : 4482 time to create 1 rle with old method : 0.005734443664550781 length of segment : 61 time for calcul the mask position with numpy : 0.00032258033752441406 nb_pixel_total : 15817 time to create 1 rle with old method : 0.018373966217041016 length of segment : 207 time for calcul the mask position with numpy : 0.0002579689025878906 nb_pixel_total : 11648 time to create 1 rle with old method : 0.013670206069946289 length of segment : 181 time for calcul the mask position with numpy : 0.0003330707550048828 nb_pixel_total : 19193 time to create 1 rle with old method : 0.022987842559814453 length of segment : 236 time for calcul the mask position with numpy : 0.0003285408020019531 nb_pixel_total : 15439 time to create 1 rle with old method : 0.017635822296142578 length of segment : 221 time for calcul the mask position with numpy : 0.0015859603881835938 nb_pixel_total : 87575 time to create 1 rle with old method : 0.10578107833862305 length of segment : 454 time for calcul the mask position with numpy : 0.00022935867309570312 nb_pixel_total : 13014 time to create 1 rle with old method : 0.015292882919311523 length of segment : 108 time for calcul the mask position with numpy : 0.0014505386352539062 nb_pixel_total : 90427 time to create 1 rle with old method : 0.10253334045410156 length of segment : 571 time for calcul the mask position with numpy : 0.0001125335693359375 nb_pixel_total : 4832 time to create 1 rle with old method : 0.005822658538818359 length of segment : 46 time for calcul the mask position with numpy : 0.0001747608184814453 nb_pixel_total : 10776 time to create 1 rle with old method : 0.013835906982421875 length of segment : 82 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 10844 time to create 1 rle with old method : 0.015201568603515625 length of segment : 126 time for calcul the mask position with numpy : 0.00013518333435058594 nb_pixel_total : 5964 time to create 1 rle with old method : 0.010020256042480469 length of segment : 116 time for calcul the mask position with numpy : 9.72747802734375e-05 nb_pixel_total : 3384 time to create 1 rle with old method : 0.004389047622680664 length of segment : 50 time for calcul the mask position with numpy : 0.0006148815155029297 nb_pixel_total : 32843 time to create 1 rle with old method : 0.04127836227416992 length of segment : 351 time for calcul the mask position with numpy : 0.001737833023071289 nb_pixel_total : 63550 time to create 1 rle with old method : 0.07891464233398438 length of segment : 572 time for calcul the mask position with numpy : 0.00030517578125 nb_pixel_total : 11493 time to create 1 rle with old method : 0.013472795486450195 length of segment : 138 time for calcul the mask position with numpy : 0.017187833786010742 nb_pixel_total : 719923 time to create 1 rle with new method : 0.060654401779174805 length of segment : 992 time for calcul the mask position with numpy : 0.0003223419189453125 nb_pixel_total : 9938 time to create 1 rle with old method : 0.011680126190185547 length of segment : 123 time for calcul the mask position with numpy : 0.0004439353942871094 nb_pixel_total : 10808 time to create 1 rle with old method : 0.012581348419189453 length of segment : 150 time for calcul the mask position with numpy : 0.07679462432861328 nb_pixel_total : 789256 time to create 1 rle with new method : 0.05931520462036133 length of segment : 1104 time spent for convertir_results : 2.5531229972839355 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 35 chid ids of type : 3594 Number RLEs to save : 8648 save missing photos in datou_result : time spend for datou_step_exec : 27.60430383682251 time spend to save output : 14.858401775360107 total time spend for step 1 : 42.46270561218262 step2:crop_condition Wed Aug 27 10:01:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 19 ! batch 1 Loaded 35 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756281674_3927001 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.4884655475616455 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756281677_3927001 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.6048681735992432 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756281690_3927001 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.821035146713257 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 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1379631512, 1379631489, 1379631463, 1379631435, 1379631410, 1379631387, 1379631352, 1379631333, 1379631318, 1379631313, 1379631311, 1379631288, 1379631103, 1379631077, 1379631051, 1379631036, 1379631035, 1379631019, 1379630755] Looping around the photos to save general results len do output : 35 /1379636208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379636502Didn'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, '3610744') ('3318', '26258328', '1379631512', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631489', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631463', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631435', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631410', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631387', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631352', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631333', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631318', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631313', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631311', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631288', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631103', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631077', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631051', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631036', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631035', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631019', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379630755', None, None, None, None, None, '3610744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 124 time used for this insertion : 0.34777069091796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.518263816833496 time spend to save output : 0.3495497703552246 total time spend for step 2 : 23.86781358718872 step3:rle_unique_nms_with_priority Wed Aug 27 10:01:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 35 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.33601832389831543 time for calcul the mask position with numpy : 0.28324055671691895 nb_pixel_total : 2020497 time to create 1 rle with new method : 0.09655547142028809 time for calcul the mask position with numpy : 0.008052587509155273 nb_pixel_total : 19915 time to create 1 rle with old method : 0.022343158721923828 time for calcul the mask position with numpy : 0.00750732421875 nb_pixel_total : 30651 time to create 1 rle with old method : 0.03426790237426758 time for calcul the mask position with numpy : 0.00791311264038086 nb_pixel_total : 2537 time to create 1 rle with old method : 0.0029048919677734375 create new chi : 0.47501325607299805 time to delete rle : 0.03302931785583496 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2044 TO DO : save crop sub photo not yet done ! save time : 0.35983777046203613 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.14715170860290527 time for calcul the mask position with numpy : 0.0671684741973877 nb_pixel_total : 2068438 time to create 1 rle with new method : 0.11718606948852539 time for calcul the mask position with numpy : 0.007964849472045898 nb_pixel_total : 5162 time to create 1 rle with old method : 0.006016731262207031 create new chi : 0.20649266242980957 time to delete rle : 0.00039196014404296875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1342 TO DO : save crop sub photo not yet done ! save time : 1.8180344104766846 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05444669723510742 time for calcul the mask position with numpy : 0.07808518409729004 nb_pixel_total : 2066145 time to create 1 rle with new method : 0.08068251609802246 time for calcul the mask position with numpy : 0.00672149658203125 nb_pixel_total : 3438 time to create 1 rle with old method : 0.005332469940185547 time for calcul the mask position with numpy : 0.006726503372192383 nb_pixel_total : 4017 time to create 1 rle with old method : 0.005753755569458008 create new chi : 0.1938793659210205 time to delete rle : 0.0003838539123535156 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1308 TO DO : save crop sub photo not yet done ! save time : 1.0371131896972656 No data in photo_id : 1379631435 No data in photo_id : 1379631410 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.15575456619262695 time for calcul the mask position with numpy : 0.13631844520568848 nb_pixel_total : 2013738 time to create 1 rle with new method : 0.35204291343688965 time for calcul the mask position with numpy : 0.00692296028137207 nb_pixel_total : 11333 time to create 1 rle with old method : 0.012673139572143555 time for calcul the mask position with numpy : 0.007057905197143555 nb_pixel_total : 16319 time to create 1 rle with old method : 0.01833510398864746 time for calcul the mask position with numpy : 0.006712436676025391 nb_pixel_total : 12574 time to create 1 rle with old method : 0.014037609100341797 time for calcul the mask position with numpy : 0.006724119186401367 nb_pixel_total : 5767 time to create 1 rle with old method : 0.006512165069580078 time for calcul the mask position with numpy : 0.006758213043212891 nb_pixel_total : 13869 time to create 1 rle with old method : 0.015467405319213867 create new chi : 0.6006999015808105 time to delete rle : 0.0004405975341796875 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2402 TO DO : save crop sub photo not yet done ! save time : 0.8680329322814941 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06113266944885254 time for calcul the mask position with numpy : 0.026540040969848633 nb_pixel_total : 1324888 time to create 1 rle with new method : 0.11697888374328613 time for calcul the mask position with numpy : 0.015796899795532227 nb_pixel_total : 745117 time to create 1 rle with new method : 0.04948854446411133 time for calcul the mask position with numpy : 0.008343696594238281 nb_pixel_total : 3595 time to create 1 rle with old method : 0.005959510803222656 create new chi : 0.22380375862121582 time to delete rle : 0.0009615421295166016 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3172 TO DO : save crop sub photo not yet done ! save time : 0.8597216606140137 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08887863159179688 time for calcul the mask position with numpy : 0.09112191200256348 nb_pixel_total : 2044900 time to create 1 rle with new method : 0.1155233383178711 time for calcul the mask position with numpy : 0.007615327835083008 nb_pixel_total : 4482 time to create 1 rle with old method : 0.005174398422241211 time for calcul the mask position with numpy : 0.0076372623443603516 nb_pixel_total : 10690 time to create 1 rle with old method : 0.012064218521118164 time for calcul the mask position with numpy : 0.007757902145385742 nb_pixel_total : 13528 time to create 1 rle with old method : 0.015306472778320312 create new chi : 0.2751469612121582 time to delete rle : 0.0005159378051757812 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1852 TO DO : save crop sub photo not yet done ! save time : 0.6817817687988281 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08739948272705078 time for calcul the mask position with numpy : 0.10547232627868652 nb_pixel_total : 2026942 time to create 1 rle with new method : 0.17781805992126465 time for calcul the mask position with numpy : 0.008302688598632812 nb_pixel_total : 19193 time to create 1 rle with old method : 0.02503347396850586 time for calcul the mask position with numpy : 0.00811147689819336 nb_pixel_total : 11648 time to create 1 rle with old method : 0.013143539428710938 time for calcul the mask position with numpy : 0.008376598358154297 nb_pixel_total : 15817 time to create 1 rle with old method : 0.01788020133972168 create new chi : 0.3778719902038574 time to delete rle : 0.0007038116455078125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2328 TO DO : save crop sub photo not yet done ! save time : 0.3387105464935303 No data in photo_id : 1379631313 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05934786796569824 time for calcul the mask position with numpy : 0.1892085075378418 nb_pixel_total : 1957572 time to create 1 rle with new method : 0.17243194580078125 time for calcul the mask position with numpy : 0.008351802825927734 nb_pixel_total : 13014 time to create 1 rle with old method : 0.01703476905822754 time for calcul the mask position with numpy : 0.00755620002746582 nb_pixel_total : 87575 time to create 1 rle with old method : 0.13301610946655273 time for calcul the mask position with numpy : 0.007673501968383789 nb_pixel_total : 15439 time to create 1 rle with old method : 0.01879286766052246 create new chi : 0.5668988227844238 time to delete rle : 0.00047016143798828125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2646 TO DO : save crop sub photo not yet done ! save time : 0.5267739295959473 No data in photo_id : 1379631288 No data in photo_id : 1379631103 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.06035161018371582 time for calcul the mask position with numpy : 0.09934616088867188 nb_pixel_total : 1967565 time to create 1 rle with new method : 0.08391165733337402 time for calcul the mask position with numpy : 0.006697654724121094 nb_pixel_total : 10776 time to create 1 rle with old method : 0.012211322784423828 time for calcul the mask position with numpy : 0.006802558898925781 nb_pixel_total : 4832 time to create 1 rle with old method : 0.0054590702056884766 time for calcul the mask position with numpy : 0.007550716400146484 nb_pixel_total : 90427 time to create 1 rle with old method : 0.15732884407043457 create new chi : 0.3907630443572998 time to delete rle : 0.0007157325744628906 batch 1 Loaded 7 chid ids of type : 3594 +++++++++Number RLEs to save : 2478 TO DO : save crop sub photo not yet done ! save time : 0.45429420471191406 No data in photo_id : 1379631051 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.38368844985961914 time for calcul the mask position with numpy : 0.09695577621459961 nb_pixel_total : 2053408 time to create 1 rle with new method : 0.36540651321411133 time for calcul the mask position with numpy : 0.006662130355834961 nb_pixel_total : 3384 time to create 1 rle with old method : 0.0038263797760009766 time for calcul the mask position with numpy : 0.010743141174316406 nb_pixel_total : 5964 time to create 1 rle with old method : 0.006750345230102539 time for calcul the mask position with numpy : 0.008491754531860352 nb_pixel_total : 10844 time to create 1 rle with old method : 0.012203454971313477 create new chi : 0.522348165512085 time to delete rle : 0.0003974437713623047 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1664 TO DO : save crop sub photo not yet done ! save time : 0.7431271076202393 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.3592050075531006 time for calcul the mask position with numpy : 0.08662271499633789 nb_pixel_total : 1246410 time to create 1 rle with new method : 0.12679815292358398 time for calcul the mask position with numpy : 0.020679950714111328 nb_pixel_total : 719923 time to create 1 rle with new method : 0.19604921340942383 time for calcul the mask position with numpy : 0.008159399032592773 nb_pixel_total : 11493 time to create 1 rle with old method : 0.012951850891113281 time for calcul the mask position with numpy : 0.009181022644042969 nb_pixel_total : 62931 time to create 1 rle with old method : 0.07640695571899414 time for calcul the mask position with numpy : 0.008029460906982422 nb_pixel_total : 32843 time to create 1 rle with old method : 0.038341522216796875 create new chi : 0.5952911376953125 time to delete rle : 0.000986337661743164 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 5128 TO DO : save crop sub photo not yet done ! save time : 1.4687888622283936 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.0737757682800293 time for calcul the mask position with numpy : 0.017089366912841797 nb_pixel_total : 1263598 time to create 1 rle with new method : 0.13540935516357422 time for calcul the mask position with numpy : 0.017470359802246094 nb_pixel_total : 789256 time to create 1 rle with new method : 0.09154820442199707 time for calcul the mask position with numpy : 0.0068607330322265625 nb_pixel_total : 10808 time to create 1 rle with old method : 0.012198686599731445 time for calcul the mask position with numpy : 0.006932735443115234 nb_pixel_total : 9938 time to create 1 rle with old method : 0.011349916458129883 create new chi : 0.30797576904296875 time to delete rle : 0.0007867813110351562 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 3834 TO DO : save crop sub photo not yet done ! save time : 1.3551490306854248 No data in photo_id : 1379630755 map_output_result : {1379631512: (0.0, 'Should be the crop_list due to order', 0), 1379631489: (0.0, 'Should be the crop_list due to order', 0), 1379631463: (0.0, 'Should be the crop_list due to order', 0), 1379631435: (0.0, 'Should be the crop_list due to order', 0.0), 1379631410: (0.0, 'Should be the crop_list due to order', 0.0), 1379631387: (0.0, 'Should be the crop_list due to order', 0), 1379631352: (0.0, 'Should be the crop_list due to order', 0), 1379631333: (0.0, 'Should be the crop_list due to order', 0), 1379631318: (0.0, 'Should be the crop_list due to order', 0), 1379631313: (0.0, 'Should be the crop_list due to order', 0.0), 1379631311: (0.0, 'Should be the crop_list due to order', 0), 1379631288: (0.0, 'Should be the crop_list due to order', 0.0), 1379631103: (0.0, 'Should be the crop_list due to order', 0.0), 1379631077: (0.0, 'Should be the crop_list due to order', 0), 1379631051: (0.0, 'Should be the crop_list due to order', 0.0), 1379631036: (0.0, 'Should be the crop_list due to order', 0), 1379631035: (0.0, 'Should be the crop_list due to order', 0), 1379631019: (0.0, 'Should be the crop_list due to order', 0), 1379630755: (0.0, 'Should be the crop_list due to order', 0.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 [1379631512, 1379631489, 1379631463, 1379631435, 1379631410, 1379631387, 1379631352, 1379631333, 1379631318, 1379631313, 1379631311, 1379631288, 1379631103, 1379631077, 1379631051, 1379631036, 1379631035, 1379631019, 1379630755] Looping around the photos to save general results len do output : 19 /1379631512.Didn't retrieve data . /1379631489.Didn't retrieve data . /1379631463.Didn't retrieve data . /1379631435.Didn't retrieve data . /1379631410.Didn't retrieve data . /1379631387.Didn't retrieve data . /1379631352.Didn't retrieve data . /1379631333.Didn't retrieve data . /1379631318.Didn't retrieve data . /1379631313.Didn't retrieve data . /1379631311.Didn't retrieve data . /1379631288.Didn't retrieve data . /1379631103.Didn't retrieve data . /1379631077.Didn't retrieve data . /1379631051.Didn't retrieve data . /1379631036.Didn't retrieve data . /1379631035.Didn't retrieve data . /1379631019.Didn't retrieve data . /1379630755.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, '3610744') ('3318', '26258328', '1379631512', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631489', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631463', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631435', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631410', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631387', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631352', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631333', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631318', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631313', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631311', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631288', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631103', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631077', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631051', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631036', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631035', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631019', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379630755', None, None, None, None, None, '3610744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.029078006744384766 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.830092906951904 time spend to save output : 0.06175994873046875 total time spend for step 3 : 17.891852855682373 step4:ventilate_hashtags_in_portfolio Wed Aug 27 10:01:54 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 : 26258328 get user id for portfolio 26258328 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`=26258328 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_fonce','environnement','mal_croppe','metal','flou','background','pehd','carton','papier','pet_clair')) 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`=26258328 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_fonce','environnement','mal_croppe','metal','flou','background','pehd','carton','papier','pet_clair')) 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`=26258328 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_fonce','environnement','mal_croppe','metal','flou','background','pehd','carton','papier','pet_clair')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26258823,26258824,26258825,26258826,26258827,26258828,26258829,26258830,26258831,26258832,26258833?tags=autre,pet_fonce,environnement,mal_croppe,metal,flou,background,pehd,carton,papier,pet_clair Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379631512, 1379631489, 1379631463, 1379631435, 1379631410, 1379631387, 1379631352, 1379631333, 1379631318, 1379631313, 1379631311, 1379631288, 1379631103, 1379631077, 1379631051, 1379631036, 1379631035, 1379631019, 1379630755] Looping around the photos to save general results len do output : 1 /26258328. 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, '3610744') ('3318', '26258328', '1379631512', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631489', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631463', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631435', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631410', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631387', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631352', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631333', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631318', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631313', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631311', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631288', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631103', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631077', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631051', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631036', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631035', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631019', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379630755', None, None, None, None, None, '3610744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.028334617614746094 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8051764965057373 time spend to save output : 0.028873205184936523 total time spend for step 4 : 1.8340497016906738 step5:final Wed Aug 27 10:01:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1379631512: ('0.07180745918615984',), 1379631489: ('0.07180745918615984',), 1379631463: ('0.07180745918615984',), 1379631435: ('0.07180745918615984',), 1379631410: ('0.07180745918615984',), 1379631387: ('0.07180745918615984',), 1379631352: ('0.07180745918615984',), 1379631333: ('0.07180745918615984',), 1379631318: ('0.07180745918615984',), 1379631313: ('0.07180745918615984',), 1379631311: ('0.07180745918615984',), 1379631288: ('0.07180745918615984',), 1379631103: ('0.07180745918615984',), 1379631077: ('0.07180745918615984',), 1379631051: ('0.07180745918615984',), 1379631036: ('0.07180745918615984',), 1379631035: ('0.07180745918615984',), 1379631019: ('0.07180745918615984',), 1379630755: ('0.07180745918615984',)} new output for save of step final : {1379631512: ('0.07180745918615984',), 1379631489: ('0.07180745918615984',), 1379631463: ('0.07180745918615984',), 1379631435: ('0.07180745918615984',), 1379631410: ('0.07180745918615984',), 1379631387: ('0.07180745918615984',), 1379631352: ('0.07180745918615984',), 1379631333: ('0.07180745918615984',), 1379631318: ('0.07180745918615984',), 1379631313: ('0.07180745918615984',), 1379631311: ('0.07180745918615984',), 1379631288: ('0.07180745918615984',), 1379631103: ('0.07180745918615984',), 1379631077: ('0.07180745918615984',), 1379631051: ('0.07180745918615984',), 1379631036: ('0.07180745918615984',), 1379631035: ('0.07180745918615984',), 1379631019: ('0.07180745918615984',), 1379630755: ('0.07180745918615984',)} [1379631512, 1379631489, 1379631463, 1379631435, 1379631410, 1379631387, 1379631352, 1379631333, 1379631318, 1379631313, 1379631311, 1379631288, 1379631103, 1379631077, 1379631051, 1379631036, 1379631035, 1379631019, 1379630755] Looping around the photos to save general results len do output : 19 /1379631512.Didn't retrieve data . /1379631489.Didn't retrieve data . /1379631463.Didn't retrieve data . /1379631435.Didn't retrieve data . /1379631410.Didn't retrieve data . /1379631387.Didn't retrieve data . /1379631352.Didn't retrieve data . /1379631333.Didn't retrieve data . /1379631318.Didn't retrieve data . /1379631313.Didn't retrieve data . /1379631311.Didn't retrieve data . /1379631288.Didn't retrieve data . /1379631103.Didn't retrieve data . /1379631077.Didn't retrieve data . /1379631051.Didn't retrieve data . /1379631036.Didn't retrieve data . /1379631035.Didn't retrieve data . /1379631019.Didn't retrieve data . /1379630755.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, '3610744') ('3318', '26258328', '1379631512', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631489', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631463', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631435', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631410', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631387', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631352', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631333', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631318', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631313', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631311', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631288', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631103', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631077', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631051', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631036', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631035', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631019', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379630755', None, None, None, None, None, '3610744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.022382736206054688 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13606953620910645 time spend to save output : 0.023509502410888672 total time spend for step 5 : 0.15957903861999512 step6:blur_detection Wed Aug 27 10:01:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9.jpg resize: (1080, 1920) 1379631512 -1.6274616268508844 treat image : temp/1756281628_3927001_1379631489_6cbe0499c337387b5ebe43b2d2b5060a.jpg resize: (1080, 1920) 1379631489 -2.152464606740305 treat image : temp/1756281628_3927001_1379631463_b4b7845f71761e103c3f208e6e84c635.jpg resize: (1080, 1920) 1379631463 -2.5150714772882656 treat image : temp/1756281628_3927001_1379631435_295e9587f1d0d379a7b7f32cc5548140.jpg resize: (1080, 1920) 1379631435 -1.038933002745582 treat image : temp/1756281628_3927001_1379631410_98a7626536151f767774692634bf4a41.jpg resize: (1080, 1920) 1379631410 -1.4324069631906027 treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a.jpg resize: (1080, 1920) 1379631387 -3.2068908115846466 treat image : temp/1756281628_3927001_1379631352_416556402b117bdd72661de59fce7880.jpg resize: (1080, 1920) 1379631352 -2.4075287856010323 treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466.jpg resize: (1080, 1920) 1379631333 -2.880083004044936 treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff.jpg resize: (1080, 1920) 1379631318 -2.206572510580364 treat image : temp/1756281628_3927001_1379631313_af2530ab972886aa2f4cdfe7161d9898.jpg resize: (1080, 1920) 1379631313 -1.6664463268673935 treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657.jpg resize: (1080, 1920) 1379631311 -2.565757253470196 treat image : temp/1756281628_3927001_1379631288_6b2cc5414002795c4f648511536fdbcc.jpg resize: (1080, 1920) 1379631288 -3.0322852350693332 treat image : temp/1756281628_3927001_1379631103_e0a1173352ea6886a2f522ad8f814142.jpg resize: (1080, 1920) 1379631103 -2.944965196119815 treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8.jpg resize: (1080, 1920) 1379631077 -2.718707356488188 treat image : temp/1756281628_3927001_1379631051_e1ca697a8e62c283578698772d8e5738.jpg resize: (1080, 1920) 1379631051 -2.331675416288916 treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee.jpg resize: (1080, 1920) 1379631036 -2.404599255690483 treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038.jpg resize: (1080, 1920) 1379631035 -2.0036250200153143 treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958.jpg resize: (1080, 1920) 1379631019 -1.8503327277518766 treat image : temp/1756281628_3927001_1379630755_082041d54bb5f27d3ed4baa792a91ff0.jpg resize: (1080, 1920) 1379630755 -2.277955612383697 treat image : temp/1756281628_3927001_1379631463_b4b7845f71761e103c3f208e6e84c635_rle_crop_3932372387_0.png resize: (66, 93) 1379636208 -2.54252768790357 treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372390_0.png resize: (75, 105) 1379636211 -0.9205804586855237 treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466_rle_crop_3932372397_0.png resize: (180, 120) 1379636212 -1.0065309896430479 treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466_rle_crop_3932372398_0.png resize: (61, 96) 1379636213 -0.1641863572803623 treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff_rle_crop_3932372400_0.png resize: (181, 121) 1379636215 -0.6363046315483243 treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657_rle_crop_3932372402_0.png resize: (219, 113) 1379636217 -1.367526718388359 treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee_rle_crop_3932372409_0.png resize: (116, 70) 1379636218 0.06642388723496252 treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee_rle_crop_3932372410_0.png resize: (50, 88) 1379636221 0.13613606154829438 treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee_rle_crop_3932372408_0.png resize: (126, 109) 1379636234 -0.6406172804418648 treat image : temp/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9_rle_crop_3932372384_0.png resize: (193, 238) 1379636460 -2.030667342464609 treat image : temp/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9_rle_crop_3932372383_0.png resize: (35, 94) 1379636463 -2.5865341168076936 treat image : temp/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9_rle_crop_3932372385_0.png resize: (251, 169) 1379636464 -2.884714146452964 treat image : temp/1756281628_3927001_1379631489_6cbe0499c337387b5ebe43b2d2b5060a_rle_crop_3932372386_0.png resize: (115, 67) 1379636465 -1.879451965852006 treat image : temp/1756281628_3927001_1379631463_b4b7845f71761e103c3f208e6e84c635_rle_crop_3932372388_0.png resize: (48, 82) 1379636467 -3.334349638670534 treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372393_0.png resize: (109, 153) 1379636469 -1.6827548212507433 treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372392_0.png resize: (141, 183) 1379636470 -3.695128440259484 treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372389_0.png resize: (135, 123) 1379636472 -1.971946638298209 treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372391_0.png resize: (159, 130) 1379636474 -4.277429282432987 treat image : temp/1756281628_3927001_1379631352_416556402b117bdd72661de59fce7880_rle_crop_3932372395_0.png resize: (992, 1029) 1379636475 -0.11052738473526791 treat image : temp/1756281628_3927001_1379631352_416556402b117bdd72661de59fce7880_rle_crop_3932372394_0.png resize: (50, 84) 1379636477 -1.5122994602958366 treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466_rle_crop_3932372396_0.png resize: (131, 126) 1379636479 -1.8987836482414766 treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff_rle_crop_3932372401_0.png resize: (234, 128) 1379636480 -1.164625247890925 treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff_rle_crop_3932372399_0.png resize: (207, 111) 1379636481 -3.951055559805851 treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657_rle_crop_3932372404_0.png resize: (108, 145) 1379636484 -4.87307829664069 treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657_rle_crop_3932372403_0.png resize: (439, 325) 1379636485 -0.49923621982351196 treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8_rle_crop_3932372406_0.png resize: (45, 120) 1379636486 1.7208220039420539 treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8_rle_crop_3932372407_0.png resize: (81, 155) 1379636488 0.9233472465754927 treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8_rle_crop_3932372405_0.png resize: (506, 369) 1379636490 -1.443337712094342 treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372414_0.png resize: (990, 963) 1379636491 0.13813154399514146 treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372413_0.png resize: (138, 126) 1379636493 -0.6067502391977296 treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372411_0.png resize: (338, 189) 1379636495 -1.9896137858926803 treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372412_0.png resize: (502, 319) 1379636496 -0.8684070752751948 treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958_rle_crop_3932372417_0.png resize: (980, 1122) 1379636498 -0.3416020734965782 treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958_rle_crop_3932372415_0.png resize: (101, 134) 1379636501 -4.067864358100905 treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958_rle_crop_3932372416_0.png resize: (145, 108) 1379636502 -2.4998762069414906 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 : 54 time used for this insertion : 0.015809059143066406 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 54 time used for this insertion : 0.12725830078125 save missing photos in datou_result : time spend for datou_step_exec : 17.837543725967407 time spend to save output : 0.1487429141998291 total time spend for step 6 : 17.986286640167236 step7:brightness Wed Aug 27 10:02:14 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/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9.jpg treat image : temp/1756281628_3927001_1379631489_6cbe0499c337387b5ebe43b2d2b5060a.jpg treat image : temp/1756281628_3927001_1379631463_b4b7845f71761e103c3f208e6e84c635.jpg treat image : temp/1756281628_3927001_1379631435_295e9587f1d0d379a7b7f32cc5548140.jpg treat image : temp/1756281628_3927001_1379631410_98a7626536151f767774692634bf4a41.jpg treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a.jpg treat image : temp/1756281628_3927001_1379631352_416556402b117bdd72661de59fce7880.jpg treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466.jpg treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff.jpg treat image : temp/1756281628_3927001_1379631313_af2530ab972886aa2f4cdfe7161d9898.jpg treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657.jpg treat image : temp/1756281628_3927001_1379631288_6b2cc5414002795c4f648511536fdbcc.jpg treat image : temp/1756281628_3927001_1379631103_e0a1173352ea6886a2f522ad8f814142.jpg treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8.jpg treat image : temp/1756281628_3927001_1379631051_e1ca697a8e62c283578698772d8e5738.jpg treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee.jpg treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038.jpg treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958.jpg treat image : temp/1756281628_3927001_1379630755_082041d54bb5f27d3ed4baa792a91ff0.jpg treat image : temp/1756281628_3927001_1379631463_b4b7845f71761e103c3f208e6e84c635_rle_crop_3932372387_0.png treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372390_0.png treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466_rle_crop_3932372397_0.png treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466_rle_crop_3932372398_0.png treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff_rle_crop_3932372400_0.png treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657_rle_crop_3932372402_0.png treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee_rle_crop_3932372409_0.png treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee_rle_crop_3932372410_0.png treat image : temp/1756281628_3927001_1379631036_82ce90b710a498328bfa9c49b54071ee_rle_crop_3932372408_0.png treat image : temp/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9_rle_crop_3932372384_0.png treat image : temp/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9_rle_crop_3932372383_0.png treat image : temp/1756281628_3927001_1379631512_1842e963ecadf565e76fbf49f2d5b9d9_rle_crop_3932372385_0.png treat image : temp/1756281628_3927001_1379631489_6cbe0499c337387b5ebe43b2d2b5060a_rle_crop_3932372386_0.png treat image : temp/1756281628_3927001_1379631463_b4b7845f71761e103c3f208e6e84c635_rle_crop_3932372388_0.png treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372393_0.png treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372392_0.png treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372389_0.png treat image : temp/1756281628_3927001_1379631387_61833b8a071487dab247a705dd5d4c8a_rle_crop_3932372391_0.png treat image : temp/1756281628_3927001_1379631352_416556402b117bdd72661de59fce7880_rle_crop_3932372395_0.png treat image : temp/1756281628_3927001_1379631352_416556402b117bdd72661de59fce7880_rle_crop_3932372394_0.png treat image : temp/1756281628_3927001_1379631333_77f3b24fb922afaa3900a68a8aed1466_rle_crop_3932372396_0.png treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff_rle_crop_3932372401_0.png treat image : temp/1756281628_3927001_1379631318_16d13f81abbd24d4ab54fddf2bd8afff_rle_crop_3932372399_0.png treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657_rle_crop_3932372404_0.png treat image : temp/1756281628_3927001_1379631311_dffdf8f27c1f2cefb0305641fdc31657_rle_crop_3932372403_0.png treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8_rle_crop_3932372406_0.png treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8_rle_crop_3932372407_0.png treat image : temp/1756281628_3927001_1379631077_3f7fb93524b67d3f734d11a519a3c5f8_rle_crop_3932372405_0.png treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372414_0.png treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372413_0.png treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372411_0.png treat image : temp/1756281628_3927001_1379631035_259ed731d277a579562dbe70bc742038_rle_crop_3932372412_0.png treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958_rle_crop_3932372417_0.png treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958_rle_crop_3932372415_0.png treat image : temp/1756281628_3927001_1379631019_9bca9aa67ac537a4010fe7c378131958_rle_crop_3932372416_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 : 54 time used for this insertion : 0.01704120635986328 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 54 time used for this insertion : 0.15789294242858887 save missing photos in datou_result : time spend for datou_step_exec : 4.815011024475098 time spend to save output : 0.1799471378326416 total time spend for step 7 : 4.994958162307739 step8:velours_tree Wed Aug 27 10:02:19 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.9499466419219971 time spend to save output : 5.817413330078125e-05 total time spend for step 8 : 0.9500048160552979 step9:send_mail_cod Wed Aug 27 10:02:20 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_P26258328_27-08-2025_10_02_20.pdf 26258823 imagette262588231756281740 26258824 imagette262588241756281740 26258826 imagette262588261756281740 26258827 imagette262588271756281740 26258828 imagette262588281756281740 26258829 imagette262588291756281740 26258830 imagette262588301756281740 26258831 change filename to text .imagette262588311756281740 26258832 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 .imagette262588321756281740 26258833 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette262588331756281741 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26258328 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26258823,26258824,26258825,26258826,26258827,26258828,26258829,26258830,26258831,26258832,26258833?tags=autre,pet_fonce,environnement,mal_croppe,metal,flou,background,pehd,carton,papier,pet_clair args[1379631512] : ((1379631512, -1.6274616268508844, 492688767), (1379631512, 0.37090401880365553, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631489] : ((1379631489, -2.152464606740305, 492609224), (1379631489, 0.4317646200482041, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631463] : ((1379631463, -2.5150714772882656, 492609224), (1379631463, 0.34045454174262363, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631435] : ((1379631435, -1.038933002745582, 492688767), (1379631435, 0.5660488608148793, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631410] : ((1379631410, -1.4324069631906027, 492688767), (1379631410, 0.5247572464565659, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631387] : ((1379631387, -3.2068908115846466, 492609224), (1379631387, 0.5085514116255804, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631352] : ((1379631352, -2.4075287856010323, 492609224), (1379631352, 0.6666811275491974, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631333] : ((1379631333, -2.880083004044936, 492609224), (1379631333, 0.5647405637826785, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631318] : ((1379631318, -2.206572510580364, 492609224), (1379631318, 0.6557885721833804, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631313] : ((1379631313, -1.6664463268673935, 492688767), (1379631313, 0.4955061358345386, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631311] : ((1379631311, -2.565757253470196, 492609224), (1379631311, 0.6078330167031577, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631288] : ((1379631288, -3.0322852350693332, 492609224), (1379631288, 0.4274339156021983, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631103] : ((1379631103, -2.944965196119815, 492609224), (1379631103, 0.765464966947941, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631077] : ((1379631077, -2.718707356488188, 492609224), (1379631077, 0.7893581433346073, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631051] : ((1379631051, -2.331675416288916, 492609224), (1379631051, 0.4563642124216664, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631036] : ((1379631036, -2.404599255690483, 492609224), (1379631036, 0.4295325118793046, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631035] : ((1379631035, -2.0036250200153143, 492609224), (1379631035, 0.52108662514957, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379631019] : ((1379631019, -1.8503327277518766, 492688767), (1379631019, 0.600659801606057, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com args[1379630755] : ((1379630755, -2.277955612383697, 492609224), (1379630755, 0.5613313400784066, 2107752395), '0.07180745918615984') We are sending mail with results at report@fotonower.com refus_total : 0.07180745918615984 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26258328 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_P26258328_27-08-2025_10_02_20.pdf results_Auto_P26258328_27-08-2025_10_02_20.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258328_27-08-2025_10_02_20.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','26258328','results_Auto_P26258328_27-08-2025_10_02_20.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258328_27-08-2025_10_02_20.pdf','pdf','','0.4','0.07180745918615984') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26258328

https://www.fotonower.com/image?json=false&list_photos_id=1379631512
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631489
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631463
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631435
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631410
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631387
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631352
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631333
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631318
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631313
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631311
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631288
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631103
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631077
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631051
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631036
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631035
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631019
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379630755
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26258831?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26258832?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26258833?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258328_27-08-2025_10_02_20.pdf.

Lien vers velours :https://www.fotonower.com/velours/26258823,26258824,26258825,26258826,26258827,26258828,26258829,26258830,26258831,26258832,26258833?tags=autre,pet_fonce,environnement,mal_croppe,metal,flou,background,pehd,carton,papier,pet_clair.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 27 Aug 2025 08:02:24 GMT Content-Length: 0 Connection: close X-Message-Id: Uvk13DLhQEm-1Bu44GoGww Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379631512, 1379631489, 1379631463, 1379631435, 1379631410, 1379631387, 1379631352, 1379631333, 1379631318, 1379631313, 1379631311, 1379631288, 1379631103, 1379631077, 1379631051, 1379631036, 1379631035, 1379631019, 1379630755] 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, '3610744') ('3318', '26258328', '1379631512', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631489', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631463', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631435', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631410', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631387', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631352', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631333', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631318', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631313', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631311', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631288', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631103', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631077', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631051', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631036', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631035', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631019', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379630755', None, None, None, None, None, '3610744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.1466832160949707 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.201845645904541 time spend to save output : 0.14704227447509766 total time spend for step 9 : 4.348887920379639 step10:split_time_score Wed Aug 27 10:02:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 19),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27082025 26258328 Nombre de photos uploadées : 19 / 23040 (0%) 27082025 26258328 Nombre de photos taguées (types de déchets): 0 / 19 (0%) 27082025 26258328 Nombre de photos taguées (volume) : 0 / 19 (0%) elapsed_time : load_data_split_time_score 5.4836273193359375e-06 elapsed_time : order_list_meta_photo_and_scores 1.52587890625e-05 ??????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0037641525268554688 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2201073169708252 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.062204378858024684 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26256001_27-08-2025_09_32_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26256001 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`=26256001 AND mptpi.`type`=3594 To do Qualite : 0.07180745918615984 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258328_27-08-2025_10_02_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258328 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`=26258328 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258329 order by id desc limit 1 Qualite : 0.07669382122507122 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258331_27-08-2025_09_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258331 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`=26258331 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27082025': {'nb_upload': 19, '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 [1379631512, 1379631489, 1379631463, 1379631435, 1379631410, 1379631387, 1379631352, 1379631333, 1379631318, 1379631313, 1379631311, 1379631288, 1379631103, 1379631077, 1379631051, 1379631036, 1379631035, 1379631019, 1379630755] Looping around the photos to save general results len do output : 1 /26258328Didn'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, '3610744') ('3318', '26258328', '1379631512', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631489', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631463', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631435', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631410', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631387', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631352', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631333', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631318', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631313', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631311', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631288', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631103', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631077', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631051', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631036', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631035', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379631019', None, None, None, None, None, '3610744') ('3318', None, None, None, None, None, None, None, '3610744') ('3318', '26258328', '1379630755', None, None, None, None, None, '3610744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08429527282714844 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6726484298706055 time spend to save output : 0.08483123779296875 total time spend for step 10 : 1.7574796676635742 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 59.64user 23.53system 2:02.07elapsed 68%CPU (0avgtext+0avgdata 2926532maxresident)k 653048inputs+27664outputs (8778major+1787863minor)pagefaults 0swaps