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 : 1066318 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 : ['3629951'] with mtr_portfolio_ids : ['26310908'] and first list_photo_ids : [] new path : /proc/1066318/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.7601685523986816 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 29 00:30:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10605 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-29 00:30:32.900032: 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-29 00:30:32.928560: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-29 00:30:32.930569: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2d7c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-29 00:30:32.930632: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-29 00:30:32.934689: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-29 00:30:33.120829: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1c35b460 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-29 00:30:33.120890: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-29 00:30:33.122160: 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-29 00:30:33.122618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 00:30:33.125986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 00:30:33.132103: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 00:30:33.132559: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 00:30:33.135783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 00:30:33.137136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 00:30:33.142597: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 00:30:33.144070: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 00:30:33.144148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 00:30:33.144953: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 00:30:33.144971: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 00:30:33.144981: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 00:30:33.146383: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9823 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-29 00:30:33.407839: 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-29 00:30:33.407963: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 00:30:33.407985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 00:30:33.408004: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 00:30:33.408022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 00:30:33.408039: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 00:30:33.408057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 00:30:33.408075: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 00:30:33.409650: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 00:30:33.411081: 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-29 00:30:33.411120: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 00:30:33.411139: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 00:30:33.411157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 00:30:33.411174: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 00:30:33.411191: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 00:30:33.411207: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 00:30:33.411224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 00:30:33.412783: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 00:30:33.412824: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 00:30:33.412836: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 00:30:33.412846: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 00:30:33.414281: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9823 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-29 00:30:42.014235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 00:30:42.189510: 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 70.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: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 54.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: 13.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: 38.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: 57.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: 69.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 Detection mask done ! Trying to reset tf kernel 1066940 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 737 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 6026 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.0019588470458984375 nb_pixel_total : 102395 time to create 1 rle with old method : 0.11091256141662598 length of segment : 516 time for calcul the mask position with numpy : 0.0003159046173095703 nb_pixel_total : 17736 time to create 1 rle with old method : 0.019379377365112305 length of segment : 152 time for calcul the mask position with numpy : 0.0003514289855957031 nb_pixel_total : 11937 time to create 1 rle with old method : 0.012782573699951172 length of segment : 382 time for calcul the mask position with numpy : 0.00014162063598632812 nb_pixel_total : 8499 time to create 1 rle with old method : 0.009338617324829102 length of segment : 98 time for calcul the mask position with numpy : 0.00025343894958496094 nb_pixel_total : 9661 time to create 1 rle with old method : 0.010529279708862305 length of segment : 186 time for calcul the mask position with numpy : 0.012414932250976562 nb_pixel_total : 652979 time to create 1 rle with new method : 0.04732179641723633 length of segment : 1406 time for calcul the mask position with numpy : 0.018939971923828125 nb_pixel_total : 1412264 time to create 1 rle with new method : 0.06685829162597656 length of segment : 1513 time for calcul the mask position with numpy : 0.0018739700317382812 nb_pixel_total : 122237 time to create 1 rle with old method : 0.1284327507019043 length of segment : 579 time for calcul the mask position with numpy : 0.001581430435180664 nb_pixel_total : 57454 time to create 1 rle with old method : 0.06334519386291504 length of segment : 212 time for calcul the mask position with numpy : 0.0002009868621826172 nb_pixel_total : 6621 time to create 1 rle with old method : 0.007460355758666992 length of segment : 117 time for calcul the mask position with numpy : 0.00024247169494628906 nb_pixel_total : 9740 time to create 1 rle with old method : 0.010975360870361328 length of segment : 130 time for calcul the mask position with numpy : 0.02436208724975586 nb_pixel_total : 953653 time to create 1 rle with new method : 0.21899700164794922 length of segment : 1739 time for calcul the mask position with numpy : 0.0010869503021240234 nb_pixel_total : 69781 time to create 1 rle with old method : 0.07373619079589844 length of segment : 317 time for calcul the mask position with numpy : 0.0001628398895263672 nb_pixel_total : 6548 time to create 1 rle with old method : 0.007460355758666992 length of segment : 113 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 8605 time to create 1 rle with old method : 0.009786367416381836 length of segment : 93 time for calcul the mask position with numpy : 0.0018644332885742188 nb_pixel_total : 124726 time to create 1 rle with old method : 0.13257050514221191 length of segment : 544 time for calcul the mask position with numpy : 0.002087831497192383 nb_pixel_total : 51511 time to create 1 rle with old method : 0.05762124061584473 length of segment : 238 time for calcul the mask position with numpy : 0.00039315223693847656 nb_pixel_total : 11799 time to create 1 rle with old method : 0.013205766677856445 length of segment : 149 time for calcul the mask position with numpy : 0.002805471420288086 nb_pixel_total : 105471 time to create 1 rle with old method : 0.11658906936645508 length of segment : 515 time for calcul the mask position with numpy : 0.0002694129943847656 nb_pixel_total : 5955 time to create 1 rle with old method : 0.00664830207824707 length of segment : 107 time for calcul the mask position with numpy : 0.0002639293670654297 nb_pixel_total : 10553 time to create 1 rle with old method : 0.01252436637878418 length of segment : 74 time for calcul the mask position with numpy : 0.013447046279907227 nb_pixel_total : 894680 time to create 1 rle with new method : 0.04776954650878906 length of segment : 1009 time for calcul the mask position with numpy : 0.00019359588623046875 nb_pixel_total : 8411 time to create 1 rle with old method : 0.009709358215332031 length of segment : 183 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 2162 time to create 1 rle with old method : 0.0026481151580810547 length of segment : 37 time for calcul the mask position with numpy : 0.0003924369812011719 nb_pixel_total : 8828 time to create 1 rle with old method : 0.01003885269165039 length of segment : 177 time for calcul the mask position with numpy : 0.008713245391845703 nb_pixel_total : 487316 time to create 1 rle with new method : 0.03301286697387695 length of segment : 1243 time for calcul the mask position with numpy : 0.001378774642944336 nb_pixel_total : 77097 time to create 1 rle with old method : 0.08192634582519531 length of segment : 462 time for calcul the mask position with numpy : 0.0001125335693359375 nb_pixel_total : 5520 time to create 1 rle with old method : 0.006658792495727539 length of segment : 54 time spent for convertir_results : 3.5376999378204346 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 28 chid ids of type : 3594 Number RLEs to save : 12345 save missing photos in datou_result : time spend for datou_step_exec : 24.389267206192017 time spend to save output : 6.883652210235596 total time spend for step 1 : 31.272919416427612 step2:crop_condition Fri Aug 29 00:31:01 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 : 8 ! batch 1 Loaded 28 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756420262_1066318 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 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.700606107711792 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756420265_1066318 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6929044723510742 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756420286_1066318 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.7004969120025635 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756420292_1066318 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6274681091308594 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1377713289, 1377713264, 1377713261, 1377713259, 1377713257, 1377713255, 1377713254, 1377713213] Looping around the photos to save general results len do output : 28 /1380004814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004991Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004993Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004995Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380004999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380005001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380005007Didn'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, '3629951') ('3318', '26310908', '1377713289', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713264', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713261', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713259', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713257', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713255', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713254', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713213', None, None, None, None, None, '3629951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 92 time used for this insertion : 0.07378649711608887 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.723519563674927 time spend to save output : 0.07455301284790039 total time spend for step 2 : 31.798072576522827 step3:rle_unique_nms_with_priority Fri Aug 29 00:31: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 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 28 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.9535536766052246 time for calcul the mask position with numpy : 0.05118370056152344 nb_pixel_total : 1953469 time to create 1 rle with new method : 0.08865833282470703 time for calcul the mask position with numpy : 0.006081342697143555 nb_pixel_total : 17736 time to create 1 rle with old method : 0.01876378059387207 time for calcul the mask position with numpy : 0.006424427032470703 nb_pixel_total : 102395 time to create 1 rle with old method : 0.10692381858825684 create new chi : 0.28882503509521484 time to delete rle : 0.02501225471496582 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2416 TO DO : save crop sub photo not yet done ! save time : 11.383938074111938 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.57403564453125 time for calcul the mask position with numpy : 0.25399112701416016 nb_pixel_total : 1397295 time to create 1 rle with new method : 0.10406637191772461 time for calcul the mask position with numpy : 0.017915010452270508 nb_pixel_total : 646208 time to create 1 rle with new method : 0.15527009963989258 time for calcul the mask position with numpy : 0.007528066635131836 nb_pixel_total : 9661 time to create 1 rle with old method : 0.010891437530517578 time for calcul the mask position with numpy : 0.007896184921264648 nb_pixel_total : 8499 time to create 1 rle with old method : 0.009518623352050781 time for calcul the mask position with numpy : 0.00870370864868164 nb_pixel_total : 11937 time to create 1 rle with old method : 0.013333320617675781 create new chi : 0.6099529266357422 time to delete rle : 0.0011608600616455078 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 5133 TO DO : save crop sub photo not yet done ! save time : 0.5227673053741455 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05930280685424805 time for calcul the mask position with numpy : 0.016345500946044922 nb_pixel_total : 661336 time to create 1 rle with new method : 0.06668543815612793 time for calcul the mask position with numpy : 0.024707317352294922 nb_pixel_total : 1412264 time to create 1 rle with new method : 0.03380608558654785 create new chi : 0.142378568649292 time to delete rle : 0.0004608631134033203 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 4106 TO DO : save crop sub photo not yet done ! save time : 1.4367756843566895 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.9598472118377686 time for calcul the mask position with numpy : 0.04232501983642578 nb_pixel_total : 862833 time to create 1 rle with new method : 0.10331463813781738 time for calcul the mask position with numpy : 0.006915569305419922 nb_pixel_total : 63535 time to create 1 rle with old method : 0.07106995582580566 time for calcul the mask position with numpy : 0.01839303970336914 nb_pixel_total : 951180 time to create 1 rle with new method : 0.5211424827575684 time for calcul the mask position with numpy : 0.007646083831787109 nb_pixel_total : 9740 time to create 1 rle with old method : 0.011062145233154297 time for calcul the mask position with numpy : 0.007842302322387695 nb_pixel_total : 6621 time to create 1 rle with old method : 0.007540464401245117 time for calcul the mask position with numpy : 0.008521318435668945 nb_pixel_total : 57454 time to create 1 rle with old method : 0.06432604789733887 time for calcul the mask position with numpy : 0.008455991744995117 nb_pixel_total : 122237 time to create 1 rle with old method : 0.13571739196777344 create new chi : 1.0353467464447021 time to delete rle : 0.001264810562133789 batch 1 Loaded 13 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 7070 TO DO : save crop sub photo not yet done ! save time : 0.5815763473510742 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.09782981872558594 time for calcul the mask position with numpy : 0.22506976127624512 nb_pixel_total : 1870411 time to create 1 rle with new method : 0.09600448608398438 time for calcul the mask position with numpy : 0.010961294174194336 nb_pixel_total : 11799 time to create 1 rle with old method : 0.012835979461669922 time for calcul the mask position with numpy : 0.007638454437255859 nb_pixel_total : 51511 time to create 1 rle with old method : 0.05457639694213867 time for calcul the mask position with numpy : 0.012943744659423828 nb_pixel_total : 124726 time to create 1 rle with old method : 0.1686098575592041 time for calcul the mask position with numpy : 0.012561798095703125 nb_pixel_total : 8605 time to create 1 rle with old method : 0.009553670883178711 time for calcul the mask position with numpy : 0.01200413703918457 nb_pixel_total : 6548 time to create 1 rle with old method : 0.007352590560913086 create new chi : 0.641571044921875 time to delete rle : 0.0005707740783691406 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 3354 TO DO : save crop sub photo not yet done ! save time : 1.3197734355926514 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.09174275398254395 time for calcul the mask position with numpy : 0.022510051727294922 nb_pixel_total : 1951621 time to create 1 rle with new method : 0.0775454044342041 time for calcul the mask position with numpy : 0.006615161895751953 nb_pixel_total : 10553 time to create 1 rle with old method : 0.011970043182373047 time for calcul the mask position with numpy : 0.006275177001953125 nb_pixel_total : 5955 time to create 1 rle with old method : 0.0067632198333740234 time for calcul the mask position with numpy : 0.006783962249755859 nb_pixel_total : 105471 time to create 1 rle with old method : 0.12241697311401367 create new chi : 0.261364221572876 time to delete rle : 0.0003762245178222656 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2472 TO DO : save crop sub photo not yet done ! save time : 0.22237896919250488 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.051935434341430664 time for calcul the mask position with numpy : 0.013980627059936523 nb_pixel_total : 1170509 time to create 1 rle with new method : 0.17018890380859375 time for calcul the mask position with numpy : 0.005959510803222656 nb_pixel_total : 8411 time to create 1 rle with old method : 0.008728742599487305 time for calcul the mask position with numpy : 0.01214909553527832 nb_pixel_total : 894680 time to create 1 rle with new method : 0.19775104522705078 create new chi : 0.42398881912231445 time to delete rle : 0.0004379749298095703 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3464 TO DO : save crop sub photo not yet done ! save time : 1.302999496459961 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.25479793548583984 time for calcul the mask position with numpy : 0.052408695220947266 nb_pixel_total : 1492677 time to create 1 rle with new method : 0.30417394638061523 time for calcul the mask position with numpy : 0.006026506423950195 nb_pixel_total : 5520 time to create 1 rle with old method : 0.005780458450317383 time for calcul the mask position with numpy : 0.006300926208496094 nb_pixel_total : 77097 time to create 1 rle with old method : 0.08119916915893555 time for calcul the mask position with numpy : 0.0089569091796875 nb_pixel_total : 487316 time to create 1 rle with new method : 0.06793737411499023 time for calcul the mask position with numpy : 0.00627899169921875 nb_pixel_total : 8828 time to create 1 rle with old method : 0.011610984802246094 time for calcul the mask position with numpy : 0.006875753402709961 nb_pixel_total : 2162 time to create 1 rle with old method : 0.003522157669067383 create new chi : 0.5708208084106445 time to delete rle : 0.0009763240814208984 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 5026 TO DO : save crop sub photo not yet done ! save time : 1.4409589767456055 map_output_result : {1377713289: (0.0, 'Should be the crop_list due to order', 0), 1377713264: (0.0, 'Should be the crop_list due to order', 0), 1377713261: (0.0, 'Should be the crop_list due to order', 0), 1377713259: (0.0, 'Should be the crop_list due to order', 0), 1377713257: (0.0, 'Should be the crop_list due to order', 0), 1377713255: (0.0, 'Should be the crop_list due to order', 0), 1377713254: (0.0, 'Should be the crop_list due to order', 0), 1377713213: (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 [1377713289, 1377713264, 1377713261, 1377713259, 1377713257, 1377713255, 1377713254, 1377713213] Looping around the photos to save general results len do output : 8 /1377713289.Didn't retrieve data . /1377713264.Didn't retrieve data . /1377713261.Didn't retrieve data . /1377713259.Didn't retrieve data . /1377713257.Didn't retrieve data . /1377713255.Didn't retrieve data . /1377713254.Didn't retrieve data . /1377713213.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, '3629951') ('3318', '26310908', '1377713289', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713264', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713261', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713259', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713257', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713255', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713254', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713213', None, None, None, None, None, '3629951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.020635604858398438 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.628270149230957 time spend to save output : 0.020967960357666016 total time spend for step 3 : 25.649238109588623 step4:ventilate_hashtags_in_portfolio Fri Aug 29 00:31:58 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 : 26310908 get user id for portfolio 26310908 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`=26310908 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','metal','autre','pet_clair','flou','background','carton','papier','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26310908 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','metal','autre','pet_clair','flou','background','carton','papier','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26310908 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','metal','autre','pet_clair','flou','background','carton','papier','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26311211,26311212,26311213,26311214,26311215,26311216,26311217,26311218,26311219,26311220,26311221?tags=environnement,mal_croppe,metal,autre,pet_clair,flou,background,carton,papier,pet_fonce,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1377713289, 1377713264, 1377713261, 1377713259, 1377713257, 1377713255, 1377713254, 1377713213] Looping around the photos to save general results len do output : 1 /26310908. 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, '3629951') ('3318', '26310908', '1377713289', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713264', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713261', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713259', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713257', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713255', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713254', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713213', None, None, None, None, None, '3629951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.04959273338317871 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7181494235992432 time spend to save output : 0.049928903579711914 total time spend for step 4 : 1.768078327178955 step5:final Fri Aug 29 00:32:00 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 : {1377713289: ('0.3151915147569445',), 1377713264: ('0.3151915147569445',), 1377713261: ('0.3151915147569445',), 1377713259: ('0.3151915147569445',), 1377713257: ('0.3151915147569445',), 1377713255: ('0.3151915147569445',), 1377713254: ('0.3151915147569445',), 1377713213: ('0.3151915147569445',)} new output for save of step final : {1377713289: ('0.3151915147569445',), 1377713264: ('0.3151915147569445',), 1377713261: ('0.3151915147569445',), 1377713259: ('0.3151915147569445',), 1377713257: ('0.3151915147569445',), 1377713255: ('0.3151915147569445',), 1377713254: ('0.3151915147569445',), 1377713213: ('0.3151915147569445',)} [1377713289, 1377713264, 1377713261, 1377713259, 1377713257, 1377713255, 1377713254, 1377713213] Looping around the photos to save general results len do output : 8 /1377713289.Didn't retrieve data . /1377713264.Didn't retrieve data . /1377713261.Didn't retrieve data . /1377713259.Didn't retrieve data . /1377713257.Didn't retrieve data . /1377713255.Didn't retrieve data . /1377713254.Didn't retrieve data . /1377713213.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, '3629951') ('3318', '26310908', '1377713289', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713264', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713261', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713259', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713257', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713255', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713254', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713213', None, None, None, None, None, '3629951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.016176700592041016 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12168741226196289 time spend to save output : 0.01650714874267578 total time spend for step 5 : 0.13819456100463867 step6:blur_detection Fri Aug 29 00:32:00 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/1756420228_1066318_1377713289_aa4820663f72a5a55c39dd9ba38cc419.jpg resize: (1080, 1920) 1377713289 0.5986313629721655 treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1.jpg resize: (1080, 1920) 1377713264 1.0469238547663502 treat image : temp/1756420228_1066318_1377713261_1224ef426be7fb5705b5937c93e3bc64.jpg resize: (1080, 1920) 1377713261 -0.8806316725853107 treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2.jpg resize: (1080, 1920) 1377713259 -3.1934007591034583 treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2.jpg resize: (1080, 1920) 1377713257 -3.708310769515872 treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7.jpg resize: (1080, 1920) 1377713255 0.45217035168973524 treat image : temp/1756420228_1066318_1377713254_5777117f789b3b96f0a40114eb89408e.jpg resize: (1080, 1920) 1377713254 1.7952894993109252 treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7.jpg resize: (1080, 1920) 1377713213 -0.45805923071013993 treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842646_0.png resize: (181, 121) 1380004814 -1.6185219580881978 treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842645_0.png resize: (98, 117) 1380004815 -0.3216713554879278 treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842644_0.png resize: (382, 67) 1380004817 -1.8351013088677095 treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842652_0.png resize: (84, 186) 1380004818 -4.062842415572158 treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842651_0.png resize: (115, 114) 1380004820 -1.2687947987603323 treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842656_0.png resize: (79, 161) 1380004821 -4.294534732337768 treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842655_0.png resize: (112, 115) 1380004822 -1.581951842104063 treat image : temp/1756420228_1066318_1377713254_5777117f789b3b96f0a40114eb89408e_rle_crop_3934842664_0.png resize: (183, 87) 1380004824 -1.61267883502904 treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842666_0.png resize: (177, 82) 1380004825 -0.38613123941189365 treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7_rle_crop_3934842661_0.png resize: (107, 74) 1380004832 0.5965968519793411 treat image : temp/1756420228_1066318_1377713289_aa4820663f72a5a55c39dd9ba38cc419_rle_crop_3934842643_0.png resize: (152, 193) 1380004979 0.786412403235035 treat image : temp/1756420228_1066318_1377713289_aa4820663f72a5a55c39dd9ba38cc419_rle_crop_3934842642_0.png resize: (510, 325) 1380004980 0.2882978598124968 treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842647_0.png resize: (913, 1084) 1380004982 0.4632351592191672 treat image : temp/1756420228_1066318_1377713261_1224ef426be7fb5705b5937c93e3bc64_rle_crop_3934842648_0.png resize: (1004, 1644) 1380004983 -1.553231766184839 treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842653_0.png resize: (972, 1565) 1380004984 -0.7846323823364192 treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842650_0.png resize: (203, 436) 1380004986 -1.4444322550178847 treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842654_0.png resize: (296, 364) 1380004987 -1.7724177077019505 treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842649_0.png resize: (568, 370) 1380004988 0.46161415415621776 treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842658_0.png resize: (223, 388) 1380004990 -1.225441729367421 treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842657_0.png resize: (543, 392) 1380004991 0.3284419568419916 treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7_rle_crop_3934842662_0.png resize: (73, 179) 1380004993 -0.2047577901438911 treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7_rle_crop_3934842660_0.png resize: (510, 340) 1380004994 0.43331937212696675 treat image : temp/1756420228_1066318_1377713254_5777117f789b3b96f0a40114eb89408e_rle_crop_3934842663_0.png resize: (1002, 1132) 1380004995 0.7194490869769736 treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842667_0.png resize: (844, 810) 1380004997 0.03850616069334975 treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842669_0.png resize: (45, 158) 1380004998 -2.1844592750087934 treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842665_0.png resize: (37, 70) 1380004999 5.741675381455293 treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842668_0.png resize: (459, 296) 1380005001 0.11405708367333459 treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842659_0.png resize: (135, 128) 1380005007 -3.362119995796503 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.015764474868774414 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.01798534393310547 save missing photos in datou_result : time spend for datou_step_exec : 9.15369176864624 time spend to save output : 0.03888511657714844 total time spend for step 6 : 9.192576885223389 step7:brightness Fri Aug 29 00:32:09 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/1756420228_1066318_1377713289_aa4820663f72a5a55c39dd9ba38cc419.jpg treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1.jpg treat image : temp/1756420228_1066318_1377713261_1224ef426be7fb5705b5937c93e3bc64.jpg treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2.jpg treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2.jpg treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7.jpg treat image : temp/1756420228_1066318_1377713254_5777117f789b3b96f0a40114eb89408e.jpg treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7.jpg treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842646_0.png treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842645_0.png treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842644_0.png treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842652_0.png treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842651_0.png treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842656_0.png treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842655_0.png treat image : temp/1756420228_1066318_1377713254_5777117f789b3b96f0a40114eb89408e_rle_crop_3934842664_0.png treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842666_0.png treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7_rle_crop_3934842661_0.png treat image : temp/1756420228_1066318_1377713289_aa4820663f72a5a55c39dd9ba38cc419_rle_crop_3934842643_0.png treat image : temp/1756420228_1066318_1377713289_aa4820663f72a5a55c39dd9ba38cc419_rle_crop_3934842642_0.png treat image : temp/1756420228_1066318_1377713264_6d1dbd90087290db8ee416a313f2b9a1_rle_crop_3934842647_0.png treat image : temp/1756420228_1066318_1377713261_1224ef426be7fb5705b5937c93e3bc64_rle_crop_3934842648_0.png treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842653_0.png treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842650_0.png treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842654_0.png treat image : temp/1756420228_1066318_1377713259_5a450478b428997b53e80f5bd862d9f2_rle_crop_3934842649_0.png treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842658_0.png treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842657_0.png treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7_rle_crop_3934842662_0.png treat image : temp/1756420228_1066318_1377713255_e71132011c30befa660c34d02a074fc7_rle_crop_3934842660_0.png treat image : temp/1756420228_1066318_1377713254_5777117f789b3b96f0a40114eb89408e_rle_crop_3934842663_0.png treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842667_0.png treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842669_0.png treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842665_0.png treat image : temp/1756420228_1066318_1377713213_9ebd636fbf35feb7d6e97bd1f53c27d7_rle_crop_3934842668_0.png treat image : temp/1756420228_1066318_1377713257_4980edc54d638336455ef7f964946ff2_rle_crop_3934842659_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.04241752624511719 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.36046814918518066 save missing photos in datou_result : time spend for datou_step_exec : 2.54923677444458 time spend to save output : 0.40764689445495605 total time spend for step 7 : 2.956883668899536 step8:velours_tree Fri Aug 29 00:32:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.08876895904541016 time spend to save output : 4.863739013671875e-05 total time spend for step 8 : 0.08881759643554688 step9:send_mail_cod Fri Aug 29 00:32:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P26310908_29-08-2025_00_32_12.pdf 26311212 imagette263112121756420332 26311213 imagette263112131756420332 26311214 change filename to text .imagette263112141756420332 26311215 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette263112151756420333 26311216 imagette263112161756420334 26311217 imagette263112171756420334 26311218 change filename to text .imagette263112181756420334 26311219 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 .imagette263112191756420334 26311220 imagette263112201756420334 26311221 imagette263112211756420334 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26310908 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26311211,26311212,26311213,26311214,26311215,26311216,26311217,26311218,26311219,26311220,26311221?tags=environnement,mal_croppe,metal,autre,pet_clair,flou,background,carton,papier,pet_fonce,pehd args[1377713289] : ((1377713289, 0.5986313629721655, 492688767), (1377713289, 0.8527815495138474, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com args[1377713264] : ((1377713264, 1.0469238547663502, 492688767), (1377713264, 1.2544083769315657, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com args[1377713261] : ((1377713261, -0.8806316725853107, 492688767), (1377713261, 0.4053260704696587, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com args[1377713259] : ((1377713259, -3.1934007591034583, 492609224), (1377713259, 0.7466220778602315, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com args[1377713257] : ((1377713257, -3.708310769515872, 492609224), (1377713257, 0.21843736125112098, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com args[1377713255] : ((1377713255, 0.45217035168973524, 492688767), (1377713255, 0.4629908500211725, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com args[1377713254] : ((1377713254, 1.7952894993109252, 492688767), (1377713254, 0.8991673035930775, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com args[1377713213] : ((1377713213, -0.45805923071013993, 492688767), (1377713213, 1.1436264906941824, 2107752395), '0.3151915147569445') We are sending mail with results at report@fotonower.com refus_total : 0.3151915147569445 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=26310908 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_P26310908_29-08-2025_00_32_12.pdf results_Auto_P26310908_29-08-2025_00_32_12.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310908_29-08-2025_00_32_12.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','26310908','results_Auto_P26310908_29-08-2025_00_32_12.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310908_29-08-2025_00_32_12.pdf','pdf','','0.54','0.3151915147569445') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26310908

https://www.fotonower.com/image?json=false&list_photos_id=1377713289
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377713264
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0469238547663502)
https://www.fotonower.com/image?json=false&list_photos_id=1377713261
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377713259
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377713257
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377713255
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377713254
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7952894993109252)
https://www.fotonower.com/image?json=false&list_photos_id=1377713213
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/26311214?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26311215?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26311218?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26311219?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310908_29-08-2025_00_32_12.pdf.

Lien vers velours :https://www.fotonower.com/velours/26311211,26311212,26311213,26311214,26311215,26311216,26311217,26311218,26311219,26311220,26311221?tags=environnement,mal_croppe,metal,autre,pet_clair,flou,background,carton,papier,pet_fonce,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 28 Aug 2025 22:32:16 GMT Content-Length: 0 Connection: close X-Message-Id: 0mTqVQcnTrC-zjgt_AaAiA 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 [1377713289, 1377713264, 1377713261, 1377713259, 1377713257, 1377713255, 1377713254, 1377713213] 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, '3629951') ('3318', '26310908', '1377713289', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713264', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713261', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713259', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713257', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713255', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713254', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713213', None, None, None, None, None, '3629951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.07907867431640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.059615135192871 time spend to save output : 0.07935595512390137 total time spend for step 9 : 4.1389710903167725 step10:split_time_score Fri Aug 29 00:32:17 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'}] (('18', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18082025 26310908 Nombre de photos uploadées : 8 / 23040 (0%) 18082025 26310908 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 18082025 26310908 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.00044798851013183594 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2124013900756836 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310847 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310850 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310854 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310857 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310862 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310866 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310868 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310871 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310873 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310881 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310883 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310890 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310894 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310895 order by id desc limit 1 Qualite : 0.3151915147569445 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310908_29-08-2025_00_32_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310908 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`=26310908 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18082025': {'nb_upload': 8, '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 [1377713289, 1377713264, 1377713261, 1377713259, 1377713257, 1377713255, 1377713254, 1377713213] Looping around the photos to save general results len do output : 1 /26310908Didn'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, '3629951') ('3318', '26310908', '1377713289', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713264', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713261', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713259', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713257', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713255', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713254', None, None, None, None, None, '3629951') ('3318', None, None, None, None, None, None, None, '3629951') ('3318', '26310908', '1377713213', None, None, None, None, None, '3629951') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01384115219116211 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.600541830062866 time spend to save output : 0.014098167419433594 total time spend for step 10 : 13.6146399974823 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 53.59user 19.23system 2:05.09elapsed 58%CPU (0avgtext+0avgdata 2726676maxresident)k 506704inputs+36112outputs (98major+1510594minor)pagefaults 0swaps