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 : 678689 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 : ['3510687'] with mtr_portfolio_ids : ['25907323'] and first list_photo_ids : [] new path : /proc/678689/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.229074001312256 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 Tue Aug 12 11:20: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 : 10733 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-12 11:20:32.359707: 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-12 11:20:32.387373: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-12 11:20:32.389408: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3550000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-12 11:20:32.389470: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-12 11:20:32.393426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-12 11:20:32.581057: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x25eab710 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-12 11:20:32.581118: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-12 11:20:32.582418: 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-12 11:20:32.582889: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 11:20:32.586100: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 11:20:32.589825: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 11:20:32.593705: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 11:20:32.596535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 11:20:32.597626: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 11:20:32.603484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 11:20:32.605320: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 11:20:32.605408: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 11:20:32.606370: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-12 11:20:32.606390: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-12 11:20:32.606401: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-12 11:20:32.608112: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9805 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-12 11:20:32.913139: 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-12 11:20:32.913226: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 11:20:32.913254: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 11:20:32.913278: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 11:20:32.913302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 11:20:32.913326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 11:20:32.913349: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 11:20:32.913374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 11:20:32.915554: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 11:20:32.917128: 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-12 11:20:32.917158: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 11:20:32.917173: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 11:20:32.917187: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 11:20:32.917200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 11:20:32.917214: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 11:20:32.917227: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 11:20:32.917241: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 11:20:32.918527: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 11:20:32.918554: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-12 11:20:32.918562: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-12 11:20:32.918570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-12 11:20:32.919902: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9805 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-12 11:20:42.063076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 11:20:42.260087: 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 : 17 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.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 : 18 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 11.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 : 20 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 679318 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5444 tf kernel not reseted sub process len(results) : 17 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 17 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 : 10733 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.00012993812561035156 nb_pixel_total : 2012 time to create 1 rle with old method : 0.0024230480194091797 length of segment : 57 time for calcul the mask position with numpy : 0.00020647048950195312 nb_pixel_total : 8718 time to create 1 rle with old method : 0.010245084762573242 length of segment : 77 time for calcul the mask position with numpy : 0.00019669532775878906 nb_pixel_total : 6361 time to create 1 rle with old method : 0.007343769073486328 length of segment : 185 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 5846 time to create 1 rle with old method : 0.0067327022552490234 length of segment : 86 time for calcul the mask position with numpy : 0.00015997886657714844 nb_pixel_total : 6479 time to create 1 rle with old method : 0.007572174072265625 length of segment : 135 time for calcul the mask position with numpy : 0.00012946128845214844 nb_pixel_total : 6022 time to create 1 rle with old method : 0.0070896148681640625 length of segment : 111 time for calcul the mask position with numpy : 0.00023603439331054688 nb_pixel_total : 12588 time to create 1 rle with old method : 0.014430522918701172 length of segment : 140 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 6347 time to create 1 rle with old method : 0.0073337554931640625 length of segment : 109 time for calcul the mask position with numpy : 0.0001239776611328125 nb_pixel_total : 5710 time to create 1 rle with old method : 0.006791591644287109 length of segment : 77 time for calcul the mask position with numpy : 7.295608520507812e-05 nb_pixel_total : 2935 time to create 1 rle with old method : 0.0035982131958007812 length of segment : 40 time for calcul the mask position with numpy : 0.00012254714965820312 nb_pixel_total : 6019 time to create 1 rle with old method : 0.0071642398834228516 length of segment : 91 time for calcul the mask position with numpy : 0.00010633468627929688 nb_pixel_total : 4662 time to create 1 rle with old method : 0.0055119991302490234 length of segment : 88 time for calcul the mask position with numpy : 8.034706115722656e-05 nb_pixel_total : 3205 time to create 1 rle with old method : 0.003767728805541992 length of segment : 67 time for calcul the mask position with numpy : 7.367134094238281e-05 nb_pixel_total : 2649 time to create 1 rle with old method : 0.003173828125 length of segment : 66 time for calcul the mask position with numpy : 0.0001068115234375 nb_pixel_total : 4705 time to create 1 rle with old method : 0.005638837814331055 length of segment : 85 time for calcul the mask position with numpy : 0.00024271011352539062 nb_pixel_total : 12009 time to create 1 rle with old method : 0.013804197311401367 length of segment : 156 time for calcul the mask position with numpy : 0.0001742839813232422 nb_pixel_total : 7544 time to create 1 rle with old method : 0.009001731872558594 length of segment : 85 time for calcul the mask position with numpy : 6.246566772460938e-05 nb_pixel_total : 1734 time to create 1 rle with old method : 0.002123117446899414 length of segment : 48 time for calcul the mask position with numpy : 0.00010085105895996094 nb_pixel_total : 5247 time to create 1 rle with old method : 0.006200551986694336 length of segment : 81 time for calcul the mask position with numpy : 0.00024390220642089844 nb_pixel_total : 11859 time to create 1 rle with old method : 0.013569116592407227 length of segment : 171 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 10806 time to create 1 rle with old method : 0.012787818908691406 length of segment : 95 time for calcul the mask position with numpy : 8.0108642578125e-05 nb_pixel_total : 2999 time to create 1 rle with old method : 0.003677845001220703 length of segment : 56 time for calcul the mask position with numpy : 0.000225067138671875 nb_pixel_total : 7238 time to create 1 rle with old method : 0.008655548095703125 length of segment : 161 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 5582 time to create 1 rle with old method : 0.006493806838989258 length of segment : 96 time for calcul the mask position with numpy : 0.0005087852478027344 nb_pixel_total : 30018 time to create 1 rle with old method : 0.034009456634521484 length of segment : 223 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 7454 time to create 1 rle with old method : 0.009125947952270508 length of segment : 68 time for calcul the mask position with numpy : 0.0001049041748046875 nb_pixel_total : 3165 time to create 1 rle with old method : 0.0038428306579589844 length of segment : 66 time for calcul the mask position with numpy : 0.0001270771026611328 nb_pixel_total : 3478 time to create 1 rle with old method : 0.004266977310180664 length of segment : 49 time for calcul the mask position with numpy : 7.724761962890625e-05 nb_pixel_total : 2787 time to create 1 rle with old method : 0.003519773483276367 length of segment : 42 time for calcul the mask position with numpy : 0.00013947486877441406 nb_pixel_total : 6637 time to create 1 rle with old method : 0.010410070419311523 length of segment : 67 time for calcul the mask position with numpy : 0.0003292560577392578 nb_pixel_total : 14631 time to create 1 rle with old method : 0.02439141273498535 length of segment : 167 time for calcul the mask position with numpy : 0.0002110004425048828 nb_pixel_total : 7623 time to create 1 rle with old method : 0.011160135269165039 length of segment : 101 time for calcul the mask position with numpy : 0.00016498565673828125 nb_pixel_total : 6890 time to create 1 rle with old method : 0.008085966110229492 length of segment : 120 time for calcul the mask position with numpy : 0.00012254714965820312 nb_pixel_total : 2800 time to create 1 rle with old method : 0.0034127235412597656 length of segment : 71 time for calcul the mask position with numpy : 0.000102996826171875 nb_pixel_total : 3384 time to create 1 rle with old method : 0.004242897033691406 length of segment : 63 time for calcul the mask position with numpy : 0.00027632713317871094 nb_pixel_total : 10463 time to create 1 rle with old method : 0.012086629867553711 length of segment : 169 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 4642 time to create 1 rle with old method : 0.005356550216674805 length of segment : 132 time for calcul the mask position with numpy : 7.867813110351562e-05 nb_pixel_total : 2736 time to create 1 rle with old method : 0.003177642822265625 length of segment : 80 time for calcul the mask position with numpy : 0.00036144256591796875 nb_pixel_total : 19655 time to create 1 rle with old method : 0.021960735321044922 length of segment : 177 time for calcul the mask position with numpy : 0.0005526542663574219 nb_pixel_total : 35759 time to create 1 rle with old method : 0.03853654861450195 length of segment : 259 time for calcul the mask position with numpy : 0.00010347366333007812 nb_pixel_total : 3720 time to create 1 rle with old method : 0.004309654235839844 length of segment : 68 time for calcul the mask position with numpy : 0.00013136863708496094 nb_pixel_total : 5401 time to create 1 rle with old method : 0.006165266036987305 length of segment : 72 time for calcul the mask position with numpy : 0.0003745555877685547 nb_pixel_total : 19708 time to create 1 rle with old method : 0.020912885665893555 length of segment : 244 time for calcul the mask position with numpy : 9.393692016601562e-05 nb_pixel_total : 3199 time to create 1 rle with old method : 0.0035543441772460938 length of segment : 60 time for calcul the mask position with numpy : 0.0022640228271484375 nb_pixel_total : 128183 time to create 1 rle with old method : 0.13311076164245605 length of segment : 587 time for calcul the mask position with numpy : 9.679794311523438e-05 nb_pixel_total : 2386 time to create 1 rle with old method : 0.0026807785034179688 length of segment : 62 time for calcul the mask position with numpy : 0.00011324882507324219 nb_pixel_total : 4284 time to create 1 rle with old method : 0.004967689514160156 length of segment : 70 time for calcul the mask position with numpy : 0.00011420249938964844 nb_pixel_total : 3585 time to create 1 rle with old method : 0.004071712493896484 length of segment : 62 time for calcul the mask position with numpy : 0.00035309791564941406 nb_pixel_total : 22501 time to create 1 rle with old method : 0.023895740509033203 length of segment : 162 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 9388 time to create 1 rle with old method : 0.010425329208374023 length of segment : 51 time for calcul the mask position with numpy : 0.0001678466796875 nb_pixel_total : 6724 time to create 1 rle with old method : 0.007718563079833984 length of segment : 88 time for calcul the mask position with numpy : 0.0004506111145019531 nb_pixel_total : 28968 time to create 1 rle with old method : 0.03168678283691406 length of segment : 149 time for calcul the mask position with numpy : 0.0003452301025390625 nb_pixel_total : 16770 time to create 1 rle with old method : 0.01875138282775879 length of segment : 167 time for calcul the mask position with numpy : 0.00037980079650878906 nb_pixel_total : 24266 time to create 1 rle with old method : 0.02685713768005371 length of segment : 146 time for calcul the mask position with numpy : 9.894371032714844e-05 nb_pixel_total : 3681 time to create 1 rle with old method : 0.004311323165893555 length of segment : 86 time for calcul the mask position with numpy : 9.226799011230469e-05 nb_pixel_total : 3921 time to create 1 rle with old method : 0.004584789276123047 length of segment : 60 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 6530 time to create 1 rle with old method : 0.007493734359741211 length of segment : 90 time for calcul the mask position with numpy : 0.0014908313751220703 nb_pixel_total : 94327 time to create 1 rle with old method : 0.09766030311584473 length of segment : 512 time for calcul the mask position with numpy : 0.0003228187561035156 nb_pixel_total : 16736 time to create 1 rle with old method : 0.017766952514648438 length of segment : 150 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 9449 time to create 1 rle with old method : 0.010296344757080078 length of segment : 157 time for calcul the mask position with numpy : 8.654594421386719e-05 nb_pixel_total : 3078 time to create 1 rle with old method : 0.003414630889892578 length of segment : 76 time for calcul the mask position with numpy : 0.00013017654418945312 nb_pixel_total : 5248 time to create 1 rle with old method : 0.005924701690673828 length of segment : 83 time for calcul the mask position with numpy : 0.00018596649169921875 nb_pixel_total : 9788 time to create 1 rle with old method : 0.010451316833496094 length of segment : 131 time for calcul the mask position with numpy : 0.00015997886657714844 nb_pixel_total : 8733 time to create 1 rle with old method : 0.009229421615600586 length of segment : 162 time for calcul the mask position with numpy : 0.00012755393981933594 nb_pixel_total : 6440 time to create 1 rle with old method : 0.007058620452880859 length of segment : 99 time for calcul the mask position with numpy : 8.296966552734375e-05 nb_pixel_total : 3524 time to create 1 rle with old method : 0.003917217254638672 length of segment : 79 time for calcul the mask position with numpy : 0.0003147125244140625 nb_pixel_total : 13082 time to create 1 rle with old method : 0.014109611511230469 length of segment : 158 time for calcul the mask position with numpy : 8.296966552734375e-05 nb_pixel_total : 3012 time to create 1 rle with old method : 0.0032036304473876953 length of segment : 103 time spent for convertir_results : 2.1403729915618896 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 68 chid ids of type : 3594 Number RLEs to save : 8151 save missing photos in datou_result : time spend for datou_step_exec : 34.12320613861084 time spend to save output : 0.49668025970458984 total time spend for step 1 : 34.61988639831543 step2:crop_condition Tue Aug 12 11:21:04 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 : 17 ! batch 1 Loaded 68 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 45 About to insert : list_path_to_insert length 45 new photo from crops ! About to upload 45 photos upload in portfolio : 3736932 init cache_photo without model_param we have 45 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754990466_678689 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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 45 photos in the portfolio 3736932 time of upload the photos Elapsed time : 11.109238147735596 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/1754990478_678689 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.2949113845825195 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/1754990480_678689 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 : 1.5976121425628662 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 ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754990483_678689 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 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.2956974506378174 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754990487_678689 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0806562900543213 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 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/1754990488_678689 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.5624797344207764 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1376572123, 1376572120, 1376572116, 1376572111, 1376572107, 1376572104, 1376572091, 1376572087, 1376572083, 1376572078, 1376572071, 1376572064, 1376572049, 1376572047, 1376572044, 1376572040, 1376572038] Looping around the photos to save general results len do output : 68 /1376588723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376588883Didn'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, '3510687') ('3318', '25907323', '1376572123', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572120', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572116', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572111', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572107', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572104', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572091', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572087', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572083', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572078', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572071', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572064', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572049', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572047', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572044', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572040', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572038', None, None, None, None, None, '3510687') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 221 time used for this insertion : 0.033655405044555664 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.033970832824707 time spend to save output : 0.03650784492492676 total time spend for step 2 : 25.070478677749634 step3:rle_unique_nms_with_priority Tue Aug 12 11:21: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 Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 68 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.5656960010528564 time for calcul the mask position with numpy : 0.09846735000610352 nb_pixel_total : 2071588 time to create 1 rle with new method : 0.4636268615722656 time for calcul the mask position with numpy : 0.006720066070556641 nb_pixel_total : 2012 time to create 1 rle with old method : 0.0022788047790527344 create new chi : 0.5815379619598389 time to delete rle : 0.016173601150512695 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1194 TO DO : save crop sub photo not yet done ! save time : 0.11089396476745605 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 1.5165863037109375 time for calcul the mask position with numpy : 0.12756800651550293 nb_pixel_total : 2046196 time to create 1 rle with new method : 0.18554186820983887 time for calcul the mask position with numpy : 0.010823488235473633 nb_pixel_total : 6479 time to create 1 rle with old method : 0.0073926448822021484 time for calcul the mask position with numpy : 0.006506204605102539 nb_pixel_total : 5846 time to create 1 rle with old method : 0.006540060043334961 time for calcul the mask position with numpy : 0.006804704666137695 nb_pixel_total : 6361 time to create 1 rle with old method : 0.0071065425872802734 time for calcul the mask position with numpy : 0.0063478946685791016 nb_pixel_total : 8718 time to create 1 rle with old method : 0.0098114013671875 create new chi : 0.38611531257629395 time to delete rle : 0.00037407875061035156 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2046 TO DO : save crop sub photo not yet done ! save time : 0.1695864200592041 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06938338279724121 time for calcul the mask position with numpy : 0.029245853424072266 nb_pixel_total : 2067578 time to create 1 rle with new method : 0.2411956787109375 time for calcul the mask position with numpy : 0.006257295608520508 nb_pixel_total : 6022 time to create 1 rle with old method : 0.006770133972167969 create new chi : 0.28371143341064453 time to delete rle : 0.0002067089080810547 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1302 TO DO : save crop sub photo not yet done ! save time : 0.10853743553161621 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04178953170776367 time for calcul the mask position with numpy : 0.022622346878051758 nb_pixel_total : 2061012 time to create 1 rle with new method : 0.3452718257904053 time for calcul the mask position with numpy : 0.006611347198486328 nb_pixel_total : 12588 time to create 1 rle with old method : 0.01489710807800293 create new chi : 0.3971109390258789 time to delete rle : 0.00022649765014648438 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1360 TO DO : save crop sub photo not yet done ! save time : 0.10653829574584961 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.2288966178894043 time for calcul the mask position with numpy : 0.7502336502075195 nb_pixel_total : 2044722 time to create 1 rle with new method : 0.22180628776550293 time for calcul the mask position with numpy : 0.006814479827880859 nb_pixel_total : 3205 time to create 1 rle with old method : 0.003606081008911133 time for calcul the mask position with numpy : 0.007452249526977539 nb_pixel_total : 4662 time to create 1 rle with old method : 0.0054111480712890625 time for calcul the mask position with numpy : 0.0068700313568115234 nb_pixel_total : 6019 time to create 1 rle with old method : 0.0068781375885009766 time for calcul the mask position with numpy : 0.0068187713623046875 nb_pixel_total : 2935 time to create 1 rle with old method : 0.003385305404663086 time for calcul the mask position with numpy : 0.007244110107421875 nb_pixel_total : 5710 time to create 1 rle with old method : 0.006396055221557617 time for calcul the mask position with numpy : 0.007081747055053711 nb_pixel_total : 6347 time to create 1 rle with old method : 0.007182121276855469 create new chi : 1.0587828159332275 time to delete rle : 0.00046253204345703125 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2024 TO DO : save crop sub photo not yet done ! save time : 0.18524479866027832 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.3590734004974365 time for calcul the mask position with numpy : 1.2148404121398926 nb_pixel_total : 2039217 time to create 1 rle with new method : 0.11514067649841309 time for calcul the mask position with numpy : 0.006213188171386719 nb_pixel_total : 495 time to create 1 rle with old method : 0.0006749629974365234 time for calcul the mask position with numpy : 0.010665655136108398 nb_pixel_total : 5247 time to create 1 rle with old method : 0.005918979644775391 time for calcul the mask position with numpy : 0.0062713623046875 nb_pixel_total : 1734 time to create 1 rle with old method : 0.0019712448120117188 time for calcul the mask position with numpy : 0.0063419342041015625 nb_pixel_total : 7544 time to create 1 rle with old method : 0.00847768783569336 time for calcul the mask position with numpy : 0.006536245346069336 nb_pixel_total : 12009 time to create 1 rle with old method : 0.016986608505249023 time for calcul the mask position with numpy : 0.010864496231079102 nb_pixel_total : 4705 time to create 1 rle with old method : 0.005403757095336914 time for calcul the mask position with numpy : 0.013777971267700195 nb_pixel_total : 2649 time to create 1 rle with old method : 0.0030257701873779297 create new chi : 1.444413661956787 time to delete rle : 0.0004372596740722656 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 2273 TO DO : save crop sub photo not yet done ! save time : 0.1637439727783203 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06869149208068848 time for calcul the mask position with numpy : 0.020992517471313477 nb_pixel_total : 2059795 time to create 1 rle with new method : 0.03334331512451172 time for calcul the mask position with numpy : 0.006178140640258789 nb_pixel_total : 2999 time to create 1 rle with old method : 0.0034673213958740234 time for calcul the mask position with numpy : 0.006372690200805664 nb_pixel_total : 10806 time to create 1 rle with old method : 0.012137889862060547 create new chi : 0.08275914192199707 time to delete rle : 0.0002384185791015625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1382 TO DO : save crop sub photo not yet done ! save time : 0.11342859268188477 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0501556396484375 time for calcul the mask position with numpy : 0.019947528839111328 nb_pixel_total : 2030762 time to create 1 rle with new method : 0.060632944107055664 time for calcul the mask position with numpy : 0.006659269332885742 nb_pixel_total : 30018 time to create 1 rle with old method : 0.03354024887084961 time for calcul the mask position with numpy : 0.00634002685546875 nb_pixel_total : 5582 time to create 1 rle with old method : 0.0063283443450927734 time for calcul the mask position with numpy : 0.006546974182128906 nb_pixel_total : 7238 time to create 1 rle with old method : 0.008271217346191406 create new chi : 0.1486368179321289 time to delete rle : 0.0003561973571777344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2040 TO DO : save crop sub photo not yet done ! save time : 0.1756751537322998 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 1.5821659564971924 time for calcul the mask position with numpy : 0.9269332885742188 nb_pixel_total : 2035448 time to create 1 rle with new method : 0.10137820243835449 time for calcul the mask position with numpy : 0.010615825653076172 nb_pixel_total : 14631 time to create 1 rle with old method : 0.016300201416015625 time for calcul the mask position with numpy : 0.01087045669555664 nb_pixel_total : 6637 time to create 1 rle with old method : 0.007490634918212891 time for calcul the mask position with numpy : 0.010714054107666016 nb_pixel_total : 2787 time to create 1 rle with old method : 0.0031316280364990234 time for calcul the mask position with numpy : 0.010674476623535156 nb_pixel_total : 3478 time to create 1 rle with old method : 0.0039479732513427734 time for calcul the mask position with numpy : 0.010673999786376953 nb_pixel_total : 3165 time to create 1 rle with old method : 0.0036079883575439453 time for calcul the mask position with numpy : 0.010694742202758789 nb_pixel_total : 7454 time to create 1 rle with old method : 0.008428812026977539 create new chi : 1.1470754146575928 time to delete rle : 0.00048089027404785156 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 1998 TO DO : save crop sub photo not yet done ! save time : 0.14830946922302246 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07360434532165527 time for calcul the mask position with numpy : 0.02496504783630371 nb_pixel_total : 2065977 time to create 1 rle with new method : 0.04147219657897949 time for calcul the mask position with numpy : 0.006417989730834961 nb_pixel_total : 7623 time to create 1 rle with old method : 0.008673906326293945 create new chi : 0.08177852630615234 time to delete rle : 0.00022268295288085938 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1282 TO DO : save crop sub photo not yet done ! save time : 0.10541486740112305 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.0969090461730957 time for calcul the mask position with numpy : 1.118889570236206 nb_pixel_total : 2023030 time to create 1 rle with new method : 0.6587238311767578 time for calcul the mask position with numpy : 0.011852264404296875 nb_pixel_total : 19655 time to create 1 rle with old method : 0.02580738067626953 time for calcul the mask position with numpy : 0.010797739028930664 nb_pixel_total : 2736 time to create 1 rle with old method : 0.0030364990234375 time for calcul the mask position with numpy : 0.006085634231567383 nb_pixel_total : 4642 time to create 1 rle with old method : 0.00513911247253418 time for calcul the mask position with numpy : 0.006123542785644531 nb_pixel_total : 10463 time to create 1 rle with old method : 0.011415958404541016 time for calcul the mask position with numpy : 0.006110668182373047 nb_pixel_total : 3384 time to create 1 rle with old method : 0.003729581832885742 time for calcul the mask position with numpy : 0.006136655807495117 nb_pixel_total : 2800 time to create 1 rle with old method : 0.0030829906463623047 time for calcul the mask position with numpy : 0.0061914920806884766 nb_pixel_total : 6890 time to create 1 rle with old method : 0.00762176513671875 create new chi : 1.9010002613067627 time to delete rle : 0.0003101825714111328 batch 1 Loaded 15 chid ids of type : 3594 +++++++++Number RLEs to save : 2704 TO DO : save crop sub photo not yet done ! save time : 0.21027684211730957 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.057389259338378906 time for calcul the mask position with numpy : 0.02021646499633789 nb_pixel_total : 2037841 time to create 1 rle with new method : 0.0435948371887207 time for calcul the mask position with numpy : 0.006467342376708984 nb_pixel_total : 35759 time to create 1 rle with old method : 0.03989386558532715 create new chi : 0.11044526100158691 time to delete rle : 0.000247955322265625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1598 TO DO : save crop sub photo not yet done ! save time : 0.13112139701843262 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.12494182586669922 time for calcul the mask position with numpy : 0.07689642906188965 nb_pixel_total : 1906205 time to create 1 rle with new method : 0.42549633979797363 time for calcul the mask position with numpy : 0.00665593147277832 nb_pixel_total : 514 time to create 1 rle with old method : 0.0006132125854492188 time for calcul the mask position with numpy : 0.005893230438232422 nb_pixel_total : 4284 time to create 1 rle with old method : 0.004599094390869141 time for calcul the mask position with numpy : 0.005961894989013672 nb_pixel_total : 2386 time to create 1 rle with old method : 0.002565145492553711 time for calcul the mask position with numpy : 0.006978750228881836 nb_pixel_total : 128183 time to create 1 rle with old method : 0.13908147811889648 time for calcul the mask position with numpy : 0.006417751312255859 nb_pixel_total : 3199 time to create 1 rle with old method : 0.0036182403564453125 time for calcul the mask position with numpy : 0.007274150848388672 nb_pixel_total : 19708 time to create 1 rle with old method : 0.022075176239013672 time for calcul the mask position with numpy : 0.007005929946899414 nb_pixel_total : 5401 time to create 1 rle with old method : 0.008738040924072266 time for calcul the mask position with numpy : 0.00713801383972168 nb_pixel_total : 3720 time to create 1 rle with old method : 0.006106138229370117 create new chi : 0.7528564929962158 time to delete rle : 0.0006690025329589844 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3431 TO DO : save crop sub photo not yet done ! save time : 0.23759818077087402 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.06944489479064941 time for calcul the mask position with numpy : 0.021445751190185547 nb_pixel_total : 2006019 time to create 1 rle with new method : 0.030775785446166992 time for calcul the mask position with numpy : 0.006522655487060547 nb_pixel_total : 28968 time to create 1 rle with old method : 0.03241443634033203 time for calcul the mask position with numpy : 0.006376743316650391 nb_pixel_total : 6724 time to create 1 rle with old method : 0.007787466049194336 time for calcul the mask position with numpy : 0.0064678192138671875 nb_pixel_total : 9388 time to create 1 rle with old method : 0.010532855987548828 time for calcul the mask position with numpy : 0.006365299224853516 nb_pixel_total : 22501 time to create 1 rle with old method : 0.02520155906677246 create new chi : 0.15438485145568848 time to delete rle : 0.0003249645233154297 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1980 TO DO : save crop sub photo not yet done ! save time : 0.1384449005126953 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 0.8494763374328613 time for calcul the mask position with numpy : 0.09955215454101562 nb_pixel_total : 1895038 time to create 1 rle with new method : 0.12618207931518555 time for calcul the mask position with numpy : 0.0063173770904541016 nb_pixel_total : 3078 time to create 1 rle with old method : 0.0035393238067626953 time for calcul the mask position with numpy : 0.006398916244506836 nb_pixel_total : 9449 time to create 1 rle with old method : 0.010742902755737305 time for calcul the mask position with numpy : 0.006495237350463867 nb_pixel_total : 16540 time to create 1 rle with old method : 0.018532276153564453 time for calcul the mask position with numpy : 0.007291316986083984 nb_pixel_total : 94327 time to create 1 rle with old method : 0.10588383674621582 time for calcul the mask position with numpy : 0.006791114807128906 nb_pixel_total : 6530 time to create 1 rle with old method : 0.007393360137939453 time for calcul the mask position with numpy : 0.006730794906616211 nb_pixel_total : 3921 time to create 1 rle with old method : 0.004543304443359375 time for calcul the mask position with numpy : 0.0068624019622802734 nb_pixel_total : 3681 time to create 1 rle with old method : 0.0041599273681640625 time for calcul the mask position with numpy : 0.006583452224731445 nb_pixel_total : 24266 time to create 1 rle with old method : 0.02714228630065918 time for calcul the mask position with numpy : 0.006644725799560547 nb_pixel_total : 16770 time to create 1 rle with old method : 0.019260883331298828 create new chi : 0.4983952045440674 time to delete rle : 0.0006771087646484375 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 3948 TO DO : save crop sub photo not yet done ! save time : 0.2573363780975342 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.07731890678405762 time for calcul the mask position with numpy : 0.021268367767333984 nb_pixel_total : 2039867 time to create 1 rle with new method : 0.5057671070098877 time for calcul the mask position with numpy : 0.006271839141845703 nb_pixel_total : 3524 time to create 1 rle with old method : 0.0040128231048583984 time for calcul the mask position with numpy : 0.00648188591003418 nb_pixel_total : 6440 time to create 1 rle with old method : 0.007246255874633789 time for calcul the mask position with numpy : 0.006555318832397461 nb_pixel_total : 8733 time to create 1 rle with old method : 0.009751558303833008 time for calcul the mask position with numpy : 0.006543159484863281 nb_pixel_total : 9788 time to create 1 rle with old method : 0.011066913604736328 time for calcul the mask position with numpy : 0.006999015808105469 nb_pixel_total : 5248 time to create 1 rle with old method : 0.006242275238037109 create new chi : 0.5986490249633789 time to delete rle : 0.0004901885986328125 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2188 TO DO : save crop sub photo not yet done ! save time : 0.15662813186645508 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04590415954589844 time for calcul the mask position with numpy : 0.02037334442138672 nb_pixel_total : 2057506 time to create 1 rle with new method : 0.030209064483642578 time for calcul the mask position with numpy : 0.006708860397338867 nb_pixel_total : 3012 time to create 1 rle with old method : 0.003506898880004883 time for calcul the mask position with numpy : 0.0065460205078125 nb_pixel_total : 13082 time to create 1 rle with old method : 0.014821290969848633 create new chi : 0.08246779441833496 time to delete rle : 0.00026154518127441406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1602 TO DO : save crop sub photo not yet done ! save time : 0.12368965148925781 map_output_result : {1376572123: (0.0, 'Should be the crop_list due to order', 0), 1376572120: (0.0, 'Should be the crop_list due to order', 0), 1376572116: (0.0, 'Should be the crop_list due to order', 0), 1376572111: (0.0, 'Should be the crop_list due to order', 0), 1376572107: (0.0, 'Should be the crop_list due to order', 0), 1376572104: (0.0, 'Should be the crop_list due to order', 0), 1376572091: (0.0, 'Should be the crop_list due to order', 0), 1376572087: (0.0, 'Should be the crop_list due to order', 0), 1376572083: (0.0, 'Should be the crop_list due to order', 0), 1376572078: (0.0, 'Should be the crop_list due to order', 0), 1376572071: (0.0, 'Should be the crop_list due to order', 0), 1376572064: (0.0, 'Should be the crop_list due to order', 0), 1376572049: (0.0, 'Should be the crop_list due to order', 0), 1376572047: (0.0, 'Should be the crop_list due to order', 0), 1376572044: (0.0, 'Should be the crop_list due to order', 0), 1376572040: (0.0, 'Should be the crop_list due to order', 0), 1376572038: (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 [1376572123, 1376572120, 1376572116, 1376572111, 1376572107, 1376572104, 1376572091, 1376572087, 1376572083, 1376572078, 1376572071, 1376572064, 1376572049, 1376572047, 1376572044, 1376572040, 1376572038] Looping around the photos to save general results len do output : 17 /1376572123.Didn't retrieve data . /1376572120.Didn't retrieve data . /1376572116.Didn't retrieve data . /1376572111.Didn't retrieve data . /1376572107.Didn't retrieve data . /1376572104.Didn't retrieve data . /1376572091.Didn't retrieve data . /1376572087.Didn't retrieve data . /1376572083.Didn't retrieve data . /1376572078.Didn't retrieve data . /1376572071.Didn't retrieve data . /1376572064.Didn't retrieve data . /1376572049.Didn't retrieve data . /1376572047.Didn't retrieve data . /1376572044.Didn't retrieve data . /1376572040.Didn't retrieve data . /1376572038.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, '3510687') ('3318', '25907323', '1376572123', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572120', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572116', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572111', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572107', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572104', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572091', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572087', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572083', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572078', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572071', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572064', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572049', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572047', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572044', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572040', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572038', None, None, None, None, None, '3510687') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.014165401458740234 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.80597949028015 time spend to save output : 0.014803647994995117 total time spend for step 3 : 18.820783138275146 step4:ventilate_hashtags_in_portfolio Tue Aug 12 11:21:48 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 : 25907323 get user id for portfolio 25907323 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`=25907323 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','pehd','pet_clair','pet_fonce','autre','mal_croppe','flou','papier','environnement','metal')) 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`=25907323 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','pehd','pet_clair','pet_fonce','autre','mal_croppe','flou','papier','environnement','metal')) 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`=25907323 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','pehd','pet_clair','pet_fonce','autre','mal_croppe','flou','papier','environnement','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25908121,25908122,25908123,25908124,25908125,25908126,25908127,25908128,25908129,25908130,25908131?tags=carton,background,pehd,pet_clair,pet_fonce,autre,mal_croppe,flou,papier,environnement,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376572123, 1376572120, 1376572116, 1376572111, 1376572107, 1376572104, 1376572091, 1376572087, 1376572083, 1376572078, 1376572071, 1376572064, 1376572049, 1376572047, 1376572044, 1376572040, 1376572038] Looping around the photos to save general results len do output : 1 /25907323. 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, '3510687') ('3318', '25907323', '1376572123', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572120', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572116', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572111', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572107', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572104', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572091', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572087', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572083', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572078', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572071', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572064', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572049', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572047', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572044', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572040', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572038', None, None, None, None, None, '3510687') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015815258026123047 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5771119594573975 time spend to save output : 0.016155719757080078 total time spend for step 4 : 1.5932676792144775 step5:final Tue Aug 12 11:21: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 ! 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 : {1376572123: ('0.021655971995279587',), 1376572120: ('0.021655971995279587',), 1376572116: ('0.021655971995279587',), 1376572111: ('0.021655971995279587',), 1376572107: ('0.021655971995279587',), 1376572104: ('0.021655971995279587',), 1376572091: ('0.021655971995279587',), 1376572087: ('0.021655971995279587',), 1376572083: ('0.021655971995279587',), 1376572078: ('0.021655971995279587',), 1376572071: ('0.021655971995279587',), 1376572064: ('0.021655971995279587',), 1376572049: ('0.021655971995279587',), 1376572047: ('0.021655971995279587',), 1376572044: ('0.021655971995279587',), 1376572040: ('0.021655971995279587',), 1376572038: ('0.021655971995279587',)} new output for save of step final : {1376572123: ('0.021655971995279587',), 1376572120: ('0.021655971995279587',), 1376572116: ('0.021655971995279587',), 1376572111: ('0.021655971995279587',), 1376572107: ('0.021655971995279587',), 1376572104: ('0.021655971995279587',), 1376572091: ('0.021655971995279587',), 1376572087: ('0.021655971995279587',), 1376572083: ('0.021655971995279587',), 1376572078: ('0.021655971995279587',), 1376572071: ('0.021655971995279587',), 1376572064: ('0.021655971995279587',), 1376572049: ('0.021655971995279587',), 1376572047: ('0.021655971995279587',), 1376572044: ('0.021655971995279587',), 1376572040: ('0.021655971995279587',), 1376572038: ('0.021655971995279587',)} [1376572123, 1376572120, 1376572116, 1376572111, 1376572107, 1376572104, 1376572091, 1376572087, 1376572083, 1376572078, 1376572071, 1376572064, 1376572049, 1376572047, 1376572044, 1376572040, 1376572038] Looping around the photos to save general results len do output : 17 /1376572123.Didn't retrieve data . /1376572120.Didn't retrieve data . /1376572116.Didn't retrieve data . /1376572111.Didn't retrieve data . /1376572107.Didn't retrieve data . /1376572104.Didn't retrieve data . /1376572091.Didn't retrieve data . /1376572087.Didn't retrieve data . /1376572083.Didn't retrieve data . /1376572078.Didn't retrieve data . /1376572071.Didn't retrieve data . /1376572064.Didn't retrieve data . /1376572049.Didn't retrieve data . /1376572047.Didn't retrieve data . /1376572044.Didn't retrieve data . /1376572040.Didn't retrieve data . /1376572038.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, '3510687') ('3318', '25907323', '1376572123', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572120', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572116', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572111', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572107', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572104', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572091', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572087', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572083', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572078', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572071', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572064', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572049', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572047', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572044', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572040', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572038', None, None, None, None, None, '3510687') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.01327824592590332 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11588907241821289 time spend to save output : 0.014075517654418945 total time spend for step 5 : 0.12996459007263184 step6:blur_detection Tue Aug 12 11:21: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 blur_detection methode: ratio et variance treat image : temp/1754990427_678689_1376572123_fa283f7e71ed91de91d1284e2933e0b9.jpg resize: (1080, 1920) 1376572123 0.19248231350306397 treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1.jpg resize: (1080, 1920) 1376572120 -4.150448848860885 treat image : temp/1754990427_678689_1376572116_ac411784680f3bbf43bb0b38f3651380.jpg resize: (1080, 1920) 1376572116 0.6912877042506465 treat image : temp/1754990427_678689_1376572111_1fa2014b5da9e700543dc047b9214069.jpg resize: (1080, 1920) 1376572111 -4.156449719021029 treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898.jpg resize: (1080, 1920) 1376572107 0.5437811352393733 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d.jpg resize: (1080, 1920) 1376572104 -0.8500712206579336 treat image : temp/1754990427_678689_1376572091_6aebe8c6ffc485bddf686de6ff823b65.jpg resize: (1080, 1920) 1376572091 1.1371127074955076 treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14.jpg resize: (1080, 1920) 1376572087 0.10343465178256807 treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4.jpg resize: (1080, 1920) 1376572083 -3.738357404881292 treat image : temp/1754990427_678689_1376572078_2ce3b19888e8a65d6d8973256624bc2b.jpg resize: (1080, 1920) 1376572078 0.7486097815260433 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7.jpg resize: (1080, 1920) 1376572071 -3.7427830196886176 treat image : temp/1754990427_678689_1376572064_f99177f9e5ca5364aa02f29c0ce1aebb.jpg resize: (1080, 1920) 1376572064 0.07995171037627527 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34.jpg resize: (1080, 1920) 1376572049 0.37493605063008495 treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb.jpg resize: (1080, 1920) 1376572047 -0.3210671583045631 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61.jpg resize: (1080, 1920) 1376572044 0.5948738107285165 treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2.jpg resize: (1080, 1920) 1376572040 0.3380886253619845 treat image : temp/1754990427_678689_1376572038_916004cc59b1c12a5f46ed8badb5a143.jpg resize: (1080, 1920) 1376572038 -0.2594284164619001 treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949915_0.png resize: (76, 131) 1376588723 2.650420270034817 treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949916_0.png resize: (185, 85) 1376588724 -2.3211803492681686 treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949917_0.png resize: (86, 94) 1376588726 -3.653004445784094 treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949918_0.png resize: (124, 102) 1376588727 -1.890403582762546 treat image : temp/1754990427_678689_1376572111_1fa2014b5da9e700543dc047b9214069_rle_crop_3911949920_0.png resize: (140, 107) 1376588728 -4.732866515472812 treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949921_0.png resize: (109, 85) 1376588730 -1.4061262677886701 treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949924_0.png resize: (89, 92) 1376588731 0.2080929665688329 treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949926_0.png resize: (67, 56) 1376588732 20.0 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949927_0.png resize: (66, 45) 1376588733 20.0 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949928_0.png resize: (84, 79) 1376588735 -1.191695281151534 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949930_0.png resize: (83, 141) 1376588736 -4.439577357896845 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949931_0.png resize: (48, 43) 1376588737 20.0 treat image : temp/1754990427_678689_1376572091_6aebe8c6ffc485bddf686de6ff823b65_rle_crop_3911949934_0.png resize: (93, 170) 1376588739 -2.9665611438171298 treat image : temp/1754990427_678689_1376572091_6aebe8c6ffc485bddf686de6ff823b65_rle_crop_3911949935_0.png resize: (56, 74) 1376588740 -0.23593639039216097 treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14_rle_crop_3911949936_0.png resize: (151, 155) 1376588741 -1.7757839195507374 treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14_rle_crop_3911949937_0.png resize: (95, 80) 1376588742 -1.8193033079454588 treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949939_0.png resize: (65, 132) 1376588744 7.641302605779225 treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949940_0.png resize: (64, 73) 1376588745 -1.8407745279944263 treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949941_0.png resize: (49, 103) 1376588746 -1.4968894010104314 treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949942_0.png resize: (40, 97) 1376588748 -2.4036927021622003 treat image : temp/1754990427_678689_1376572078_2ce3b19888e8a65d6d8973256624bc2b_rle_crop_3911949945_0.png resize: (100, 117) 1376588749 2.2544951068819907 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949946_0.png resize: (88, 109) 1376588750 -2.6708661797518687 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949947_0.png resize: (71, 75) 1376588751 -2.626059498083881 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949948_0.png resize: (62, 89) 1376588753 -2.952376927569232 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949949_0.png resize: (170, 116) 1376588754 -1.490103541338565 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949951_0.png resize: (80, 44) 1376588756 0.4530152995340955 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949954_0.png resize: (68, 86) 1376588758 -1.069026064412928 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949955_0.png resize: (69, 112) 1376588759 -0.4557234109153364 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949959_0.png resize: (62, 70) 1376588760 -2.0782660370729147 treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949962_0.png resize: (161, 237) 1376588761 -1.3139124835576066 treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949963_0.png resize: (50, 231) 1376588763 0.6704610713760017 treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949964_0.png resize: (58, 169) 1376588764 -1.9361132841762847 treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949965_0.png resize: (149, 320) 1376588765 -0.022346027869134633 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949966_0.png resize: (167, 186) 1376588767 -0.14901411381507101 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949968_0.png resize: (72, 82) 1376588768 -1.7158842759149138 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949969_0.png resize: (58, 95) 1376588769 -0.4095588141348018 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949970_0.png resize: (67, 158) 1376588770 -0.07140200982267038 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949972_0.png resize: (144, 179) 1376588773 -1.4313895399788732 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949973_0.png resize: (157, 90) 1376588774 -1.5681274988648572 treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949975_0.png resize: (83, 103) 1376588775 -0.5112176468440021 treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949976_0.png resize: (128, 112) 1376588777 -0.4758343724532154 treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949977_0.png resize: (162, 72) 1376588778 -0.13539126347944444 treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949979_0.png resize: (79, 61) 1376588779 -0.6015276638169822 treat image : temp/1754990427_678689_1376572038_916004cc59b1c12a5f46ed8badb5a143_rle_crop_3911949980_0.png resize: (148, 203) 1376588780 -1.0873374980858397 treat image : temp/1754990427_678689_1376572038_916004cc59b1c12a5f46ed8badb5a143_rle_crop_3911949981_0.png resize: (103, 43) 1376588782 0.10332045221136539 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949956_0.png resize: (215, 157) 1376588793 -2.418969808278926 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949957_0.png resize: (60, 73) 1376588795 -0.624326918660006 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949961_0.png resize: (62, 91) 1376588796 -1.3031061828804626 treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949978_0.png resize: (99, 91) 1376588797 -0.811521618810286 treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949943_0.png resize: (67, 131) 1376588805 -2.1427293566697965 treat image : temp/1754990427_678689_1376572123_fa283f7e71ed91de91d1284e2933e0b9_rle_crop_3911949914_0.png resize: (56, 48) 1376588845 0.9952791877197328 treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949922_0.png resize: (77, 85) 1376588846 -1.655745102438612 treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949923_0.png resize: (40, 88) 1376588847 -0.552105899068788 treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949925_0.png resize: (88, 66) 1376588848 1.2984654758474368 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949929_0.png resize: (136, 111) 1376588850 -3.6125330019664537 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949932_0.png resize: (81, 93) 1376588851 -4.73711895557803 treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14_rle_crop_3911949938_0.png resize: (215, 213) 1376588852 -1.0362554422879526 treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949944_0.png resize: (146, 131) 1376588854 -2.9855852162081167 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949952_0.png resize: (153, 193) 1376588855 -3.269042711597278 treat image : temp/1754990427_678689_1376572064_f99177f9e5ca5364aa02f29c0ce1aebb_rle_crop_3911949953_0.png resize: (258, 238) 1376588856 -1.2862270195667067 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949958_0.png resize: (583, 366) 1376588857 0.27697207513760513 treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949960_0.png resize: (69, 88) 1376588859 -0.9171641561581383 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949967_0.png resize: (146, 234) 1376588860 -0.757804046915222 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949971_0.png resize: (512, 283) 1376588861 0.3050903420267986 treat image : temp/1754990427_678689_1376572116_ac411784680f3bbf43bb0b38f3651380_rle_crop_3911949919_0.png resize: (111, 80) 1376588872 -0.7769173296692153 treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949933_0.png resize: (133, 125) 1376588874 -3.777862683709442 treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949950_0.png resize: (132, 45) 1376588875 -0.10743704259662917 treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949974_0.png resize: (76, 55) 1376588883 1.326212822576191 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 : 85 time used for this insertion : 0.03884768486022949 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 85 time used for this insertion : 0.04223966598510742 save missing photos in datou_result : time spend for datou_step_exec : 13.740182161331177 time spend to save output : 0.09976792335510254 total time spend for step 6 : 13.83995008468628 step7:brightness Tue Aug 12 11:22:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1754990427_678689_1376572123_fa283f7e71ed91de91d1284e2933e0b9.jpg treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1.jpg treat image : temp/1754990427_678689_1376572116_ac411784680f3bbf43bb0b38f3651380.jpg treat image : temp/1754990427_678689_1376572111_1fa2014b5da9e700543dc047b9214069.jpg treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898.jpg treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d.jpg treat image : temp/1754990427_678689_1376572091_6aebe8c6ffc485bddf686de6ff823b65.jpg treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14.jpg treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4.jpg treat image : temp/1754990427_678689_1376572078_2ce3b19888e8a65d6d8973256624bc2b.jpg treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7.jpg treat image : temp/1754990427_678689_1376572064_f99177f9e5ca5364aa02f29c0ce1aebb.jpg treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34.jpg treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb.jpg treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61.jpg treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2.jpg treat image : temp/1754990427_678689_1376572038_916004cc59b1c12a5f46ed8badb5a143.jpg treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949915_0.png treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949916_0.png treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949917_0.png treat image : temp/1754990427_678689_1376572120_2a54147e7d18ace0faa18592c1944aa1_rle_crop_3911949918_0.png treat image : temp/1754990427_678689_1376572111_1fa2014b5da9e700543dc047b9214069_rle_crop_3911949920_0.png treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949921_0.png treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949924_0.png treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949926_0.png treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949927_0.png treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949928_0.png treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949930_0.png treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949931_0.png treat image : temp/1754990427_678689_1376572091_6aebe8c6ffc485bddf686de6ff823b65_rle_crop_3911949934_0.png treat image : temp/1754990427_678689_1376572091_6aebe8c6ffc485bddf686de6ff823b65_rle_crop_3911949935_0.png treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14_rle_crop_3911949936_0.png treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14_rle_crop_3911949937_0.png treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949939_0.png treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949940_0.png treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949941_0.png treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949942_0.png treat image : temp/1754990427_678689_1376572078_2ce3b19888e8a65d6d8973256624bc2b_rle_crop_3911949945_0.png treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949946_0.png treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949947_0.png treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949948_0.png treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949949_0.png treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949951_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949954_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949955_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949959_0.png treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949962_0.png treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949963_0.png treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949964_0.png treat image : temp/1754990427_678689_1376572047_3966713a96a7ee15508371885f8e54bb_rle_crop_3911949965_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949966_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949968_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949969_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949970_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949972_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949973_0.png treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949975_0.png treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949976_0.png treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949977_0.png treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949979_0.png treat image : temp/1754990427_678689_1376572038_916004cc59b1c12a5f46ed8badb5a143_rle_crop_3911949980_0.png treat image : temp/1754990427_678689_1376572038_916004cc59b1c12a5f46ed8badb5a143_rle_crop_3911949981_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949956_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949957_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949961_0.png treat image : temp/1754990427_678689_1376572040_f5ad24bc6853a3bdea32d753f405d0e2_rle_crop_3911949978_0.png treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949943_0.png treat image : temp/1754990427_678689_1376572123_fa283f7e71ed91de91d1284e2933e0b9_rle_crop_3911949914_0.png treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949922_0.png treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949923_0.png treat image : temp/1754990427_678689_1376572107_164843feb0775b0fc1a4df9d2d28a898_rle_crop_3911949925_0.png treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949929_0.png treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949932_0.png treat image : temp/1754990427_678689_1376572087_c67b52e0911fb8e52f680b91faf75e14_rle_crop_3911949938_0.png treat image : temp/1754990427_678689_1376572083_4df4860d85eb9b9a40dcc9d72799e5f4_rle_crop_3911949944_0.png treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949952_0.png treat image : temp/1754990427_678689_1376572064_f99177f9e5ca5364aa02f29c0ce1aebb_rle_crop_3911949953_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949958_0.png treat image : temp/1754990427_678689_1376572049_4d728faec17a2b8daea41a21bc033a34_rle_crop_3911949960_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949967_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949971_0.png treat image : temp/1754990427_678689_1376572116_ac411784680f3bbf43bb0b38f3651380_rle_crop_3911949919_0.png treat image : temp/1754990427_678689_1376572104_b85cc01c71fdb00a58ffd5eda000980d_rle_crop_3911949933_0.png treat image : temp/1754990427_678689_1376572071_9d96329be41189186ceef6a06ef696d7_rle_crop_3911949950_0.png treat image : temp/1754990427_678689_1376572044_424fa7b3ef38bed6381eb63c329eef61_rle_crop_3911949974_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 : 85 time used for this insertion : 0.01613163948059082 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 85 time used for this insertion : 0.018016815185546875 save missing photos in datou_result : time spend for datou_step_exec : 4.112778425216675 time spend to save output : 0.03917646408081055 total time spend for step 7 : 4.151954889297485 step8:velours_tree Tue Aug 12 11:22:07 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.14168095588684082 time spend to save output : 3.3855438232421875e-05 total time spend for step 8 : 0.14171481132507324 step9:send_mail_cod Tue Aug 12 11:22:07 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_P25907323_12-08-2025_11_22_07.pdf 25908121 change filename to text .change filename to text .change filename to text .change filename to text .imagette259081211754990527 25908122 imagette259081221754990528 25908123 imagette259081231754990528 25908124 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 .imagette259081241754990528 25908125 change filename to text .imagette259081251754990528 25908126 change filename to text .change filename to text .change filename to text .imagette259081261754990529 25908127 imagette259081271754990529 25908128 imagette259081281754990529 25908129 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 .imagette259081291754990529 25908131 change filename to text .imagette259081311754990530 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25907323 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25908121,25908122,25908123,25908124,25908125,25908126,25908127,25908128,25908129,25908130,25908131?tags=carton,background,pehd,pet_clair,pet_fonce,autre,mal_croppe,flou,papier,environnement,metal args[1376572123] : ((1376572123, 0.19248231350306397, 492688767), (1376572123, 0.8613285983585868, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572120] : ((1376572120, -4.150448848860885, 492609224), (1376572120, 0.5232392200854844, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572116] : ((1376572116, 0.6912877042506465, 492688767), (1376572116, 0.973547338620227, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572111] : ((1376572111, -4.156449719021029, 492609224), (1376572111, 0.5296774591830563, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572107] : ((1376572107, 0.5437811352393733, 492688767), (1376572107, 0.40691670141091413, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572104] : ((1376572104, -0.8500712206579336, 492688767), (1376572104, 0.31134012802659217, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572091] : ((1376572091, 1.1371127074955076, 492688767), (1376572091, 0.7207299412686814, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572087] : ((1376572087, 0.10343465178256807, 492688767), (1376572087, 0.8934572335427688, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572083] : ((1376572083, -3.738357404881292, 492609224), (1376572083, 0.3141885620473423, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572078] : ((1376572078, 0.7486097815260433, 492688767), (1376572078, 0.6566889774609665, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572071] : ((1376572071, -3.7427830196886176, 492609224), (1376572071, 0.3875676489311315, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572064] : ((1376572064, 0.07995171037627527, 492688767), (1376572064, 0.9017307856654635, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572049] : ((1376572049, 0.37493605063008495, 492688767), (1376572049, 0.4112273181876828, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572047] : ((1376572047, -0.3210671583045631, 492688767), (1376572047, 0.5518939437114837, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572044] : ((1376572044, 0.5948738107285165, 492688767), (1376572044, 0.11247478101491054, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572040] : ((1376572040, 0.3380886253619845, 492688767), (1376572040, 0.4713611339999471, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com args[1376572038] : ((1376572038, -0.2594284164619001, 492688767), (1376572038, 0.926452514645056, 2107752395), '0.021655971995279587') We are sending mail with results at report@fotonower.com refus_total : 0.021655971995279587 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=25907323 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_P25907323_12-08-2025_11_22_07.pdf results_Auto_P25907323_12-08-2025_11_22_07.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907323_12-08-2025_11_22_07.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','25907323','results_Auto_P25907323_12-08-2025_11_22_07.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907323_12-08-2025_11_22_07.pdf','pdf','','0.23','0.021655971995279587') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25907323

https://www.fotonower.com/image?json=false&list_photos_id=1376572123
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572120
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572116
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572111
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572107
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572104
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572091
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1371127074955076)
https://www.fotonower.com/image?json=false&list_photos_id=1376572087
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572083
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572078
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572071
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572064
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572049
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572047
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572044
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572040
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572038
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/25908121?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25908124?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/25908125?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25908126?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25908129?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25908131?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907323_12-08-2025_11_22_07.pdf.

Lien vers velours :https://www.fotonower.com/velours/25908121,25908122,25908123,25908124,25908125,25908126,25908127,25908128,25908129,25908130,25908131?tags=carton,background,pehd,pet_clair,pet_fonce,autre,mal_croppe,flou,papier,environnement,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 12 Aug 2025 09:22:12 GMT Content-Length: 0 Connection: close X-Message-Id: atWnij5oRTiJRJx_VbJVdg 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 [1376572123, 1376572120, 1376572116, 1376572111, 1376572107, 1376572104, 1376572091, 1376572087, 1376572083, 1376572078, 1376572071, 1376572064, 1376572049, 1376572047, 1376572044, 1376572040, 1376572038] 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, '3510687') ('3318', '25907323', '1376572123', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572120', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572116', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572111', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572107', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572104', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572091', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572087', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572083', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572078', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572071', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572064', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572049', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572047', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572044', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572040', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572038', None, None, None, None, None, '3510687') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.014583587646484375 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.410606384277344 time spend to save output : 0.014840364456176758 total time spend for step 9 : 4.4254467487335205 step10:split_time_score Tue Aug 12 11:22:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 17),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12082025 25907323 Nombre de photos uploadées : 17 / 23040 (0%) 12082025 25907323 Nombre de photos taguées (types de déchets): 0 / 17 (0%) 12082025 25907323 Nombre de photos taguées (volume) : 0 / 17 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008006095886230469 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19903349876403809 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 = 25907306 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907312 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907315 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907317 order by id desc limit 1 Qualite : 0.021655971995279587 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907323_12-08-2025_11_22_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907323 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`=25907323 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907331 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12082025': {'nb_upload': 17, '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 [1376572123, 1376572120, 1376572116, 1376572111, 1376572107, 1376572104, 1376572091, 1376572087, 1376572083, 1376572078, 1376572071, 1376572064, 1376572049, 1376572047, 1376572044, 1376572040, 1376572038] Looping around the photos to save general results len do output : 1 /25907323Didn'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, '3510687') ('3318', '25907323', '1376572123', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572120', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572116', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572111', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572107', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572104', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572091', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572087', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572083', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572078', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572071', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572064', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572049', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572047', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572044', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572040', None, None, None, None, None, '3510687') ('3318', None, None, None, None, None, None, None, '3510687') ('3318', '25907323', '1376572038', None, None, None, None, None, '3510687') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01571798324584961 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.332393407821655 time spend to save output : 0.015988826751708984 total time spend for step 10 : 5.348382234573364 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 46.57user 36.23system 1:52.85elapsed 73%CPU (0avgtext+0avgdata 3010600maxresident)k 499040inputs+16760outputs (50major+2127217minor)pagefaults 0swaps