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 : 2045842 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 : ['3483115'] with mtr_portfolio_ids : ['25808199'] and first list_photo_ids : [] new path : /proc/2045842/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.0757875442504883 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 Fri Aug 8 08:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-08 08:10:32.486715: 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-08 08:10:32.511420: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-08 08:10:32.513637: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7544000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-08 08:10:32.513695: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-08 08:10:32.517566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-08 08:10:32.632480: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2a45bd60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-08 08:10:32.632527: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-08 08:10:32.633980: 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-08 08:10:32.634382: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 08:10:32.637432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 08:10:32.640345: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-08 08:10:32.640739: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-08 08:10:32.643410: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-08 08:10:32.644787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-08 08:10:32.650151: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-08 08:10:32.652156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-08 08:10:32.652235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 08:10:32.652989: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-08 08:10:32.653004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-08 08:10:32.653013: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-08 08:10:32.654317: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-08 08:10:32.900225: 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-08 08:10:32.900318: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 08:10:32.900348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 08:10:32.900374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-08 08:10:32.900401: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-08 08:10:32.900426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-08 08:10:32.900451: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-08 08:10:32.900477: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-08 08:10:32.902084: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-08 08:10:32.903440: 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-08 08:10:32.903480: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 08:10:32.903500: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 08:10:32.903517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-08 08:10:32.903534: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-08 08:10:32.903551: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-08 08:10:32.903568: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-08 08:10:32.903585: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-08 08:10:32.905150: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-08 08:10:32.905181: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-08 08:10:32.905191: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-08 08:10:32.905201: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-08 08:10:32.906820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-08 08:10:40.675076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 08:10:40.877867: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 58.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 55.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.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: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 64.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 Detection mask done ! Trying to reset tf kernel 2046482 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1888 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 7177 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.0001780986785888672 nb_pixel_total : 4713 time to create 1 rle with old method : 0.005857706069946289 length of segment : 109 time for calcul the mask position with numpy : 9.393692016601562e-05 nb_pixel_total : 3276 time to create 1 rle with old method : 0.004117488861083984 length of segment : 66 time for calcul the mask position with numpy : 0.0017621517181396484 nb_pixel_total : 102536 time to create 1 rle with old method : 0.1253950595855713 length of segment : 509 time for calcul the mask position with numpy : 0.012256145477294922 nb_pixel_total : 745243 time to create 1 rle with new method : 0.05403256416320801 length of segment : 1004 time for calcul the mask position with numpy : 0.0014524459838867188 nb_pixel_total : 96888 time to create 1 rle with old method : 0.1114649772644043 length of segment : 512 time for calcul the mask position with numpy : 0.00014591217041015625 nb_pixel_total : 8736 time to create 1 rle with old method : 0.01049661636352539 length of segment : 119 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 9815 time to create 1 rle with old method : 0.012317657470703125 length of segment : 64 time for calcul the mask position with numpy : 8.606910705566406e-05 nb_pixel_total : 3988 time to create 1 rle with old method : 0.0048291683197021484 length of segment : 90 time for calcul the mask position with numpy : 0.00011849403381347656 nb_pixel_total : 7583 time to create 1 rle with old method : 0.009290695190429688 length of segment : 83 time for calcul the mask position with numpy : 0.0014133453369140625 nb_pixel_total : 114755 time to create 1 rle with old method : 0.13138270378112793 length of segment : 540 time for calcul the mask position with numpy : 0.00015687942504882812 nb_pixel_total : 9071 time to create 1 rle with old method : 0.010627031326293945 length of segment : 116 time for calcul the mask position with numpy : 0.00017261505126953125 nb_pixel_total : 11492 time to create 1 rle with old method : 0.013494253158569336 length of segment : 117 time for calcul the mask position with numpy : 0.0001380443572998047 nb_pixel_total : 7764 time to create 1 rle with old method : 0.009133100509643555 length of segment : 106 time for calcul the mask position with numpy : 0.000133514404296875 nb_pixel_total : 7123 time to create 1 rle with old method : 0.008263826370239258 length of segment : 142 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 24017 time to create 1 rle with old method : 0.027473926544189453 length of segment : 133 time for calcul the mask position with numpy : 7.486343383789062e-05 nb_pixel_total : 3804 time to create 1 rle with old method : 0.004670858383178711 length of segment : 61 time for calcul the mask position with numpy : 0.00036334991455078125 nb_pixel_total : 22835 time to create 1 rle with old method : 0.02659153938293457 length of segment : 271 time for calcul the mask position with numpy : 6.318092346191406e-05 nb_pixel_total : 2493 time to create 1 rle with old method : 0.003086566925048828 length of segment : 45 time for calcul the mask position with numpy : 7.700920104980469e-05 nb_pixel_total : 3110 time to create 1 rle with old method : 0.00400090217590332 length of segment : 63 time for calcul the mask position with numpy : 7.772445678710938e-05 nb_pixel_total : 3241 time to create 1 rle with old method : 0.004033565521240234 length of segment : 64 time for calcul the mask position with numpy : 7.152557373046875e-05 nb_pixel_total : 3402 time to create 1 rle with old method : 0.004105567932128906 length of segment : 54 time for calcul the mask position with numpy : 8.106231689453125e-05 nb_pixel_total : 3797 time to create 1 rle with old method : 0.004495143890380859 length of segment : 71 time for calcul the mask position with numpy : 0.00010776519775390625 nb_pixel_total : 4294 time to create 1 rle with old method : 0.004981517791748047 length of segment : 123 time for calcul the mask position with numpy : 0.00947260856628418 nb_pixel_total : 757892 time to create 1 rle with new method : 0.018083572387695312 length of segment : 998 time for calcul the mask position with numpy : 0.011143684387207031 nb_pixel_total : 946946 time to create 1 rle with new method : 0.031247615814208984 length of segment : 1089 time for calcul the mask position with numpy : 0.000240325927734375 nb_pixel_total : 4725 time to create 1 rle with old method : 0.005871772766113281 length of segment : 80 time for calcul the mask position with numpy : 0.00038242340087890625 nb_pixel_total : 11336 time to create 1 rle with old method : 0.013364076614379883 length of segment : 154 time spent for convertir_results : 1.915038824081421 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 27 chid ids of type : 3594 Number RLEs to save : 6783 save missing photos in datou_result : time spend for datou_step_exec : 22.438140869140625 time spend to save output : 0.8743307590484619 total time spend for step 1 : 23.312471628189087 step2:crop_condition Fri Aug 8 08:10:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 9 ! batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754633453_2045842 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 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.7647085189819336 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 ! 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 : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754633458_2045842 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 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9561505317687988 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754633471_2045842 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 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6906023025512695 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1375812677, 1375812344, 1375812331, 1375812308, 1375812282, 1375812267, 1375812266, 1375812147, 1375812126] Looping around the photos to save general results len do output : 27 /1375819580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375819632Didn'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, '3483115') ('3318', '25808199', '1375812677', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812344', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812331', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812308', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812282', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812267', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812266', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812147', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812126', None, None, None, None, None, '3483115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 time used for this insertion : 0.05583357810974121 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.60920739173889 time spend to save output : 0.05717825889587402 total time spend for step 2 : 20.666385650634766 step3:rle_unique_nms_with_priority Fri Aug 8 08:11:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.6395547389984131 time for calcul the mask position with numpy : 0.06337809562683105 nb_pixel_total : 1963075 time to create 1 rle with new method : 0.1678943634033203 time for calcul the mask position with numpy : 0.010234832763671875 nb_pixel_total : 102536 time to create 1 rle with old method : 0.11514568328857422 time for calcul the mask position with numpy : 0.006252765655517578 nb_pixel_total : 3276 time to create 1 rle with old method : 0.0035779476165771484 time for calcul the mask position with numpy : 0.0058062076568603516 nb_pixel_total : 4713 time to create 1 rle with old method : 0.005152702331542969 create new chi : 0.3876004219055176 time to delete rle : 0.029158353805541992 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2448 TO DO : save crop sub photo not yet done ! save time : 0.323650598526001 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.40700316429138184 time for calcul the mask position with numpy : 0.038926124572753906 nb_pixel_total : 1216449 time to create 1 rle with new method : 0.15395164489746094 time for calcul the mask position with numpy : 0.006153106689453125 nb_pixel_total : 3988 time to create 1 rle with old method : 0.00469517707824707 time for calcul the mask position with numpy : 0.006140470504760742 nb_pixel_total : 9815 time to create 1 rle with old method : 0.011011838912963867 time for calcul the mask position with numpy : 0.0057604312896728516 nb_pixel_total : 1217 time to create 1 rle with old method : 0.001394033432006836 time for calcul the mask position with numpy : 0.006814718246459961 nb_pixel_total : 96888 time to create 1 rle with old method : 0.10824155807495117 time for calcul the mask position with numpy : 0.011806726455688477 nb_pixel_total : 745243 time to create 1 rle with new method : 0.14976978302001953 create new chi : 0.5143685340881348 time to delete rle : 0.0004932880401611328 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4481 TO DO : save crop sub photo not yet done ! save time : 0.30911827087402344 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05123090744018555 time for calcul the mask position with numpy : 0.01755976676940918 nb_pixel_total : 1942191 time to create 1 rle with new method : 0.027972936630249023 time for calcul the mask position with numpy : 0.00594019889831543 nb_pixel_total : 9071 time to create 1 rle with old method : 0.00989985466003418 time for calcul the mask position with numpy : 0.006528139114379883 nb_pixel_total : 114755 time to create 1 rle with old method : 0.12789320945739746 time for calcul the mask position with numpy : 0.006006956100463867 nb_pixel_total : 7583 time to create 1 rle with old method : 0.008289337158203125 create new chi : 0.21675968170166016 time to delete rle : 0.0003991127014160156 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2558 TO DO : save crop sub photo not yet done ! save time : 0.34254026412963867 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03972887992858887 time for calcul the mask position with numpy : 0.0659487247467041 nb_pixel_total : 2062108 time to create 1 rle with new method : 0.15034747123718262 time for calcul the mask position with numpy : 0.0062520503997802734 nb_pixel_total : 11492 time to create 1 rle with old method : 0.012900352478027344 create new chi : 0.24582266807556152 time to delete rle : 0.00020432472229003906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1314 TO DO : save crop sub photo not yet done ! save time : 0.14096665382385254 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.22212719917297363 time for calcul the mask position with numpy : 0.12704730033874512 nb_pixel_total : 2030892 time to create 1 rle with new method : 0.08481049537658691 time for calcul the mask position with numpy : 0.006309032440185547 nb_pixel_total : 3804 time to create 1 rle with old method : 0.004409074783325195 time for calcul the mask position with numpy : 0.006337642669677734 nb_pixel_total : 24017 time to create 1 rle with old method : 0.026873111724853516 time for calcul the mask position with numpy : 0.00628352165222168 nb_pixel_total : 7123 time to create 1 rle with old method : 0.008151769638061523 time for calcul the mask position with numpy : 0.005982398986816406 nb_pixel_total : 7764 time to create 1 rle with old method : 0.00881052017211914 create new chi : 0.29559826850891113 time to delete rle : 0.00033545494079589844 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1964 TO DO : save crop sub photo not yet done ! save time : 0.16072487831115723 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04932379722595215 time for calcul the mask position with numpy : 0.11864471435546875 nb_pixel_total : 2045162 time to create 1 rle with new method : 0.15968704223632812 time for calcul the mask position with numpy : 0.006571531295776367 nb_pixel_total : 3110 time to create 1 rle with old method : 0.005226850509643555 time for calcul the mask position with numpy : 0.006608009338378906 nb_pixel_total : 2493 time to create 1 rle with old method : 0.004194021224975586 time for calcul the mask position with numpy : 0.006589651107788086 nb_pixel_total : 22835 time to create 1 rle with old method : 0.03773999214172363 create new chi : 0.35484981536865234 time to delete rle : 0.0003743171691894531 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1838 TO DO : save crop sub photo not yet done ! save time : 0.22834348678588867 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.3472898006439209 time for calcul the mask position with numpy : 0.04094219207763672 nb_pixel_total : 1300974 time to create 1 rle with new method : 0.242173433303833 time for calcul the mask position with numpy : 0.01054835319519043 nb_pixel_total : 757892 time to create 1 rle with new method : 0.08108067512512207 time for calcul the mask position with numpy : 0.010895967483520508 nb_pixel_total : 4294 time to create 1 rle with old method : 0.005168437957763672 time for calcul the mask position with numpy : 0.00985264778137207 nb_pixel_total : 3797 time to create 1 rle with old method : 0.004227638244628906 time for calcul the mask position with numpy : 0.009793996810913086 nb_pixel_total : 3402 time to create 1 rle with old method : 0.00386810302734375 time for calcul the mask position with numpy : 0.009522438049316406 nb_pixel_total : 3241 time to create 1 rle with old method : 0.003772735595703125 create new chi : 0.44681882858276367 time to delete rle : 0.0004897117614746094 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3700 TO DO : save crop sub photo not yet done ! save time : 0.36786413192749023 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.056714534759521484 time for calcul the mask position with numpy : 0.012649297714233398 nb_pixel_total : 1122743 time to create 1 rle with new method : 0.13140583038330078 time for calcul the mask position with numpy : 0.00594019889831543 nb_pixel_total : 3911 time to create 1 rle with old method : 0.0045604705810546875 time for calcul the mask position with numpy : 0.011442184448242188 nb_pixel_total : 946946 time to create 1 rle with new method : 0.0269925594329834 create new chi : 0.19342851638793945 time to delete rle : 0.00029206275939941406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3364 TO DO : save crop sub photo not yet done ! save time : 0.23187613487243652 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.037627220153808594 time for calcul the mask position with numpy : 0.018215656280517578 nb_pixel_total : 2062264 time to create 1 rle with new method : 0.13668179512023926 time for calcul the mask position with numpy : 0.005774497985839844 nb_pixel_total : 11336 time to create 1 rle with old method : 0.012413263320922852 create new chi : 0.17329740524291992 time to delete rle : 0.00026035308837890625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1388 TO DO : save crop sub photo not yet done ! save time : 0.17392325401306152 map_output_result : {1375812677: (0.0, 'Should be the crop_list due to order', 0), 1375812344: (0.0, 'Should be the crop_list due to order', 0), 1375812331: (0.0, 'Should be the crop_list due to order', 0), 1375812308: (0.0, 'Should be the crop_list due to order', 0), 1375812282: (0.0, 'Should be the crop_list due to order', 0), 1375812267: (0.0, 'Should be the crop_list due to order', 0), 1375812266: (0.0, 'Should be the crop_list due to order', 0), 1375812147: (0.0, 'Should be the crop_list due to order', 0), 1375812126: (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 [1375812677, 1375812344, 1375812331, 1375812308, 1375812282, 1375812267, 1375812266, 1375812147, 1375812126] Looping around the photos to save general results len do output : 9 /1375812677.Didn't retrieve data . /1375812344.Didn't retrieve data . /1375812331.Didn't retrieve data . /1375812308.Didn't retrieve data . /1375812282.Didn't retrieve data . /1375812267.Didn't retrieve data . /1375812266.Didn't retrieve data . /1375812147.Didn't retrieve data . /1375812126.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, '3483115') ('3318', '25808199', '1375812677', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812344', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812331', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812308', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812282', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812267', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812266', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812147', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812126', None, None, None, None, None, '3483115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.04698681831359863 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.526921510696411 time spend to save output : 0.04731249809265137 total time spend for step 3 : 7.5742340087890625 step4:ventilate_hashtags_in_portfolio Fri Aug 8 08:11:21 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 : 25808199 get user id for portfolio 25808199 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`=25808199 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','pehd','carton','pet_clair','mal_croppe','autre','flou','pet_fonce','background','environnement')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25808199 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','pehd','carton','pet_clair','mal_croppe','autre','flou','pet_fonce','background','environnement')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25808199 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','pehd','carton','pet_clair','mal_croppe','autre','flou','pet_fonce','background','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25808402,25808403,25808404,25808405,25808406,25808407,25808408,25808409,25808410,25808411,25808412?tags=papier,metal,pehd,carton,pet_clair,mal_croppe,autre,flou,pet_fonce,background,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375812677, 1375812344, 1375812331, 1375812308, 1375812282, 1375812267, 1375812266, 1375812147, 1375812126] Looping around the photos to save general results len do output : 1 /25808199. 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, '3483115') ('3318', '25808199', '1375812677', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812344', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812331', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812308', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812282', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812267', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812266', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812147', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812126', None, None, None, None, None, '3483115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.03517866134643555 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6724882125854492 time spend to save output : 0.03537750244140625 total time spend for step 4 : 1.7078657150268555 step5:final Fri Aug 8 08:11:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1375812677: ('0.15627904235253773',), 1375812344: ('0.15627904235253773',), 1375812331: ('0.15627904235253773',), 1375812308: ('0.15627904235253773',), 1375812282: ('0.15627904235253773',), 1375812267: ('0.15627904235253773',), 1375812266: ('0.15627904235253773',), 1375812147: ('0.15627904235253773',), 1375812126: ('0.15627904235253773',)} new output for save of step final : {1375812677: ('0.15627904235253773',), 1375812344: ('0.15627904235253773',), 1375812331: ('0.15627904235253773',), 1375812308: ('0.15627904235253773',), 1375812282: ('0.15627904235253773',), 1375812267: ('0.15627904235253773',), 1375812266: ('0.15627904235253773',), 1375812147: ('0.15627904235253773',), 1375812126: ('0.15627904235253773',)} [1375812677, 1375812344, 1375812331, 1375812308, 1375812282, 1375812267, 1375812266, 1375812147, 1375812126] Looping around the photos to save general results len do output : 9 /1375812677.Didn't retrieve data . /1375812344.Didn't retrieve data . /1375812331.Didn't retrieve data . /1375812308.Didn't retrieve data . /1375812282.Didn't retrieve data . /1375812267.Didn't retrieve data . /1375812266.Didn't retrieve data . /1375812147.Didn't retrieve data . /1375812126.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, '3483115') ('3318', '25808199', '1375812677', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812344', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812331', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812308', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812282', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812267', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812266', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812147', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812126', None, None, None, None, None, '3483115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.02622056007385254 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13884973526000977 time spend to save output : 0.0267331600189209 total time spend for step 5 : 0.16558289527893066 step6:blur_detection Fri Aug 8 08:11:23 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/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690.jpg resize: (1080, 1920) 1375812677 1.063523345384039 treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4.jpg resize: (1080, 1920) 1375812344 1.5135032974646216 treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440.jpg resize: (1080, 1920) 1375812331 3.5534288303086923 treat image : temp/1754633428_2045842_1375812308_34a26930e79b26e33ef4ff1f02063650.jpg resize: (1080, 1920) 1375812308 1.0895106085681416 treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb.jpg resize: (1080, 1920) 1375812282 3.381622589766829 treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389.jpg resize: (1080, 1920) 1375812267 1.0421210213789542 treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e.jpg resize: (1080, 1920) 1375812266 -0.27153583190348346 treat image : temp/1754633428_2045842_1375812147_b0b1738fc20d2cf14eeb7b7c5b021089.jpg resize: (1080, 1920) 1375812147 5.052618197567308 treat image : temp/1754633428_2045842_1375812126_768a0782c559cd6a55ee87bcb6ad2113.jpg resize: (1080, 1920) 1375812126 1.1216960209798075 treat image : temp/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690_rle_crop_3906907465_0.png resize: (66, 79) 1375819580 -1.5112881675109113 treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907470_0.png resize: (62, 209) 1375819581 0.11823659926797304 treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440_rle_crop_3906907472_0.png resize: (82, 106) 1375819582 0.5850473773338334 treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907476_0.png resize: (105, 100) 1375819583 0.03229240139914987 treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907479_0.png resize: (61, 83) 1375819584 0.4927383658121023 treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907477_0.png resize: (142, 82) 1375819585 -1.3918612986029124 treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389_rle_crop_3906907481_0.png resize: (45, 78) 1375819586 -0.6357848612674003 treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389_rle_crop_3906907482_0.png resize: (63, 75) 1375819587 -0.9588027984737625 treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907484_0.png resize: (53, 79) 1375819588 -2.3348127068320634 treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907483_0.png resize: (64, 79) 1375819589 -1.2611056409803043 treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907486_0.png resize: (123, 81) 1375819590 -1.8417270657076512 treat image : temp/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690_rle_crop_3906907464_0.png resize: (117, 65) 1375819594 -1.6366250920269065 treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907471_0.png resize: (89, 60) 1375819595 0.6686843784376211 treat image : temp/1754633428_2045842_1375812308_34a26930e79b26e33ef4ff1f02063650_rle_crop_3906907475_0.png resize: (117, 132) 1375819596 -0.925226826490109 treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389_rle_crop_3906907480_0.png resize: (210, 180) 1375819597 -2.0359755565094106 treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907485_0.png resize: (71, 61) 1375819598 20.0 treat image : temp/1754633428_2045842_1375812147_b0b1738fc20d2cf14eeb7b7c5b021089_rle_crop_3906907489_0.png resize: (80, 91) 1375819599 -0.81450219314269 treat image : temp/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690_rle_crop_3906907466_0.png resize: (505, 347) 1375819623 -0.10549941627240296 treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907467_0.png resize: (1000, 1042) 1375819624 0.5822234527125492 treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907469_0.png resize: (118, 93) 1375819625 -1.3874535085857995 treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907468_0.png resize: (507, 321) 1375819626 -0.03956858789564951 treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440_rle_crop_3906907474_0.png resize: (116, 105) 1375819627 -1.400706394841506 treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440_rle_crop_3906907473_0.png resize: (538, 343) 1375819628 0.7540025097871416 treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907478_0.png resize: (126, 248) 1375819629 -0.2530644833810666 treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907487_0.png resize: (993, 1049) 1375819630 -0.7814714298267791 treat image : temp/1754633428_2045842_1375812147_b0b1738fc20d2cf14eeb7b7c5b021089_rle_crop_3906907488_0.png resize: (997, 1307) 1375819631 0.8851345766042014 treat image : temp/1754633428_2045842_1375812126_768a0782c559cd6a55ee87bcb6ad2113_rle_crop_3906907490_0.png resize: (153, 119) 1375819632 -1.112566099102084 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 : 36 time used for this insertion : 0.015197038650512695 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 36 time used for this insertion : 0.014081954956054688 save missing photos in datou_result : time spend for datou_step_exec : 8.29621171951294 time spend to save output : 0.03414559364318848 total time spend for step 6 : 8.330357313156128 step7:brightness Fri Aug 8 08:11:31 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/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690.jpg treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4.jpg treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440.jpg treat image : temp/1754633428_2045842_1375812308_34a26930e79b26e33ef4ff1f02063650.jpg treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb.jpg treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389.jpg treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e.jpg treat image : temp/1754633428_2045842_1375812147_b0b1738fc20d2cf14eeb7b7c5b021089.jpg treat image : temp/1754633428_2045842_1375812126_768a0782c559cd6a55ee87bcb6ad2113.jpg treat image : temp/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690_rle_crop_3906907465_0.png treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907470_0.png treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440_rle_crop_3906907472_0.png treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907476_0.png treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907479_0.png treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907477_0.png treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389_rle_crop_3906907481_0.png treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389_rle_crop_3906907482_0.png treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907484_0.png treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907483_0.png treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907486_0.png treat image : temp/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690_rle_crop_3906907464_0.png treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907471_0.png treat image : temp/1754633428_2045842_1375812308_34a26930e79b26e33ef4ff1f02063650_rle_crop_3906907475_0.png treat image : temp/1754633428_2045842_1375812267_408eeead181dc9469dba149a462d5389_rle_crop_3906907480_0.png treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907485_0.png treat image : temp/1754633428_2045842_1375812147_b0b1738fc20d2cf14eeb7b7c5b021089_rle_crop_3906907489_0.png treat image : temp/1754633428_2045842_1375812677_a9664416ae3ce8137f5705bded280690_rle_crop_3906907466_0.png treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907467_0.png treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907469_0.png treat image : temp/1754633428_2045842_1375812344_ec147a96cfa1a9167ed64499651f86d4_rle_crop_3906907468_0.png treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440_rle_crop_3906907474_0.png treat image : temp/1754633428_2045842_1375812331_b100c1ca5e669badd87dd5be7b793440_rle_crop_3906907473_0.png treat image : temp/1754633428_2045842_1375812282_c9f32940f42cbf1dbc300ada1c824bcb_rle_crop_3906907478_0.png treat image : temp/1754633428_2045842_1375812266_fb7c046700106892c43c59656e336c5e_rle_crop_3906907487_0.png treat image : temp/1754633428_2045842_1375812147_b0b1738fc20d2cf14eeb7b7c5b021089_rle_crop_3906907488_0.png treat image : temp/1754633428_2045842_1375812126_768a0782c559cd6a55ee87bcb6ad2113_rle_crop_3906907490_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 : 36 time used for this insertion : 0.016544818878173828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 36 time used for this insertion : 0.1164851188659668 save missing photos in datou_result : time spend for datou_step_exec : 2.3493425846099854 time spend to save output : 0.1373004913330078 total time spend for step 7 : 2.486643075942993 step8:velours_tree Fri Aug 8 08:11:33 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.12455511093139648 time spend to save output : 4.482269287109375e-05 total time spend for step 8 : 0.12459993362426758 step9:send_mail_cod Fri Aug 8 08:11:34 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_P25808199_08-08-2025_08_11_34.pdf 25808402 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 .imagette258084021754633494 25808403 imagette258084031754633494 25808404 imagette258084041754633494 25808405 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette258084051754633494 25808406 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 .imagette258084061754633495 25808407 imagette258084071754633496 25808408 imagette258084081754633496 25808409 imagette258084091754633496 25808410 imagette258084101754633496 25808411 imagette258084111754633496 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25808199 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25808402,25808403,25808404,25808405,25808406,25808407,25808408,25808409,25808410,25808411,25808412?tags=papier,metal,pehd,carton,pet_clair,mal_croppe,autre,flou,pet_fonce,background,environnement args[1375812677] : ((1375812677, 1.063523345384039, 492688767), (1375812677, 0.4374445566589844, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812344] : ((1375812344, 1.5135032974646216, 492688767), (1375812344, 0.8494848185803672, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812331] : ((1375812331, 3.5534288303086923, 492688767), (1375812331, 0.6273075866543265, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812308] : ((1375812308, 1.0895106085681416, 492688767), (1375812308, 0.6544536179640299, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812282] : ((1375812282, 3.381622589766829, 492688767), (1375812282, 0.668337190564534, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812267] : ((1375812267, 1.0421210213789542, 492688767), (1375812267, 0.2510000408310332, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812266] : ((1375812266, -0.27153583190348346, 492688767), (1375812266, 0.41092260563483923, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812147] : ((1375812147, 5.052618197567308, 492688767), (1375812147, 0.6494498593847498, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com args[1375812126] : ((1375812126, 1.1216960209798075, 492688767), (1375812126, 0.8994309354069542, 2107752395), '0.15627904235253773') We are sending mail with results at report@fotonower.com refus_total : 0.15627904235253773 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=25808199 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_P25808199_08-08-2025_08_11_34.pdf results_Auto_P25808199_08-08-2025_08_11_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808199_08-08-2025_08_11_34.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','25808199','results_Auto_P25808199_08-08-2025_08_11_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808199_08-08-2025_08_11_34.pdf','pdf','','0.34','0.15627904235253773') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25808199

https://www.fotonower.com/image?json=false&list_photos_id=1375812677
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.063523345384039)
https://www.fotonower.com/image?json=false&list_photos_id=1375812344
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5135032974646216)
https://www.fotonower.com/image?json=false&list_photos_id=1375812331
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.5534288303086923)
https://www.fotonower.com/image?json=false&list_photos_id=1375812308
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0895106085681416)
https://www.fotonower.com/image?json=false&list_photos_id=1375812282
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.381622589766829)
https://www.fotonower.com/image?json=false&list_photos_id=1375812267
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0421210213789542)
https://www.fotonower.com/image?json=false&list_photos_id=1375812266
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375812147
La photo est trop floue, merci de reprendre une photo.(avec le score = 5.052618197567308)
https://www.fotonower.com/image?json=false&list_photos_id=1375812126
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1216960209798075)

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

exemples de contaminants: papier: https://www.fotonower.com/view/25808402?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25808405?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25808406?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808199_08-08-2025_08_11_34.pdf.

Lien vers velours :https://www.fotonower.com/velours/25808402,25808403,25808404,25808405,25808406,25808407,25808408,25808409,25808410,25808411,25808412?tags=papier,metal,pehd,carton,pet_clair,mal_croppe,autre,flou,pet_fonce,background,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 08 Aug 2025 06:11:37 GMT Content-Length: 0 Connection: close X-Message-Id: rA32BnZnSsqr8N_KwsqQOQ 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 [1375812677, 1375812344, 1375812331, 1375812308, 1375812282, 1375812267, 1375812266, 1375812147, 1375812126] 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, '3483115') ('3318', '25808199', '1375812677', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812344', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812331', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812308', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812282', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812267', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812266', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812147', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812126', None, None, None, None, None, '3483115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.016430377960205078 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8648502826690674 time spend to save output : 0.016614913940429688 total time spend for step 9 : 3.881465196609497 step10:split_time_score Fri Aug 8 08:11:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('07', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08082025 25808199 Nombre de photos uploadées : 9 / 23040 (0%) 08082025 25808199 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 08082025 25808199 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.00046634674072265625 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21780610084533691 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.15627904235253773 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808199_08-08-2025_08_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25808199 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`=25808199 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08082025': {'nb_upload': 9, '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 [1375812677, 1375812344, 1375812331, 1375812308, 1375812282, 1375812267, 1375812266, 1375812147, 1375812126] Looping around the photos to save general results len do output : 1 /25808199Didn'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, '3483115') ('3318', '25808199', '1375812677', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812344', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812331', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812308', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812282', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812267', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812266', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812147', None, None, None, None, None, '3483115') ('3318', None, None, None, None, None, None, None, '3483115') ('3318', '25808199', '1375812126', None, None, None, None, None, '3483115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.015985488891601562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4494645595550537 time spend to save output : 0.016182899475097656 total time spend for step 10 : 0.46564745903015137 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 39.66user 18.64system 1:12.41elapsed 80%CPU (0avgtext+0avgdata 2747020maxresident)k 500248inputs+21416outputs (7major+1456452minor)pagefaults 0swaps