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 : 1896901 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 : ['2845935'] with mtr_portfolio_ids : ['22949538'] and first list_photo_ids : [] new path : /proc/1896901/ 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 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 0.9985480308532715 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed May 14 08:20: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 : 4111 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-14 08:20:33.343305: 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-05-14 08:20:33.371258: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-14 08:20:33.372955: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4568000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-14 08:20:33.373010: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-14 08:20:33.376439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-14 08:20:33.517458: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x321c3400 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-14 08:20:33.517517: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-14 08:20:33.518481: 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-05-14 08:20:33.518986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-14 08:20:33.522028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-14 08:20:33.525013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-14 08:20:33.525517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-14 08:20:33.528660: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-14 08:20:33.529695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-14 08:20:33.534124: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-14 08:20:33.535246: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-14 08:20:33.535327: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-14 08:20:33.535912: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-14 08:20:33.535928: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-14 08:20:33.535937: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-14 08:20:33.536879: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3506 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-05-14 08:20:33.795764: 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-05-14 08:20:33.795877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-14 08:20:33.795894: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-14 08:20:33.795909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-14 08:20:33.795922: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-14 08:20:33.795936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-14 08:20:33.795949: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-14 08:20:33.795964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-14 08:20:33.796819: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-14 08:20:33.797761: 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-05-14 08:20:33.797798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-14 08:20:33.797816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-14 08:20:33.797832: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-14 08:20:33.797848: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-14 08:20:33.797863: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-14 08:20:33.797879: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-14 08:20:33.797895: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-14 08:20:33.798738: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-14 08:20:33.798773: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-14 08:20:33.798782: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-14 08:20:33.798789: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-14 08:20:33.799708: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3506 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-05-14 08:20:45.825574: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-14 08:20:46.001313: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-14 08:20:47.471750: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3141402624 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-14 08:20:48.211349: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-05-14 08:20:48.274242: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3141402624 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-14 08:20:48.274327: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-14 08:20:48.275550: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3141402624 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-14 08:20:48.275584: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-14 08:20:48.282581: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-14 08:20:48.282614: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-14 08:20:48.288923: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3141402624 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-14 08:20:48.288944: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-14 08:20:48.289558: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3141402624 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-14 08:20:48.289572: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. Tlocal 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 : 6 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 42 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 31 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 1.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: 3840.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 5.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: 3840.00000 nb d'objets trouves : 18 Detection mask done ! Trying to reset tf kernel 1897559 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2918 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 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 : 4111 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.0015094280242919922 nb_pixel_total : 61963 time to create 1 rle with old method : 0.06987857818603516 length of segment : 234 time for calcul the mask position with numpy : 0.0022945404052734375 nb_pixel_total : 79650 time to create 1 rle with old method : 0.08924126625061035 length of segment : 421 time for calcul the mask position with numpy : 0.0014691352844238281 nb_pixel_total : 89998 time to create 1 rle with old method : 0.10145807266235352 length of segment : 456 time for calcul the mask position with numpy : 0.00045299530029296875 nb_pixel_total : 19248 time to create 1 rle with old method : 0.02157449722290039 length of segment : 297 time for calcul the mask position with numpy : 0.0006256103515625 nb_pixel_total : 31817 time to create 1 rle with old method : 0.03586316108703613 length of segment : 433 time for calcul the mask position with numpy : 0.011270999908447266 nb_pixel_total : 286233 time to create 1 rle with new method : 0.024803638458251953 length of segment : 801 time for calcul the mask position with numpy : 0.0006473064422607422 nb_pixel_total : 45472 time to create 1 rle with old method : 0.04906892776489258 length of segment : 297 time for calcul the mask position with numpy : 0.0010192394256591797 nb_pixel_total : 85464 time to create 1 rle with old method : 0.09061408042907715 length of segment : 367 time for calcul the mask position with numpy : 0.0004916191101074219 nb_pixel_total : 21768 time to create 1 rle with old method : 0.03558993339538574 length of segment : 219 time for calcul the mask position with numpy : 0.0003819465637207031 nb_pixel_total : 20548 time to create 1 rle with old method : 0.02315688133239746 length of segment : 176 time for calcul the mask position with numpy : 0.0004417896270751953 nb_pixel_total : 31363 time to create 1 rle with old method : 0.0348362922668457 length of segment : 272 time for calcul the mask position with numpy : 0.0005292892456054688 nb_pixel_total : 29946 time to create 1 rle with old method : 0.03282523155212402 length of segment : 271 time for calcul the mask position with numpy : 0.0014598369598388672 nb_pixel_total : 113203 time to create 1 rle with old method : 0.1239776611328125 length of segment : 396 time for calcul the mask position with numpy : 0.0012631416320800781 nb_pixel_total : 61099 time to create 1 rle with old method : 0.06804418563842773 length of segment : 564 time for calcul the mask position with numpy : 0.001050710678100586 nb_pixel_total : 55846 time to create 1 rle with old method : 0.06149625778198242 length of segment : 305 time for calcul the mask position with numpy : 0.0007109642028808594 nb_pixel_total : 45215 time to create 1 rle with old method : 0.05088090896606445 length of segment : 264 time for calcul the mask position with numpy : 0.0013580322265625 nb_pixel_total : 78853 time to create 1 rle with old method : 0.08489084243774414 length of segment : 345 time for calcul the mask position with numpy : 0.0007917881011962891 nb_pixel_total : 27626 time to create 1 rle with old method : 0.03111577033996582 length of segment : 289 time for calcul the mask position with numpy : 0.00045013427734375 nb_pixel_total : 28536 time to create 1 rle with old method : 0.03892922401428223 length of segment : 163 time for calcul the mask position with numpy : 0.0006754398345947266 nb_pixel_total : 20376 time to create 1 rle with old method : 0.02176642417907715 length of segment : 271 time for calcul the mask position with numpy : 0.004146575927734375 nb_pixel_total : 166628 time to create 1 rle with new method : 0.014681100845336914 length of segment : 856 time for calcul the mask position with numpy : 0.0011088848114013672 nb_pixel_total : 39822 time to create 1 rle with old method : 0.043099164962768555 length of segment : 393 time for calcul the mask position with numpy : 0.0005323886871337891 nb_pixel_total : 18984 time to create 1 rle with old method : 0.021000385284423828 length of segment : 189 time for calcul the mask position with numpy : 0.002206563949584961 nb_pixel_total : 96498 time to create 1 rle with old method : 0.10231947898864746 length of segment : 702 time for calcul the mask position with numpy : 0.001707315444946289 nb_pixel_total : 90477 time to create 1 rle with old method : 0.09352993965148926 length of segment : 336 time for calcul the mask position with numpy : 0.0007476806640625 nb_pixel_total : 38574 time to create 1 rle with old method : 0.04007291793823242 length of segment : 274 time for calcul the mask position with numpy : 0.0009970664978027344 nb_pixel_total : 31304 time to create 1 rle with old method : 0.03296923637390137 length of segment : 379 time for calcul the mask position with numpy : 0.00042247772216796875 nb_pixel_total : 21131 time to create 1 rle with old method : 0.022421598434448242 length of segment : 153 time for calcul the mask position with numpy : 0.0009000301361083984 nb_pixel_total : 26613 time to create 1 rle with old method : 0.028804302215576172 length of segment : 335 time for calcul the mask position with numpy : 0.0030422210693359375 nb_pixel_total : 128316 time to create 1 rle with old method : 0.13610506057739258 length of segment : 488 time for calcul the mask position with numpy : 0.002878427505493164 nb_pixel_total : 154042 time to create 1 rle with new method : 0.011167287826538086 length of segment : 542 time for calcul the mask position with numpy : 0.0030896663665771484 nb_pixel_total : 162668 time to create 1 rle with new method : 0.014892101287841797 length of segment : 544 time for calcul the mask position with numpy : 0.0014216899871826172 nb_pixel_total : 40766 time to create 1 rle with old method : 0.04278135299682617 length of segment : 465 time for calcul the mask position with numpy : 0.001965045928955078 nb_pixel_total : 116566 time to create 1 rle with old method : 0.12101888656616211 length of segment : 357 time for calcul the mask position with numpy : 0.002466917037963867 nb_pixel_total : 103935 time to create 1 rle with old method : 0.10822653770446777 length of segment : 720 time for calcul the mask position with numpy : 0.003793478012084961 nb_pixel_total : 140265 time to create 1 rle with old method : 0.15000486373901367 length of segment : 399 time for calcul the mask position with numpy : 0.0008759498596191406 nb_pixel_total : 25246 time to create 1 rle with old method : 0.026849746704101562 length of segment : 164 time for calcul the mask position with numpy : 0.0009963512420654297 nb_pixel_total : 22787 time to create 1 rle with old method : 0.024532556533813477 length of segment : 221 time for calcul the mask position with numpy : 0.002450227737426758 nb_pixel_total : 73496 time to create 1 rle with old method : 0.08521628379821777 length of segment : 403 time for calcul the mask position with numpy : 0.001556396484375 nb_pixel_total : 37024 time to create 1 rle with old method : 0.04261946678161621 length of segment : 253 time for calcul the mask position with numpy : 0.0006709098815917969 nb_pixel_total : 18868 time to create 1 rle with old method : 0.020867347717285156 length of segment : 163 time for calcul the mask position with numpy : 0.0012969970703125 nb_pixel_total : 35319 time to create 1 rle with old method : 0.03906679153442383 length of segment : 263 time for calcul the mask position with numpy : 0.002262115478515625 nb_pixel_total : 67260 time to create 1 rle with old method : 0.08359217643737793 length of segment : 334 time for calcul the mask position with numpy : 0.005315303802490234 nb_pixel_total : 71157 time to create 1 rle with old method : 0.07910871505737305 length of segment : 389 time for calcul the mask position with numpy : 0.0007958412170410156 nb_pixel_total : 24707 time to create 1 rle with old method : 0.028161048889160156 length of segment : 237 time for calcul the mask position with numpy : 0.0013568401336669922 nb_pixel_total : 27842 time to create 1 rle with old method : 0.03258991241455078 length of segment : 281 time for calcul the mask position with numpy : 0.004488468170166016 nb_pixel_total : 115003 time to create 1 rle with old method : 0.12717461585998535 length of segment : 574 time for calcul the mask position with numpy : 0.0011768341064453125 nb_pixel_total : 33931 time to create 1 rle with old method : 0.03774690628051758 length of segment : 225 time for calcul the mask position with numpy : 0.0019452571868896484 nb_pixel_total : 60292 time to create 1 rle with old method : 0.06633806228637695 length of segment : 190 time for calcul the mask position with numpy : 0.0019621849060058594 nb_pixel_total : 60938 time to create 1 rle with old method : 0.06450772285461426 length of segment : 314 time for calcul the mask position with numpy : 0.0032248497009277344 nb_pixel_total : 100211 time to create 1 rle with old method : 0.10659241676330566 length of segment : 418 time for calcul the mask position with numpy : 0.0045392513275146484 nb_pixel_total : 173078 time to create 1 rle with new method : 0.009073257446289062 length of segment : 445 time for calcul the mask position with numpy : 0.0007431507110595703 nb_pixel_total : 21592 time to create 1 rle with old method : 0.02406024932861328 length of segment : 179 time for calcul the mask position with numpy : 0.002245187759399414 nb_pixel_total : 60340 time to create 1 rle with old method : 0.06629610061645508 length of segment : 379 time for calcul the mask position with numpy : 0.00156402587890625 nb_pixel_total : 63168 time to create 1 rle with old method : 0.06830811500549316 length of segment : 360 time for calcul the mask position with numpy : 0.0015468597412109375 nb_pixel_total : 46912 time to create 1 rle with old method : 0.05443930625915527 length of segment : 263 time for calcul the mask position with numpy : 0.001979351043701172 nb_pixel_total : 48309 time to create 1 rle with old method : 0.05565214157104492 length of segment : 217 time for calcul the mask position with numpy : 0.0010867118835449219 nb_pixel_total : 24723 time to create 1 rle with old method : 0.0284726619720459 length of segment : 189 time for calcul the mask position with numpy : 0.004064798355102539 nb_pixel_total : 168430 time to create 1 rle with new method : 0.009142875671386719 length of segment : 445 time for calcul the mask position with numpy : 0.0016913414001464844 nb_pixel_total : 58593 time to create 1 rle with old method : 0.06716752052307129 length of segment : 309 time for calcul the mask position with numpy : 0.00031304359436035156 nb_pixel_total : 9539 time to create 1 rle with old method : 0.01104879379272461 length of segment : 103 time for calcul the mask position with numpy : 0.0007855892181396484 nb_pixel_total : 28529 time to create 1 rle with old method : 0.03303647041320801 length of segment : 196 time for calcul the mask position with numpy : 0.0013196468353271484 nb_pixel_total : 36678 time to create 1 rle with old method : 0.04133152961730957 length of segment : 274 time for calcul the mask position with numpy : 0.5064959526062012 nb_pixel_total : 778940 time to create 1 rle with new method : 0.08917617797851562 length of segment : 1906 time for calcul the mask position with numpy : 0.000225067138671875 nb_pixel_total : 4354 time to create 1 rle with old method : 0.0051784515380859375 length of segment : 65 time for calcul the mask position with numpy : 0.0004925727844238281 nb_pixel_total : 18303 time to create 1 rle with old method : 0.020917654037475586 length of segment : 143 time for calcul the mask position with numpy : 0.0031588077545166016 nb_pixel_total : 72503 time to create 1 rle with old method : 0.08237791061401367 length of segment : 397 time spent for convertir_results : 7.848502159118652 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 67 chid ids of type : 3594 Number RLEs to save : 24272 save missing photos in datou_result : time spend for datou_step_exec : 54.15520238876343 time spend to save output : 13.476439476013184 total time spend for step 1 : 67.63164186477661 step2:crop_condition Wed May 14 08:21:38 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 : 6 ! batch 1 Loaded 67 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 37 About to insert : list_path_to_insert length 37 new photo from crops ! About to upload 37 photos upload in portfolio : 3736932 init cache_photo without model_param we have 37 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747203707_1896901 we have uploaded 37 photos in the portfolio 3736932 time of upload the photos Elapsed time : 12.551882266998291 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747203722_1896901 we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2557501792907715 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747203724_1896901 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7940225601196289 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 21 About to insert : list_path_to_insert length 21 new photo from crops ! About to upload 21 photos upload in portfolio : 3736932 init cache_photo without model_param we have 21 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747203738_1896901 we have uploaded 21 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.141386270523071 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/1747203744_1896901 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7739124298095703 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747203748_1896901 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8715646266937256 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1358096309, 1358096308, 1358096306, 1358096276, 1358096272, 1358096270] Looping around the photos to save general results len do output : 67 /1358101858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101912Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101917Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101919Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101920Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101921Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101922Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101927Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1358101940Didn'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, '2845935') ('3318', '22949538', '1358096309', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096308', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096306', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096276', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096272', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096270', None, None, None, None, None, '2845935') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 207 time used for this insertion : 0.10532426834106445 save_final save missing photos in datou_result : time spend for datou_step_exec : 50.3184540271759 time spend to save output : 0.10798025131225586 total time spend for step 2 : 50.42643427848816 step3:rle_unique_nms_with_priority Wed May 14 08:22:28 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 67 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 13 nb_hashtags : 2 time to prepare the origin masks : 5.391352891921997 time for calcul the mask position with numpy : 0.8894729614257812 nb_pixel_total : 7391002 time to create 1 rle with new method : 0.7132477760314941 time for calcul the mask position with numpy : 0.025153636932373047 nb_pixel_total : 113203 time to create 1 rle with old method : 0.12382721900939941 time for calcul the mask position with numpy : 0.026441335678100586 nb_pixel_total : 29946 time to create 1 rle with old method : 0.03336596488952637 time for calcul the mask position with numpy : 0.028072834014892578 nb_pixel_total : 31363 time to create 1 rle with old method : 0.03716731071472168 time for calcul the mask position with numpy : 0.03751516342163086 nb_pixel_total : 20548 time to create 1 rle with old method : 0.022951841354370117 time for calcul the mask position with numpy : 0.041489362716674805 nb_pixel_total : 21768 time to create 1 rle with old method : 0.027096033096313477 time for calcul the mask position with numpy : 0.04056096076965332 nb_pixel_total : 85464 time to create 1 rle with old method : 0.09012699127197266 time for calcul the mask position with numpy : 0.03837728500366211 nb_pixel_total : 45472 time to create 1 rle with old method : 0.05060887336730957 time for calcul the mask position with numpy : 0.04108476638793945 nb_pixel_total : 272958 time to create 1 rle with new method : 0.844893217086792 time for calcul the mask position with numpy : 0.03452444076538086 nb_pixel_total : 31817 time to create 1 rle with old method : 0.034844398498535156 time for calcul the mask position with numpy : 0.026077985763549805 nb_pixel_total : 19248 time to create 1 rle with old method : 0.023321866989135742 time for calcul the mask position with numpy : 0.02909255027770996 nb_pixel_total : 89998 time to create 1 rle with old method : 0.13482022285461426 time for calcul the mask position with numpy : 0.027677297592163086 nb_pixel_total : 79650 time to create 1 rle with old method : 0.08826446533203125 time for calcul the mask position with numpy : 0.02550959587097168 nb_pixel_total : 61963 time to create 1 rle with old method : 0.06666231155395508 create new chi : 3.665881633758545 time to delete rle : 0.018963098526000977 batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 11269 TO DO : save crop sub photo not yet done ! save time : 3.971494197845459 nb_obj : 22 nb_hashtags : 6 time to prepare the origin masks : 10.36916184425354 time for calcul the mask position with numpy : 0.713503360748291 nb_pixel_total : 6765405 time to create 1 rle with new method : 0.8220806121826172 time for calcul the mask position with numpy : 0.025831222534179688 nb_pixel_total : 84079 time to create 1 rle with old method : 0.0893862247467041 time for calcul the mask position with numpy : 0.02524709701538086 nb_pixel_total : 116566 time to create 1 rle with old method : 0.12762665748596191 time for calcul the mask position with numpy : 0.026709318161010742 nb_pixel_total : 40766 time to create 1 rle with old method : 0.04377245903015137 time for calcul the mask position with numpy : 0.02521514892578125 nb_pixel_total : 162668 time to create 1 rle with new method : 0.8100926876068115 time for calcul the mask position with numpy : 0.02617955207824707 nb_pixel_total : 154042 time to create 1 rle with new method : 0.44689488410949707 time for calcul the mask position with numpy : 0.025151491165161133 nb_pixel_total : 128316 time to create 1 rle with old method : 0.13725805282592773 time for calcul the mask position with numpy : 0.02465057373046875 nb_pixel_total : 26613 time to create 1 rle with old method : 0.02909708023071289 time for calcul the mask position with numpy : 0.027953147888183594 nb_pixel_total : 16390 time to create 1 rle with old method : 0.018317222595214844 time for calcul the mask position with numpy : 0.02497267723083496 nb_pixel_total : 31304 time to create 1 rle with old method : 0.034508705139160156 time for calcul the mask position with numpy : 0.024245023727416992 nb_pixel_total : 38574 time to create 1 rle with old method : 0.04054856300354004 time for calcul the mask position with numpy : 0.02492547035217285 nb_pixel_total : 90477 time to create 1 rle with old method : 0.10049867630004883 time for calcul the mask position with numpy : 0.025800466537475586 nb_pixel_total : 96498 time to create 1 rle with old method : 0.10503387451171875 time for calcul the mask position with numpy : 0.025363683700561523 nb_pixel_total : 18984 time to create 1 rle with old method : 0.020777225494384766 time for calcul the mask position with numpy : 0.02404308319091797 nb_pixel_total : 39822 time to create 1 rle with old method : 0.04255199432373047 time for calcul the mask position with numpy : 0.02556896209716797 nb_pixel_total : 166345 time to create 1 rle with new method : 0.842207670211792 time for calcul the mask position with numpy : 0.02768707275390625 nb_pixel_total : 20376 time to create 1 rle with old method : 0.021674394607543945 time for calcul the mask position with numpy : 0.023879051208496094 nb_pixel_total : 28536 time to create 1 rle with old method : 0.030656814575195312 time for calcul the mask position with numpy : 0.023372650146484375 nb_pixel_total : 27626 time to create 1 rle with old method : 0.028745412826538086 time for calcul the mask position with numpy : 0.024344205856323242 nb_pixel_total : 78853 time to create 1 rle with old method : 0.08486318588256836 time for calcul the mask position with numpy : 0.025504112243652344 nb_pixel_total : 45215 time to create 1 rle with old method : 0.04887127876281738 time for calcul the mask position with numpy : 0.026304244995117188 nb_pixel_total : 55846 time to create 1 rle with old method : 0.06056547164916992 time for calcul the mask position with numpy : 0.026307344436645508 nb_pixel_total : 61099 time to create 1 rle with old method : 0.06929731369018555 create new chi : 5.4551026821136475 time to delete rle : 0.0019745826721191406 batch 1 Loaded 45 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++Number RLEs to save : 19629 TO DO : save crop sub photo not yet done ! save time : 7.298406600952148 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 2.961226224899292 time for calcul the mask position with numpy : 0.7233436107635498 nb_pixel_total : 7976714 time to create 1 rle with new method : 0.9975502490997314 time for calcul the mask position with numpy : 0.02385425567626953 nb_pixel_total : 18868 time to create 1 rle with old method : 0.02101302146911621 time for calcul the mask position with numpy : 0.024520397186279297 nb_pixel_total : 37024 time to create 1 rle with old method : 0.04089045524597168 time for calcul the mask position with numpy : 0.027982473373413086 nb_pixel_total : 73496 time to create 1 rle with old method : 0.07824254035949707 time for calcul the mask position with numpy : 0.024133682250976562 nb_pixel_total : 22787 time to create 1 rle with old method : 0.025299072265625 time for calcul the mask position with numpy : 0.024710416793823242 nb_pixel_total : 25246 time to create 1 rle with old method : 0.02801990509033203 time for calcul the mask position with numpy : 0.028454065322875977 nb_pixel_total : 140265 time to create 1 rle with old method : 0.15730023384094238 create new chi : 2.270081043243408 time to delete rle : 0.0008769035339355469 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 5366 TO DO : save crop sub photo not yet done ! save time : 2.9960553646087646 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 4.089043378829956 time for calcul the mask position with numpy : 0.9454271793365479 nb_pixel_total : 7797951 time to create 1 rle with new method : 1.1615116596221924 time for calcul the mask position with numpy : 0.025613069534301758 nb_pixel_total : 60938 time to create 1 rle with old method : 0.06680965423583984 time for calcul the mask position with numpy : 0.02564835548400879 nb_pixel_total : 60292 time to create 1 rle with old method : 0.06654858589172363 time for calcul the mask position with numpy : 0.0248563289642334 nb_pixel_total : 33931 time to create 1 rle with old method : 0.03782796859741211 time for calcul the mask position with numpy : 0.026050567626953125 nb_pixel_total : 115003 time to create 1 rle with old method : 0.12388253211975098 time for calcul the mask position with numpy : 0.025964975357055664 nb_pixel_total : 27842 time to create 1 rle with old method : 0.03078746795654297 time for calcul the mask position with numpy : 0.025809526443481445 nb_pixel_total : 24707 time to create 1 rle with old method : 0.02703237533569336 time for calcul the mask position with numpy : 0.02487468719482422 nb_pixel_total : 71157 time to create 1 rle with old method : 0.07913684844970703 time for calcul the mask position with numpy : 0.025501728057861328 nb_pixel_total : 67260 time to create 1 rle with old method : 0.077606201171875 time for calcul the mask position with numpy : 0.030268430709838867 nb_pixel_total : 35319 time to create 1 rle with old method : 0.04125499725341797 create new chi : 2.937669038772583 time to delete rle : 0.0011682510375976562 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 7774 TO DO : save crop sub photo not yet done ! save time : 4.528992414474487 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 3.8250129222869873 time for calcul the mask position with numpy : 0.8053779602050781 nb_pixel_total : 7756067 time to create 1 rle with new method : 0.7993261814117432 time for calcul the mask position with numpy : 0.025536060333251953 nb_pixel_total : 24723 time to create 1 rle with old method : 0.02762126922607422 time for calcul the mask position with numpy : 0.02501702308654785 nb_pixel_total : 48309 time to create 1 rle with old method : 0.053732872009277344 time for calcul the mask position with numpy : 0.02590632438659668 nb_pixel_total : 46912 time to create 1 rle with old method : 0.05243945121765137 time for calcul the mask position with numpy : 0.02520132064819336 nb_pixel_total : 63168 time to create 1 rle with old method : 0.07024836540222168 time for calcul the mask position with numpy : 0.02511143684387207 nb_pixel_total : 60340 time to create 1 rle with old method : 0.07015824317932129 time for calcul the mask position with numpy : 0.024872541427612305 nb_pixel_total : 21592 time to create 1 rle with old method : 0.023590087890625 time for calcul the mask position with numpy : 0.025105714797973633 nb_pixel_total : 173078 time to create 1 rle with new method : 0.7787423133850098 time for calcul the mask position with numpy : 0.025251388549804688 nb_pixel_total : 100211 time to create 1 rle with old method : 0.10649728775024414 create new chi : 3.061523199081421 time to delete rle : 0.001129150390625 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 7060 TO DO : save crop sub photo not yet done ! save time : 3.4534502029418945 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 5.213874101638794 time for calcul the mask position with numpy : 0.7831897735595703 nb_pixel_total : 7118764 time to create 1 rle with new method : 0.9993815422058105 time for calcul the mask position with numpy : 0.02556633949279785 nb_pixel_total : 72270 time to create 1 rle with old method : 0.08017086982727051 time for calcul the mask position with numpy : 0.02519536018371582 nb_pixel_total : 18303 time to create 1 rle with old method : 0.020196199417114258 time for calcul the mask position with numpy : 0.024364709854125977 nb_pixel_total : 4354 time to create 1 rle with old method : 0.004871845245361328 time for calcul the mask position with numpy : 0.032578229904174805 nb_pixel_total : 778940 time to create 1 rle with new method : 0.4896271228790283 time for calcul the mask position with numpy : 0.025712966918945312 nb_pixel_total : 36678 time to create 1 rle with old method : 0.040511369705200195 time for calcul the mask position with numpy : 0.023985862731933594 nb_pixel_total : 28529 time to create 1 rle with old method : 0.030781269073486328 time for calcul the mask position with numpy : 0.02480459213256836 nb_pixel_total : 9539 time to create 1 rle with old method : 0.010668039321899414 time for calcul the mask position with numpy : 0.023945093154907227 nb_pixel_total : 58593 time to create 1 rle with old method : 0.07967948913574219 time for calcul the mask position with numpy : 0.028573036193847656 nb_pixel_total : 168430 time to create 1 rle with new method : 0.7938673496246338 create new chi : 3.67112135887146 time to delete rle : 0.0014388561248779297 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++++Number RLEs to save : 9684 TO DO : save crop sub photo not yet done ! save time : 5.768065929412842 map_output_result : {1358096309: (0.0, 'Should be the crop_list due to order', 0), 1358096308: (0.0, 'Should be the crop_list due to order', 0), 1358096306: (0.0, 'Should be the crop_list due to order', 0), 1358096276: (0.0, 'Should be the crop_list due to order', 0), 1358096272: (0.0, 'Should be the crop_list due to order', 0), 1358096270: (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 [1358096309, 1358096308, 1358096306, 1358096276, 1358096272, 1358096270] Looping around the photos to save general results len do output : 6 /1358096309.Didn't retrieve data . /1358096308.Didn't retrieve data . /1358096306.Didn't retrieve data . /1358096276.Didn't retrieve data . /1358096272.Didn't retrieve data . /1358096270.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, '2845935') ('3318', '22949538', '1358096309', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096308', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096306', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096276', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096272', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096270', None, None, None, None, None, '2845935') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.09143519401550293 save_final save missing photos in datou_result : time spend for datou_step_exec : 82.00362920761108 time spend to save output : 0.09185624122619629 total time spend for step 3 : 82.09548544883728 step4:ventilate_hashtags_in_portfolio Wed May 14 08:23:50 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 : 22949538 get user id for portfolio 22949538 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`=22949538 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','carton','pet_fonce','pet_clair','autre','environnement','mal_croppe','flou','background','papier','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`=22949538 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','carton','pet_fonce','pet_clair','autre','environnement','mal_croppe','flou','background','papier','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`=22949538 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','carton','pet_fonce','pet_clair','autre','environnement','mal_croppe','flou','background','papier','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/22950231,22950232,22950233,22950234,22950235,22950236,22950237,22950238,22950239,22950240,22950241?tags=metal,carton,pet_fonce,pet_clair,autre,environnement,mal_croppe,flou,background,papier,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1358096309, 1358096308, 1358096306, 1358096276, 1358096272, 1358096270] Looping around the photos to save general results len do output : 1 /22949538. 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, '2845935') ('3318', '22949538', '1358096309', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096308', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096306', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096276', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096272', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096270', None, None, None, None, None, '2845935') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.0222928524017334 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.099717617034912 time spend to save output : 0.022509098052978516 total time spend for step 4 : 2.1222267150878906 step5:final Wed May 14 08:23:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1358096309: ('0.09967562451774692',), 1358096308: ('0.09967562451774692',), 1358096306: ('0.09967562451774692',), 1358096276: ('0.09967562451774692',), 1358096272: ('0.09967562451774692',), 1358096270: ('0.09967562451774692',)} new output for save of step final : {1358096309: ('0.09967562451774692',), 1358096308: ('0.09967562451774692',), 1358096306: ('0.09967562451774692',), 1358096276: ('0.09967562451774692',), 1358096272: ('0.09967562451774692',), 1358096270: ('0.09967562451774692',)} [1358096309, 1358096308, 1358096306, 1358096276, 1358096272, 1358096270] Looping around the photos to save general results len do output : 6 /1358096309.Didn't retrieve data . /1358096308.Didn't retrieve data . /1358096306.Didn't retrieve data . /1358096276.Didn't retrieve data . /1358096272.Didn't retrieve data . /1358096270.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, '2845935') ('3318', '22949538', '1358096309', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096308', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096306', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096276', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096272', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096270', None, None, None, None, None, '2845935') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.02947998046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12286972999572754 time spend to save output : 0.029871225357055664 total time spend for step 5 : 0.1527409553527832 step6:blur_detection Wed May 14 08:23:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679.jpg resize: (2160, 3840) 1358096309 -6.4864002077835465 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2.jpg resize: (2160, 3840) 1358096308 -6.563591796307767 treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347.jpg resize: (2160, 3840) 1358096306 -6.536776982471613 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc.jpg resize: (2160, 3840) 1358096276 -5.840599145924946 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2.jpg resize: (2160, 3840) 1358096272 -5.809845012431193 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10.jpg resize: (2160, 3840) 1358096270 -4.027946886983218 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618851_0.png resize: (443, 295) 1358101858 -4.005934045424899 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618856_0.png resize: (322, 341) 1358101859 0.5693305572276486 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618852_0.png resize: (285, 113) 1358101860 -4.413283386309201 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618857_0.png resize: (194, 186) 1358101861 -1.668751006899919 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618859_0.png resize: (267, 154) 1358101862 -4.100500289234507 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618860_0.png resize: (271, 179) 1358101863 -2.807976908058718 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618858_0.png resize: (174, 135) 1358101864 -3.7233033910335545 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618853_0.png resize: (262, 280) 1358101865 -4.592824896706374 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618875_0.png resize: (360, 167) 1358101866 -3.101093810503631 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618881_0.png resize: (466, 170) 1358101867 -4.138104063377343 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618862_0.png resize: (436, 301) 1358101868 -3.6676887559318954 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618869_0.png resize: (637, 426) 1358101869 -4.49814573107588 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618866_0.png resize: (289, 215) 1358101870 -3.257478249654883 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618874_0.png resize: (274, 171) 1358101871 -2.8992463728492845 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618865_0.png resize: (275, 454) 1358101872 -1.75725287604261 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618867_0.png resize: (161, 196) 1358101873 -3.8177581116880916 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618863_0.png resize: (303, 348) 1358101874 -2.3154729309833986 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618868_0.png resize: (271, 183) 1358101875 -4.050399096582694 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618877_0.png resize: (323, 248) 1358101877 -3.1803510907652432 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618870_0.png resize: (268, 261) 1358101878 -4.5804623321099305 treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618885_0.png resize: (162, 195) 1358101879 -1.4341394807078212 treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618886_0.png resize: (192, 198) 1358101880 -1.5911326835608743 treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618889_0.png resize: (162, 138) 1358101881 -0.6423064750812543 treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618888_0.png resize: (249, 232) 1358101882 -2.977014578256964 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618890_0.png resize: (257, 156) 1358101883 -2.5061558998415636 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618893_0.png resize: (233, 137) 1358101884 -3.2263461155299127 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618891_0.png resize: (306, 240) 1358101885 1.1252476253329677 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618900_0.png resize: (410, 608) 1358101886 -4.7163873963750245 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618899_0.png resize: (355, 529) 1358101887 -3.5002096489662504 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618906_0.png resize: (177, 244) 1358101888 -1.3128152185983004 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618903_0.png resize: (349, 286) 1358101889 -3.8689788716394635 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618901_0.png resize: (167, 222) 1358101890 -3.2847583794243915 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618904_0.png resize: (258, 296) 1358101891 -2.584161761536987 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618913_0.png resize: (62, 94) 1358101892 -3.714298734702729 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618908_0.png resize: (309, 301) 1358101893 -4.443901795560186 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618909_0.png resize: (102, 102) 1358101894 -2.4898852643029015 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618914_0.png resize: (142, 182) 1358101895 -4.238718055565353 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618871_0.png resize: (160, 150) 1358101898 -4.366172728445912 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618872_0.png resize: (468, 388) 1358101899 -4.448190331128749 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618894_0.png resize: (277, 156) 1358101900 -3.935021900041051 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618896_0.png resize: (213, 194) 1358101901 -3.1609799306953574 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618876_0.png resize: (153, 173) 1358101902 -4.256472580200859 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618910_0.png resize: (196, 183) 1358101903 -3.607406569580363 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618855_0.png resize: (285, 178) 1358101912 -3.7057150251528004 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618854_0.png resize: (620, 895) 1358101914 -2.771562141719057 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618861_0.png resize: (395, 373) 1358101915 -4.316138052727466 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618849_0.png resize: (234, 397) 1358101916 -3.9473319260811874 treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618850_0.png resize: (411, 315) 1358101917 -4.630838103125258 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618879_0.png resize: (528, 396) 1358101918 -5.142675928288997 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618878_0.png resize: (482, 559) 1358101919 -0.8749684357519949 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618864_0.png resize: (259, 243) 1358101920 -4.593840366009009 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618883_0.png resize: (330, 491) 1358101921 -4.609650619350305 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618882_0.png resize: (332, 471) 1358101922 -4.746925857831854 treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618887_0.png resize: (403, 299) 1358101923 -4.269778139167811 treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618884_0.png resize: (383, 502) 1358101924 -4.964457172104602 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618892_0.png resize: (386, 266) 1358101925 -4.933658846074214 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618895_0.png resize: (574, 366) 1358101926 -2.623184170511269 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618898_0.png resize: (234, 422) 1358101927 -4.340210485236442 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618905_0.png resize: (182, 418) 1358101928 -3.5973464441946414 treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618902_0.png resize: (355, 314) 1358101929 -3.9119593886422175 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618912_0.png resize: (1157, 921) 1358101930 -3.0745204230451875 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618911_0.png resize: (266, 185) 1358101931 -4.821086910338018 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618915_0.png resize: (394, 272) 1358101932 -4.518039973030151 treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618907_0.png resize: (445, 554) 1358101933 -4.170664829960954 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618880_0.png resize: (536, 383) 1358101935 -3.3881537459734554 treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618873_0.png resize: (336, 342) 1358101939 -4.788909672193172 treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618897_0.png resize: (189, 426) 1358101940 -4.237914642468837 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 : 73 time used for this insertion : 0.020027637481689453 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 73 time used for this insertion : 0.19490337371826172 save missing photos in datou_result : time spend for datou_step_exec : 26.84716486930847 time spend to save output : 0.2197856903076172 total time spend for step 6 : 27.06695055961609 step7:brightness Wed May 14 08:24:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679.jpg treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2.jpg treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347.jpg treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc.jpg treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2.jpg treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10.jpg treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618851_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618856_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618852_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618857_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618859_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618860_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618858_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618853_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618875_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618881_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618862_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618869_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618866_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618874_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618865_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618867_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618863_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618868_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618877_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618870_0.png treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618885_0.png treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618886_0.png treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618889_0.png treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618888_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618890_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618893_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618891_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618900_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618899_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618906_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618903_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618901_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618904_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618913_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618908_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618909_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618914_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618871_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618872_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618894_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618896_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618876_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618910_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618855_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618854_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618861_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618849_0.png treat image : temp/1747203629_1896901_1358096309_a4333cb95cbecd4402cd0bc0d12d9679_rle_crop_3796618850_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618879_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618878_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618864_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618883_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618882_0.png treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618887_0.png treat image : temp/1747203629_1896901_1358096306_2040d21ee975cbeeabc1856b44279347_rle_crop_3796618884_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618892_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618895_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618898_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618905_0.png treat image : temp/1747203629_1896901_1358096272_3cae3671643c529411ccc5ed8f0e79c2_rle_crop_3796618902_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618912_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618911_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618915_0.png treat image : temp/1747203629_1896901_1358096270_add34a24216d45a64d5c797c5d5b7e10_rle_crop_3796618907_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618880_0.png treat image : temp/1747203629_1896901_1358096308_9f8d1ea36e63dd475d629903441558f2_rle_crop_3796618873_0.png treat image : temp/1747203629_1896901_1358096276_265e6a45d00c3ecfdef6519ce21942fc_rle_crop_3796618897_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 : 73 time used for this insertion : 0.015322685241699219 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 73 time used for this insertion : 0.09787154197692871 save missing photos in datou_result : time spend for datou_step_exec : 6.408308506011963 time spend to save output : 0.11805057525634766 total time spend for step 7 : 6.5263590812683105 step8:velours_tree Wed May 14 08:24:26 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.14301276206970215 time spend to save output : 4.887580871582031e-05 total time spend for step 8 : 0.14306163787841797 step9:send_mail_cod Wed May 14 08:24:26 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_P22949538_14-05-2025_08_24_26.pdf 22950231 change filename to text .change filename to text .imagette229502311747203866 22950232 change filename to text .change filename to text .change filename to text .change filename to text .imagette229502321747203866 22950233 change filename to text .change filename to text .imagette229502331747203867 22950234 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette229502341747203867 22950235 change filename to text .imagette229502351747203869 22950237 imagette229502371747203869 22950238 imagette229502381747203869 22950239 imagette229502391747203869 22950240 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette229502401747203869 22950241 imagette229502411747203870 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22949538 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22950231,22950232,22950233,22950234,22950235,22950236,22950237,22950238,22950239,22950240,22950241?tags=metal,carton,pet_fonce,pet_clair,autre,environnement,mal_croppe,flou,background,papier,pehd args[1358096309] : ((1358096309, -6.4864002077835465, 492609224), (1358096309, 0.43199179089331624, 2107752395), '0.09967562451774692') We are sending mail with results at report@fotonower.com args[1358096308] : ((1358096308, -6.563591796307767, 492609224), (1358096308, 0.5252688310265091, 2107752395), '0.09967562451774692') We are sending mail with results at report@fotonower.com args[1358096306] : ((1358096306, -6.536776982471613, 492609224), (1358096306, 0.5582785882392581, 2107752395), '0.09967562451774692') We are sending mail with results at report@fotonower.com args[1358096276] : ((1358096276, -5.840599145924946, 492609224), (1358096276, 0.227767433305896, 2107752395), '0.09967562451774692') We are sending mail with results at report@fotonower.com args[1358096272] : ((1358096272, -5.809845012431193, 492609224), (1358096272, 0.40318944505267346, 2107752395), '0.09967562451774692') We are sending mail with results at report@fotonower.com args[1358096270] : ((1358096270, -4.027946886983218, 492609224), (1358096270, -0.530928952538155, 501862349), '0.09967562451774692') We are sending mail with results at report@fotonower.com refus_total : 0.09967562451774692 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=22949538 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_P22949538_14-05-2025_08_24_26.pdf results_Auto_P22949538_14-05-2025_08_24_26.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949538_14-05-2025_08_24_26.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','22949538','results_Auto_P22949538_14-05-2025_08_24_26.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949538_14-05-2025_08_24_26.pdf','pdf','','0.72','0.09967562451774692') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/22949538

https://www.fotonower.com/image?json=false&list_photos_id=1358096309
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358096308
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358096306
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358096276
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358096272
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1358096270
Bravo, la photo est bien prise.

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

exemples de contaminants: metal: https://www.fotonower.com/view/22950231?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/22950232?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/22950233?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/22950234?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/22950235?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/22950240?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949538_14-05-2025_08_24_26.pdf.

Lien vers velours :https://www.fotonower.com/velours/22950231,22950232,22950233,22950234,22950235,22950236,22950237,22950238,22950239,22950240,22950241?tags=metal,carton,pet_fonce,pet_clair,autre,environnement,mal_croppe,flou,background,papier,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 14 May 2025 06:24:33 GMT Content-Length: 0 Connection: close X-Message-Id: y3AtQIroTdCaxxhg1H52yA 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 [1358096309, 1358096308, 1358096306, 1358096276, 1358096272, 1358096270] 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, '2845935') ('3318', '22949538', '1358096309', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096308', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096306', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096276', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096272', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096270', None, None, None, None, None, '2845935') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.09023404121398926 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.484522819519043 time spend to save output : 0.09048247337341309 total time spend for step 9 : 6.575005292892456 step10:split_time_score Wed May 14 08:24: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 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'}] (('06', 6),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14052025 22949538 Nombre de photos uploadées : 6 / 23040 (0%) 14052025 22949538 Nombre de photos taguées (types de déchets): 0 / 6 (0%) 14052025 22949538 Nombre de photos taguées (volume) : 0 / 6 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ?????? elapsed_time : fill_and_build_computed_from_old_data 0.0003943443298339844 elapsed_time : insert_dashboard_record_day_entry 0.04074430465698242 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.15093270158179015 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948162_14-05-2025_07_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948162 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`=22948162 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948165 order by id desc limit 1 Qualite : 0.09967562451774692 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949538_14-05-2025_08_24_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22949538 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`=22949538 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14052025': {'nb_upload': 6, '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 [1358096309, 1358096308, 1358096306, 1358096276, 1358096272, 1358096270] Looping around the photos to save general results len do output : 1 /22949538Didn'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, '2845935') ('3318', '22949538', '1358096309', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096308', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096306', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096276', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096272', None, None, None, None, None, '2845935') ('3318', None, None, None, None, None, None, None, '2845935') ('3318', '22949538', '1358096270', None, None, None, None, None, '2845935') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.0460820198059082 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1882116794586182 time spend to save output : 0.046288490295410156 total time spend for step 10 : 1.2345001697540283 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 92.74user 88.01system 4:08.41elapsed 72%CPU (0avgtext+0avgdata 4323260maxresident)k 506888inputs+99968outputs (61major+8707671minor)pagefaults 0swaps