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 : 3262259 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 : ['3471716'] with mtr_portfolio_ids : ['25764707'] and first list_photo_ids : [] new path : /proc/3262259/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.4236457347869873 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Aug 7 07:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 7549 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-07 07:50:32.461515: 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-07 07:50:32.487411: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-07 07:50:32.489685: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd97c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-07 07:50:32.489713: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-07 07:50:32.494212: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-07 07:50:32.641634: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2df953d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-07 07:50:32.641680: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-07 07:50:32.642418: 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-07 07:50:32.642753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 07:50:32.644772: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 07:50:32.646794: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 07:50:32.647108: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 07:50:32.649311: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 07:50:32.650325: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 07:50:32.654655: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 07:50:32.656113: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 07:50:32.656195: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 07:50:32.657077: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 07:50:32.657094: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 07:50:32.657103: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 07:50:32.658513: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-07 07:50:32.922233: 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-07 07:50:32.922363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 07:50:32.922392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 07:50:32.922417: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 07:50:32.922442: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 07:50:32.922466: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 07:50:32.922490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 07:50:32.922514: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 07:50:32.924649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 07:50:32.925921: 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-07 07:50:32.925951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 07:50:32.925965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 07:50:32.925977: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 07:50:32.925990: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 07:50:32.926002: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 07:50:32.926015: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 07:50:32.926028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 07:50:32.927205: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 07:50:32.927241: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 07:50:32.927250: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 07:50:32.927257: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 07:50:32.928586: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-07 07:50:40.466535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 07:50:40.635152: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 12 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: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 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 : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 Detection mask done ! Trying to reset tf kernel 3262767 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5665 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10957 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.00033164024353027344 nb_pixel_total : 12008 time to create 1 rle with old method : 0.013912677764892578 length of segment : 123 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 7635 time to create 1 rle with old method : 0.008188009262084961 length of segment : 126 time for calcul the mask position with numpy : 0.0002579689025878906 nb_pixel_total : 12431 time to create 1 rle with old method : 0.013577461242675781 length of segment : 139 time for calcul the mask position with numpy : 0.00015020370483398438 nb_pixel_total : 9808 time to create 1 rle with old method : 0.010789155960083008 length of segment : 118 time for calcul the mask position with numpy : 0.0002696514129638672 nb_pixel_total : 17324 time to create 1 rle with old method : 0.01901984214782715 length of segment : 168 time for calcul the mask position with numpy : 0.0001285076141357422 nb_pixel_total : 8530 time to create 1 rle with old method : 0.009450674057006836 length of segment : 86 time for calcul the mask position with numpy : 5.650520324707031e-05 nb_pixel_total : 1917 time to create 1 rle with old method : 0.0022232532501220703 length of segment : 57 time for calcul the mask position with numpy : 0.00016951560974121094 nb_pixel_total : 7885 time to create 1 rle with old method : 0.00880122184753418 length of segment : 114 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 6311 time to create 1 rle with old method : 0.007100820541381836 length of segment : 88 time for calcul the mask position with numpy : 0.0015540122985839844 nb_pixel_total : 106081 time to create 1 rle with old method : 0.11365604400634766 length of segment : 497 time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 5727 time to create 1 rle with old method : 0.006327152252197266 length of segment : 103 time for calcul the mask position with numpy : 7.510185241699219e-05 nb_pixel_total : 3622 time to create 1 rle with old method : 0.004137516021728516 length of segment : 51 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 13306 time to create 1 rle with old method : 0.014627695083618164 length of segment : 137 time for calcul the mask position with numpy : 0.00012731552124023438 nb_pixel_total : 7721 time to create 1 rle with old method : 0.008661508560180664 length of segment : 124 time for calcul the mask position with numpy : 0.000110626220703125 nb_pixel_total : 3785 time to create 1 rle with old method : 0.0044879913330078125 length of segment : 105 time for calcul the mask position with numpy : 0.00017213821411132812 nb_pixel_total : 8821 time to create 1 rle with old method : 0.009689092636108398 length of segment : 183 time for calcul the mask position with numpy : 0.0001678466796875 nb_pixel_total : 10073 time to create 1 rle with old method : 0.011191606521606445 length of segment : 132 time for calcul the mask position with numpy : 0.0007579326629638672 nb_pixel_total : 51892 time to create 1 rle with old method : 0.0562434196472168 length of segment : 323 time for calcul the mask position with numpy : 0.0001285076141357422 nb_pixel_total : 7892 time to create 1 rle with old method : 0.008619546890258789 length of segment : 107 time for calcul the mask position with numpy : 0.0001747608184814453 nb_pixel_total : 11148 time to create 1 rle with old method : 0.012621641159057617 length of segment : 139 time for calcul the mask position with numpy : 0.00018358230590820312 nb_pixel_total : 13047 time to create 1 rle with old method : 0.01410531997680664 length of segment : 148 time for calcul the mask position with numpy : 0.00015354156494140625 nb_pixel_total : 10691 time to create 1 rle with old method : 0.011860847473144531 length of segment : 131 time for calcul the mask position with numpy : 0.002010822296142578 nb_pixel_total : 125267 time to create 1 rle with old method : 0.16310405731201172 length of segment : 613 time for calcul the mask position with numpy : 0.019185304641723633 nb_pixel_total : 972335 time to create 1 rle with new method : 0.07706975936889648 length of segment : 1374 time for calcul the mask position with numpy : 0.0009434223175048828 nb_pixel_total : 26860 time to create 1 rle with old method : 0.02882981300354004 length of segment : 333 time for calcul the mask position with numpy : 0.00020837783813476562 nb_pixel_total : 11492 time to create 1 rle with old method : 0.012812376022338867 length of segment : 124 time for calcul the mask position with numpy : 0.0020818710327148438 nb_pixel_total : 105728 time to create 1 rle with old method : 0.11310720443725586 length of segment : 543 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 2045 time to create 1 rle with old method : 0.002424955368041992 length of segment : 63 time for calcul the mask position with numpy : 0.0002682209014892578 nb_pixel_total : 12921 time to create 1 rle with old method : 0.014868497848510742 length of segment : 142 time for calcul the mask position with numpy : 0.0003769397735595703 nb_pixel_total : 15627 time to create 1 rle with old method : 0.017126083374023438 length of segment : 238 time for calcul the mask position with numpy : 9.560585021972656e-05 nb_pixel_total : 4569 time to create 1 rle with old method : 0.005127906799316406 length of segment : 73 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 15211 time to create 1 rle with old method : 0.01717662811279297 length of segment : 143 time for calcul the mask position with numpy : 0.00016927719116210938 nb_pixel_total : 6545 time to create 1 rle with old method : 0.0074100494384765625 length of segment : 164 time for calcul the mask position with numpy : 0.00019621849060058594 nb_pixel_total : 7556 time to create 1 rle with old method : 0.008445501327514648 length of segment : 144 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 5140 time to create 1 rle with old method : 0.0057947635650634766 length of segment : 162 time for calcul the mask position with numpy : 0.010102987289428711 nb_pixel_total : 777034 time to create 1 rle with new method : 0.09226441383361816 length of segment : 1000 time for calcul the mask position with numpy : 0.0003783702850341797 nb_pixel_total : 24389 time to create 1 rle with old method : 0.026572227478027344 length of segment : 222 time for calcul the mask position with numpy : 0.0002446174621582031 nb_pixel_total : 5872 time to create 1 rle with old method : 0.006963253021240234 length of segment : 85 time for calcul the mask position with numpy : 0.00033783912658691406 nb_pixel_total : 10867 time to create 1 rle with old method : 0.012452840805053711 length of segment : 104 time for calcul the mask position with numpy : 0.002275228500366211 nb_pixel_total : 109360 time to create 1 rle with old method : 0.11619377136230469 length of segment : 555 time for calcul the mask position with numpy : 0.00034356117248535156 nb_pixel_total : 15806 time to create 1 rle with old method : 0.0179750919342041 length of segment : 148 time for calcul the mask position with numpy : 0.0002143383026123047 nb_pixel_total : 5900 time to create 1 rle with old method : 0.00673675537109375 length of segment : 87 time for calcul the mask position with numpy : 0.00012874603271484375 nb_pixel_total : 3101 time to create 1 rle with old method : 0.0035800933837890625 length of segment : 67 time for calcul the mask position with numpy : 0.0001900196075439453 nb_pixel_total : 11919 time to create 1 rle with old method : 0.01301264762878418 length of segment : 140 time for calcul the mask position with numpy : 0.0002472400665283203 nb_pixel_total : 5476 time to create 1 rle with old method : 0.0059010982513427734 length of segment : 135 time for calcul the mask position with numpy : 0.00022411346435546875 nb_pixel_total : 10792 time to create 1 rle with old method : 0.01187896728515625 length of segment : 93 time for calcul the mask position with numpy : 0.00024080276489257812 nb_pixel_total : 10550 time to create 1 rle with old method : 0.011956214904785156 length of segment : 87 time for calcul the mask position with numpy : 0.000186920166015625 nb_pixel_total : 4890 time to create 1 rle with old method : 0.005524873733520508 length of segment : 72 time for calcul the mask position with numpy : 0.011966466903686523 nb_pixel_total : 796765 time to create 1 rle with new method : 0.053229331970214844 length of segment : 1023 time spent for convertir_results : 3.097586154937744 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 49 chid ids of type : 3594 Number RLEs to save : 11133 save missing photos in datou_result : time spend for datou_step_exec : 25.21586012840271 time spend to save output : 1.341625452041626 total time spend for step 1 : 26.557485580444336 step2:crop_condition Thu Aug 7 07:50:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 11 ! batch 1 Loaded 49 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 22 About to insert : list_path_to_insert length 22 new photo from crops ! About to upload 22 photos upload in portfolio : 3736932 init cache_photo without model_param we have 22 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754545858_3262259 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 22 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.578908443450928 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754545864_3262259 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.7797560691833496 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 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/1754545866_3262259 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.7703611850738525 we have finished the crop for the class : metal 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 ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754545878_3262259 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 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.570944547653198 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754545883_3262259 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 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6997745037078857 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1375576527, 1375576525, 1375576522, 1375576515, 1375576509, 1375576506, 1375576404, 1375576394, 1375576393, 1375576390, 1375576386] Looping around the photos to save general results len do output : 49 /1375581176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375581421Didn'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, '3471716') ('3318', '25764707', '1375576527', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576525', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576522', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576515', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576509', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576506', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576404', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576394', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576393', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576390', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576386', None, None, None, None, None, '3471716') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 158 time used for this insertion : 0.7451841831207275 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.87584638595581 time spend to save output : 0.7474431991577148 total time spend for step 2 : 29.623289585113525 step3:rle_unique_nms_with_priority Thu Aug 7 07:51:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 49 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.7848358154296875 time for calcul the mask position with numpy : 0.2390284538269043 nb_pixel_total : 2031718 time to create 1 rle with new method : 0.20551490783691406 time for calcul the mask position with numpy : 0.0062677860260009766 nb_pixel_total : 9808 time to create 1 rle with old method : 0.010673284530639648 time for calcul the mask position with numpy : 0.006268024444580078 nb_pixel_total : 12431 time to create 1 rle with old method : 0.013752937316894531 time for calcul the mask position with numpy : 0.006074190139770508 nb_pixel_total : 7635 time to create 1 rle with old method : 0.008479595184326172 time for calcul the mask position with numpy : 0.006153106689453125 nb_pixel_total : 12008 time to create 1 rle with old method : 0.017779111862182617 create new chi : 0.5296883583068848 time to delete rle : 0.0226595401763916 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2092 TO DO : save crop sub photo not yet done ! save time : 0.25573039054870605 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.33933329582214355 time for calcul the mask position with numpy : 0.06843042373657227 nb_pixel_total : 2037944 time to create 1 rle with new method : 0.1690235137939453 time for calcul the mask position with numpy : 0.006506681442260742 nb_pixel_total : 7885 time to create 1 rle with old method : 0.00876164436340332 time for calcul the mask position with numpy : 0.006015777587890625 nb_pixel_total : 1917 time to create 1 rle with old method : 0.002192974090576172 time for calcul the mask position with numpy : 0.005854129791259766 nb_pixel_total : 8530 time to create 1 rle with old method : 0.009324312210083008 time for calcul the mask position with numpy : 0.005913734436035156 nb_pixel_total : 17324 time to create 1 rle with old method : 0.018997669219970703 create new chi : 0.31157684326171875 time to delete rle : 0.00030922889709472656 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1930 TO DO : save crop sub photo not yet done ! save time : 0.2117018699645996 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 0.3427252769470215 time for calcul the mask position with numpy : 0.15681147575378418 nb_pixel_total : 1927047 time to create 1 rle with new method : 0.18935656547546387 time for calcul the mask position with numpy : 0.006318330764770508 nb_pixel_total : 3785 time to create 1 rle with old method : 0.004117488861083984 time for calcul the mask position with numpy : 0.006273508071899414 nb_pixel_total : 7721 time to create 1 rle with old method : 0.00853419303894043 time for calcul the mask position with numpy : 0.005872964859008789 nb_pixel_total : 13306 time to create 1 rle with old method : 0.014555931091308594 time for calcul the mask position with numpy : 0.0057201385498046875 nb_pixel_total : 3622 time to create 1 rle with old method : 0.004029035568237305 time for calcul the mask position with numpy : 0.005743741989135742 nb_pixel_total : 5727 time to create 1 rle with old method : 0.0064961910247802734 time for calcul the mask position with numpy : 0.006340503692626953 nb_pixel_total : 106081 time to create 1 rle with old method : 0.11429262161254883 time for calcul the mask position with numpy : 0.006226062774658203 nb_pixel_total : 6311 time to create 1 rle with old method : 0.007081747055053711 create new chi : 0.5579190254211426 time to delete rle : 0.0006246566772460938 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 3290 TO DO : save crop sub photo not yet done ! save time : 0.4559140205383301 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.060500144958496094 time for calcul the mask position with numpy : 0.02472209930419922 nb_pixel_total : 1994922 time to create 1 rle with new method : 0.06034445762634277 time for calcul the mask position with numpy : 0.0063323974609375 nb_pixel_total : 7892 time to create 1 rle with old method : 0.009133100509643555 time for calcul the mask position with numpy : 0.0066013336181640625 nb_pixel_total : 51892 time to create 1 rle with old method : 0.0579226016998291 time for calcul the mask position with numpy : 0.006071805953979492 nb_pixel_total : 10073 time to create 1 rle with old method : 0.01106405258178711 time for calcul the mask position with numpy : 0.005936622619628906 nb_pixel_total : 8821 time to create 1 rle with old method : 0.009685993194580078 create new chi : 0.19826030731201172 time to delete rle : 0.0004088878631591797 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2570 TO DO : save crop sub photo not yet done ! save time : 0.3145451545715332 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.1811058521270752 time for calcul the mask position with numpy : 0.03440093994140625 nb_pixel_total : 969932 time to create 1 rle with new method : 0.244492769241333 time for calcul the mask position with numpy : 0.013382911682128906 nb_pixel_total : 953927 time to create 1 rle with new method : 0.09241724014282227 time for calcul the mask position with numpy : 0.007636070251464844 nb_pixel_total : 125267 time to create 1 rle with old method : 0.15123319625854492 time for calcul the mask position with numpy : 0.010158300399780273 nb_pixel_total : 279 time to create 1 rle with old method : 0.0004107952117919922 time for calcul the mask position with numpy : 0.009861469268798828 nb_pixel_total : 13047 time to create 1 rle with old method : 0.014235496520996094 time for calcul the mask position with numpy : 0.006218910217285156 nb_pixel_total : 11148 time to create 1 rle with old method : 0.012547969818115234 create new chi : 0.6153209209442139 time to delete rle : 0.0007927417755126953 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 5727 TO DO : save crop sub photo not yet done ! save time : 0.5089433193206787 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0809638500213623 time for calcul the mask position with numpy : 0.0189666748046875 nb_pixel_total : 2035248 time to create 1 rle with new method : 0.10145092010498047 time for calcul the mask position with numpy : 0.005780935287475586 nb_pixel_total : 11492 time to create 1 rle with old method : 0.012192726135253906 time for calcul the mask position with numpy : 0.006064176559448242 nb_pixel_total : 26860 time to create 1 rle with old method : 0.028569459915161133 create new chi : 0.1733248233795166 time to delete rle : 0.0002765655517578125 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1994 TO DO : save crop sub photo not yet done ! save time : 0.2136094570159912 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.24152159690856934 time for calcul the mask position with numpy : 0.06737565994262695 nb_pixel_total : 1965827 time to create 1 rle with new method : 0.13166046142578125 time for calcul the mask position with numpy : 0.005800962448120117 nb_pixel_total : 2045 time to create 1 rle with old method : 0.0021903514862060547 time for calcul the mask position with numpy : 0.006127595901489258 nb_pixel_total : 105728 time to create 1 rle with old method : 0.1104891300201416 create new chi : 0.33368468284606934 time to delete rle : 0.00032830238342285156 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2292 TO DO : save crop sub photo not yet done ! save time : 0.1864931583404541 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03928351402282715 time for calcul the mask position with numpy : 0.11681079864501953 nb_pixel_total : 2045052 time to create 1 rle with new method : 0.08476400375366211 time for calcul the mask position with numpy : 0.005922794342041016 nb_pixel_total : 15627 time to create 1 rle with old method : 0.01688385009765625 time for calcul the mask position with numpy : 0.005868196487426758 nb_pixel_total : 12921 time to create 1 rle with old method : 0.014158487319946289 create new chi : 0.25458621978759766 time to delete rle : 0.0003294944763183594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1840 TO DO : save crop sub photo not yet done ! save time : 0.21871685981750488 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.34615349769592285 time for calcul the mask position with numpy : 0.11812758445739746 nb_pixel_total : 1233156 time to create 1 rle with new method : 0.0914602279663086 time for calcul the mask position with numpy : 0.006108760833740234 nb_pixel_total : 24389 time to create 1 rle with old method : 0.026337385177612305 time for calcul the mask position with numpy : 0.01114797592163086 nb_pixel_total : 777034 time to create 1 rle with new method : 0.18365859985351562 time for calcul the mask position with numpy : 0.009569168090820312 nb_pixel_total : 5140 time to create 1 rle with old method : 0.00558781623840332 time for calcul the mask position with numpy : 0.009771108627319336 nb_pixel_total : 7556 time to create 1 rle with old method : 0.008073806762695312 time for calcul the mask position with numpy : 0.009793758392333984 nb_pixel_total : 6545 time to create 1 rle with old method : 0.0072748661041259766 time for calcul the mask position with numpy : 0.008846044540405273 nb_pixel_total : 15211 time to create 1 rle with old method : 0.016466856002807617 time for calcul the mask position with numpy : 0.008969306945800781 nb_pixel_total : 4569 time to create 1 rle with old method : 0.004952192306518555 create new chi : 0.5356638431549072 time to delete rle : 0.0009980201721191406 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++Number RLEs to save : 4896 TO DO : save crop sub photo not yet done ! save time : 0.4089210033416748 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 0.1146860122680664 time for calcul the mask position with numpy : 0.1744248867034912 nb_pixel_total : 1894507 time to create 1 rle with new method : 0.08881330490112305 time for calcul the mask position with numpy : 0.005949974060058594 nb_pixel_total : 10792 time to create 1 rle with old method : 0.011975765228271484 time for calcul the mask position with numpy : 0.006896018981933594 nb_pixel_total : 5476 time to create 1 rle with old method : 0.006096363067626953 time for calcul the mask position with numpy : 0.00577235221862793 nb_pixel_total : 11919 time to create 1 rle with old method : 0.012792348861694336 time for calcul the mask position with numpy : 0.005921363830566406 nb_pixel_total : 3101 time to create 1 rle with old method : 0.003443002700805664 time for calcul the mask position with numpy : 0.005627632141113281 nb_pixel_total : 5900 time to create 1 rle with old method : 0.006369113922119141 time for calcul the mask position with numpy : 0.0056836605072021484 nb_pixel_total : 15806 time to create 1 rle with old method : 0.017040014266967773 time for calcul the mask position with numpy : 0.0064771175384521484 nb_pixel_total : 109360 time to create 1 rle with old method : 0.11630487442016602 time for calcul the mask position with numpy : 0.006522178649902344 nb_pixel_total : 10867 time to create 1 rle with old method : 0.011582374572753906 time for calcul the mask position with numpy : 0.006394624710083008 nb_pixel_total : 5872 time to create 1 rle with old method : 0.006681919097900391 create new chi : 0.5222432613372803 time to delete rle : 0.0005884170532226562 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 3908 TO DO : save crop sub photo not yet done ! save time : 0.38953113555908203 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05225372314453125 time for calcul the mask position with numpy : 0.013930797576904297 nb_pixel_total : 1261395 time to create 1 rle with new method : 0.028487682342529297 time for calcul the mask position with numpy : 0.014116525650024414 nb_pixel_total : 796765 time to create 1 rle with new method : 0.027056455612182617 time for calcul the mask position with numpy : 0.005639076232910156 nb_pixel_total : 4890 time to create 1 rle with old method : 0.005240440368652344 time for calcul the mask position with numpy : 0.00561833381652832 nb_pixel_total : 10550 time to create 1 rle with old method : 0.011298179626464844 create new chi : 0.11185288429260254 time to delete rle : 0.0004711151123046875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3444 TO DO : save crop sub photo not yet done ! save time : 0.47136735916137695 map_output_result : {1375576527: (0.0, 'Should be the crop_list due to order', 0), 1375576525: (0.0, 'Should be the crop_list due to order', 0), 1375576522: (0.0, 'Should be the crop_list due to order', 0), 1375576515: (0.0, 'Should be the crop_list due to order', 0), 1375576509: (0.0, 'Should be the crop_list due to order', 0), 1375576506: (0.0, 'Should be the crop_list due to order', 0), 1375576404: (0.0, 'Should be the crop_list due to order', 0), 1375576394: (0.0, 'Should be the crop_list due to order', 0), 1375576393: (0.0, 'Should be the crop_list due to order', 0), 1375576390: (0.0, 'Should be the crop_list due to order', 0), 1375576386: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1375576527, 1375576525, 1375576522, 1375576515, 1375576509, 1375576506, 1375576404, 1375576394, 1375576393, 1375576390, 1375576386] Looping around the photos to save general results len do output : 11 /1375576527.Didn't retrieve data . /1375576525.Didn't retrieve data . /1375576522.Didn't retrieve data . /1375576515.Didn't retrieve data . /1375576509.Didn't retrieve data . /1375576506.Didn't retrieve data . /1375576404.Didn't retrieve data . /1375576394.Didn't retrieve data . /1375576393.Didn't retrieve data . /1375576390.Didn't retrieve data . /1375576386.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, '3471716') ('3318', '25764707', '1375576527', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576525', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576522', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576515', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576509', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576506', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576404', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576394', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576393', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576390', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576386', None, None, None, None, None, '3471716') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.030283451080322266 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.169471025466919 time spend to save output : 0.030736446380615234 total time spend for step 3 : 11.200207471847534 step4:ventilate_hashtags_in_portfolio Thu Aug 7 07:51:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25764707 get user id for portfolio 25764707 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`=25764707 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','mal_croppe','autre','papier','metal','flou','pet_clair','carton','environnement','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25764707 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','mal_croppe','autre','papier','metal','flou','pet_clair','carton','environnement','pet_fonce','pehd')) 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`=25764707 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','mal_croppe','autre','papier','metal','flou','pet_clair','carton','environnement','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25765236,25765237,25765238,25765239,25765240,25765241,25765242,25765243,25765244,25765245,25765246?tags=background,mal_croppe,autre,papier,metal,flou,pet_clair,carton,environnement,pet_fonce,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375576527, 1375576525, 1375576522, 1375576515, 1375576509, 1375576506, 1375576404, 1375576394, 1375576393, 1375576390, 1375576386] Looping around the photos to save general results len do output : 1 /25764707. 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, '3471716') ('3318', '25764707', '1375576527', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576525', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576522', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576515', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576509', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576506', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576404', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576394', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576393', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576390', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576386', None, None, None, None, None, '3471716') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.02606797218322754 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0408756732940674 time spend to save output : 0.0263211727142334 total time spend for step 4 : 2.067196846008301 step5:final Thu Aug 7 07:51:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1375576527: ('0.1496234918630752',), 1375576525: ('0.1496234918630752',), 1375576522: ('0.1496234918630752',), 1375576515: ('0.1496234918630752',), 1375576509: ('0.1496234918630752',), 1375576506: ('0.1496234918630752',), 1375576404: ('0.1496234918630752',), 1375576394: ('0.1496234918630752',), 1375576393: ('0.1496234918630752',), 1375576390: ('0.1496234918630752',), 1375576386: ('0.1496234918630752',)} new output for save of step final : {1375576527: ('0.1496234918630752',), 1375576525: ('0.1496234918630752',), 1375576522: ('0.1496234918630752',), 1375576515: ('0.1496234918630752',), 1375576509: ('0.1496234918630752',), 1375576506: ('0.1496234918630752',), 1375576404: ('0.1496234918630752',), 1375576394: ('0.1496234918630752',), 1375576393: ('0.1496234918630752',), 1375576390: ('0.1496234918630752',), 1375576386: ('0.1496234918630752',)} [1375576527, 1375576525, 1375576522, 1375576515, 1375576509, 1375576506, 1375576404, 1375576394, 1375576393, 1375576390, 1375576386] Looping around the photos to save general results len do output : 11 /1375576527.Didn't retrieve data . /1375576525.Didn't retrieve data . /1375576522.Didn't retrieve data . /1375576515.Didn't retrieve data . /1375576509.Didn't retrieve data . /1375576506.Didn't retrieve data . /1375576404.Didn't retrieve data . /1375576394.Didn't retrieve data . /1375576393.Didn't retrieve data . /1375576390.Didn't retrieve data . /1375576386.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, '3471716') ('3318', '25764707', '1375576527', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576525', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576522', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576515', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576509', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576506', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576404', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576394', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576393', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576390', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576386', None, None, None, None, None, '3471716') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.08552098274230957 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.18834161758422852 time spend to save output : 0.08662843704223633 total time spend for step 5 : 0.27497005462646484 step6:blur_detection Thu Aug 7 07:51:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91.jpg resize: (1080, 1920) 1375576527 -0.14970274061303185 treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931.jpg resize: (1080, 1920) 1375576525 0.7786859229145163 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85.jpg resize: (1080, 1920) 1375576522 -0.2343350494934717 treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31.jpg resize: (1080, 1920) 1375576515 -0.5889586858382737 treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055.jpg resize: (1080, 1920) 1375576509 -0.08355149129197699 treat image : temp/1754545828_3262259_1375576506_dd65aa5b7e0c661cc3793aa656b4bced.jpg resize: (1080, 1920) 1375576506 0.056241233720646835 treat image : temp/1754545828_3262259_1375576404_549ae1b36e2ce85a9b267eba6dd71b73.jpg resize: (1080, 1920) 1375576404 3.7385983502474223 treat image : temp/1754545828_3262259_1375576394_1d674b28201c7a24807d09f0f31d21fb.jpg resize: (1080, 1920) 1375576394 -1.0014654536664458 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4.jpg resize: (1080, 1920) 1375576393 0.7666139322373163 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217.jpg resize: (1080, 1920) 1375576390 -0.06699386652485464 treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175.jpg resize: (1080, 1920) 1375576386 0.8145239181545542 treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444045_0.png resize: (124, 84) 1375581176 -1.3555796515593204 treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444046_0.png resize: (139, 213) 1375581177 -2.652957260360227 treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444044_0.png resize: (122, 209) 1375581178 -0.9607632061369689 treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444048_0.png resize: (167, 179) 1375581180 -0.6937023751806368 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444056_0.png resize: (125, 172) 1375581181 -1.9054707686054233 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444058_0.png resize: (95, 104) 1375581183 -3.0230072352177717 treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444062_0.png resize: (106, 106) 1375581184 1.4321118932744823 treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444059_0.png resize: (183, 91) 1375581185 -2.3901264804175595 treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444064_0.png resize: (148, 124) 1375581187 0.12635058305145028 treat image : temp/1754545828_3262259_1375576394_1d674b28201c7a24807d09f0f31d21fb_rle_crop_3905444072_0.png resize: (140, 136) 1375581188 -0.763887482308696 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444074_0.png resize: (73, 94) 1375581189 -0.7041003345867786 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444080_0.png resize: (220, 161) 1375581191 -1.1503648388615502 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444078_0.png resize: (175, 101) 1375581192 -1.963820545569396 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444076_0.png resize: (159, 89) 1375581193 4.274910595650988 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444077_0.png resize: (142, 98) 1375581195 -1.138896738519744 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444085_0.png resize: (78, 140) 1375581196 -2.7182944622890037 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444081_0.png resize: (82, 84) 1375581197 1.2552774705171128 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444086_0.png resize: (60, 86) 1375581199 -2.162210662028369 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444089_0.png resize: (93, 151) 1375581200 -3.4957025991127764 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444084_0.png resize: (126, 191) 1375581201 -1.7411428039921368 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444082_0.png resize: (104, 149) 1375581203 -1.4764855879160492 treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175_rle_crop_3905444090_0.png resize: (86, 185) 1375581204 -0.5666830621135037 treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444050_0.png resize: (57, 46) 1375581216 2.7515505580753357 treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444051_0.png resize: (114, 127) 1375581217 -2.0529850688986535 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444052_0.png resize: (88, 113) 1375581218 -1.1405026981046058 treat image : temp/1754545828_3262259_1375576404_549ae1b36e2ce85a9b267eba6dd71b73_rle_crop_3905444071_0.png resize: (63, 45) 1375581220 1.4004956847442045 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444087_0.png resize: (140, 130) 1375581227 -1.9638238694114662 treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444049_0.png resize: (86, 125) 1375581359 -0.4881765634364188 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444054_0.png resize: (103, 88) 1375581361 -1.957909615483844 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444057_0.png resize: (124, 86) 1375581363 -2.663396173867819 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444053_0.png resize: (496, 321) 1375581364 -0.15171333756892783 treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444060_0.png resize: (132, 109) 1375581366 -2.123620590586807 treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444061_0.png resize: (309, 273) 1375581368 -1.2830094394133127 treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444067_0.png resize: (943, 1386) 1375581369 -1.702375340405848 treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444063_0.png resize: (139, 115) 1375581371 -3.2288620111538995 treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444066_0.png resize: (604, 361) 1375581373 0.15009964280576304 treat image : temp/1754545828_3262259_1375576506_dd65aa5b7e0c661cc3793aa656b4bced_rle_crop_3905444069_0.png resize: (123, 117) 1375581374 -1.5007839945479247 treat image : temp/1754545828_3262259_1375576506_dd65aa5b7e0c661cc3793aa656b4bced_rle_crop_3905444068_0.png resize: (345, 189) 1375581376 -2.0096904520017924 treat image : temp/1754545828_3262259_1375576404_549ae1b36e2ce85a9b267eba6dd71b73_rle_crop_3905444070_0.png resize: (535, 367) 1375581379 -0.04349674217751881 treat image : temp/1754545828_3262259_1375576394_1d674b28201c7a24807d09f0f31d21fb_rle_crop_3905444073_0.png resize: (236, 116) 1375581380 -2.0832676698404917 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444079_0.png resize: (993, 1056) 1375581382 4.1516780074616996e-05 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444083_0.png resize: (546, 331) 1375581384 -0.20416161110362446 treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175_rle_crop_3905444092_0.png resize: (1005, 1152) 1375581386 0.3199183139379274 treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175_rle_crop_3905444091_0.png resize: (72, 83) 1375581389 -1.0891849654375405 treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444047_0.png resize: (118, 118) 1375581415 -2.183678626670539 treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444055_0.png resize: (51, 88) 1375581416 0.20287268931006344 treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444065_0.png resize: (131, 122) 1375581417 -3.2537226264640244 treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444075_0.png resize: (143, 120) 1375581420 1.533788424842508 treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444088_0.png resize: (135, 53) 1375581421 -2.595842307496263 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 : 60 time used for this insertion : 0.02266240119934082 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 60 time used for this insertion : 0.3597538471221924 save missing photos in datou_result : time spend for datou_step_exec : 9.853302717208862 time spend to save output : 0.3876652717590332 total time spend for step 6 : 10.240967988967896 step7:brightness Thu Aug 7 07:51:49 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/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91.jpg treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931.jpg treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85.jpg treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31.jpg treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055.jpg treat image : temp/1754545828_3262259_1375576506_dd65aa5b7e0c661cc3793aa656b4bced.jpg treat image : temp/1754545828_3262259_1375576404_549ae1b36e2ce85a9b267eba6dd71b73.jpg treat image : temp/1754545828_3262259_1375576394_1d674b28201c7a24807d09f0f31d21fb.jpg treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4.jpg treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217.jpg treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175.jpg treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444045_0.png treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444046_0.png treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444044_0.png treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444048_0.png treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444056_0.png treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444058_0.png treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444062_0.png treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444059_0.png treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444064_0.png treat image : temp/1754545828_3262259_1375576394_1d674b28201c7a24807d09f0f31d21fb_rle_crop_3905444072_0.png treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444074_0.png treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444080_0.png treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444078_0.png treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444076_0.png treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444077_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444085_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444081_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444086_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444089_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444084_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444082_0.png treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175_rle_crop_3905444090_0.png treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444050_0.png treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444051_0.png treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444052_0.png treat image : temp/1754545828_3262259_1375576404_549ae1b36e2ce85a9b267eba6dd71b73_rle_crop_3905444071_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444087_0.png treat image : temp/1754545828_3262259_1375576525_44da3539f3ad3288a935f1d2f76d4931_rle_crop_3905444049_0.png treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444054_0.png treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444057_0.png treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444053_0.png treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444060_0.png treat image : temp/1754545828_3262259_1375576515_b9db60484afde8bae6468af35329cc31_rle_crop_3905444061_0.png treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444067_0.png treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444063_0.png treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444066_0.png treat image : temp/1754545828_3262259_1375576506_dd65aa5b7e0c661cc3793aa656b4bced_rle_crop_3905444069_0.png treat image : temp/1754545828_3262259_1375576506_dd65aa5b7e0c661cc3793aa656b4bced_rle_crop_3905444068_0.png treat image : temp/1754545828_3262259_1375576404_549ae1b36e2ce85a9b267eba6dd71b73_rle_crop_3905444070_0.png treat image : temp/1754545828_3262259_1375576394_1d674b28201c7a24807d09f0f31d21fb_rle_crop_3905444073_0.png treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444079_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444083_0.png treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175_rle_crop_3905444092_0.png treat image : temp/1754545828_3262259_1375576386_816ccfaac28a1500c9eace46897e7175_rle_crop_3905444091_0.png treat image : temp/1754545828_3262259_1375576527_8336e389e9fd55ebbeecc580d8632f91_rle_crop_3905444047_0.png treat image : temp/1754545828_3262259_1375576522_9e1801270edfa2ef8ad8f8e77b102c85_rle_crop_3905444055_0.png treat image : temp/1754545828_3262259_1375576509_fe363a21dabe969c7f71f39aff862055_rle_crop_3905444065_0.png treat image : temp/1754545828_3262259_1375576393_d7fe44c24cb804216b056208c8ada9d4_rle_crop_3905444075_0.png treat image : temp/1754545828_3262259_1375576390_91d27773b3c495a31bab1fee2d1ab217_rle_crop_3905444088_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 : 60 time used for this insertion : 0.02013993263244629 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 60 time used for this insertion : 0.32385897636413574 save missing photos in datou_result : time spend for datou_step_exec : 2.8213698863983154 time spend to save output : 0.3485875129699707 total time spend for step 7 : 3.169957399368286 step8:velours_tree Thu Aug 7 07:51:52 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.12317776679992676 time spend to save output : 3.1948089599609375e-05 total time spend for step 8 : 0.12320971488952637 step9:send_mail_cod Thu Aug 7 07:51:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P25764707_07-08-2025_07_51_53.pdf 25765236 imagette257652361754545913 25765237 imagette257652371754545913 25765238 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette257652381754545913 25765239 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 .imagette257652391754545913 25765240 change filename to text .imagette257652401754545914 25765241 imagette257652411754545914 25765242 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 .imagette257652421754545914 25765243 change filename to text .change filename to text .change filename to text .change filename to text .imagette257652431754545915 25765245 imagette257652451754545915 25765246 imagette257652461754545915 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25764707 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25765236,25765237,25765238,25765239,25765240,25765241,25765242,25765243,25765244,25765245,25765246?tags=background,mal_croppe,autre,papier,metal,flou,pet_clair,carton,environnement,pet_fonce,pehd args[1375576527] : ((1375576527, -0.14970274061303185, 492688767), (1375576527, 0.760462720392056, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576525] : ((1375576525, 0.7786859229145163, 492688767), (1375576525, 0.3041155065864021, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576522] : ((1375576522, -0.2343350494934717, 492688767), (1375576522, 0.4772760906046745, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576515] : ((1375576515, -0.5889586858382737, 492688767), (1375576515, 0.6029695710615984, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576509] : ((1375576509, -0.08355149129197699, 492688767), (1375576509, 0.575441834931534, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576506] : ((1375576506, 0.056241233720646835, 492688767), (1375576506, 0.6967332675455198, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576404] : ((1375576404, 3.7385983502474223, 492688767), (1375576404, 0.6066365585020967, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576394] : ((1375576394, -1.0014654536664458, 492688767), (1375576394, 0.5197202682436053, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576393] : ((1375576393, 0.7666139322373163, 492688767), (1375576393, 0.6405674417461498, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576390] : ((1375576390, -0.06699386652485464, 492688767), (1375576390, 0.3676281885564131, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com args[1375576386] : ((1375576386, 0.8145239181545542, 492688767), (1375576386, 0.8835577366002755, 2107752395), '0.1496234918630752') We are sending mail with results at report@fotonower.com refus_total : 0.1496234918630752 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=25764707 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_P25764707_07-08-2025_07_51_53.pdf results_Auto_P25764707_07-08-2025_07_51_53.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764707_07-08-2025_07_51_53.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','25764707','results_Auto_P25764707_07-08-2025_07_51_53.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764707_07-08-2025_07_51_53.pdf','pdf','','0.45','0.1496234918630752') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25764707

https://www.fotonower.com/image?json=false&list_photos_id=1375576527
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576525
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576522
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576515
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576509
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576506
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576404
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.7385983502474223)
https://www.fotonower.com/image?json=false&list_photos_id=1375576394
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576393
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576390
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375576386
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/25765238?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25765239?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25765240?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25765242?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25765243?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764707_07-08-2025_07_51_53.pdf.

Lien vers velours :https://www.fotonower.com/velours/25765236,25765237,25765238,25765239,25765240,25765241,25765242,25765243,25765244,25765245,25765246?tags=background,mal_croppe,autre,papier,metal,flou,pet_clair,carton,environnement,pet_fonce,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 07 Aug 2025 05:51:57 GMT Content-Length: 0 Connection: close X-Message-Id: I8odKNspRriL-5LIQC3nEw 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 [1375576527, 1375576525, 1375576522, 1375576515, 1375576509, 1375576506, 1375576404, 1375576394, 1375576393, 1375576390, 1375576386] 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, '3471716') ('3318', '25764707', '1375576527', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576525', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576522', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576515', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576509', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576506', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576404', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576394', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576393', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576390', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576386', None, None, None, None, None, '3471716') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016683101654052734 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.766369581222534 time spend to save output : 0.016886472702026367 total time spend for step 9 : 4.7832560539245605 step10:split_time_score Thu Aug 7 07:51:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('07', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07082025 25764707 Nombre de photos uploadées : 11 / 23040 (0%) 07082025 25764707 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 07082025 25764707 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005705356597900391 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21359801292419434 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25764703 order by id desc limit 1 Qualite : 0.1496234918630752 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25764707_07-08-2025_07_51_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25764707 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`=25764707 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07082025': {'nb_upload': 11, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1375576527, 1375576525, 1375576522, 1375576515, 1375576509, 1375576506, 1375576404, 1375576394, 1375576393, 1375576390, 1375576386] Looping around the photos to save general results len do output : 1 /25764707Didn'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, '3471716') ('3318', '25764707', '1375576527', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576525', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576522', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576515', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576509', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576506', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576404', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576394', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576393', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576390', None, None, None, None, None, '3471716') ('3318', None, None, None, None, None, None, None, '3471716') ('3318', '25764707', '1375576386', None, None, None, None, None, '3471716') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.01631927490234375 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4204227924346924 time spend to save output : 0.016555309295654297 total time spend for step 10 : 1.4369781017303467 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 47.58user 21.31system 1:33.36elapsed 73%CPU (0avgtext+0avgdata 2816456maxresident)k 502392inputs+30544outputs (28major+1765788minor)pagefaults 0swaps