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 : 824347 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 : ['2953410'] with mtr_portfolio_ids : ['23334478'] and first list_photo_ids : [] new path : /proc/824347/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.594466209411621 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 Mon May 26 18:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6579 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-26 18:10:32.795997: 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-26 18:10:32.804717: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-26 18:10:32.806304: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f811c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-26 18:10:32.806346: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-26 18:10:32.808888: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-26 18:10:32.935698: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xebaece0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-26 18:10:32.935764: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-26 18:10:32.936912: 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-26 18:10:32.937302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 18:10:32.939814: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 18:10:32.942119: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-26 18:10:32.942552: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-26 18:10:32.945478: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-26 18:10:32.947062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-26 18:10:32.952719: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-26 18:10:32.954472: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-26 18:10:32.954572: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 18:10:32.955474: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-26 18:10:32.955496: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-26 18:10:32.955510: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-26 18:10:32.957418: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5898 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-26 18:10:33.322934: 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-26 18:10:33.323071: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 18:10:33.323099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 18:10:33.323122: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-26 18:10:33.323145: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-26 18:10:33.323166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-26 18:10:33.323189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-26 18:10:33.323214: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-26 18:10:33.324587: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-26 18:10:33.326535: 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-26 18:10:33.326686: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 18:10:33.326716: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 18:10:33.326740: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-26 18:10:33.326765: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-26 18:10:33.326789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-26 18:10:33.326813: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-26 18:10:33.326837: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-26 18:10:33.328577: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-26 18:10:33.328646: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-26 18:10:33.328665: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-26 18:10:33.328682: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-26 18:10:33.330623: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5898 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-26 18:10:48.482056: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 18:10:48.786534: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 11.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 35 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 12.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: 3264.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 12.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: 3264.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 2.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: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 19.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: 3264.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 5386 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.002352476119995117 nb_pixel_total : 41273 time to create 1 rle with old method : 0.050994873046875 length of segment : 307 time for calcul the mask position with numpy : 0.002729654312133789 nb_pixel_total : 97749 time to create 1 rle with old method : 0.11090755462646484 length of segment : 373 time for calcul the mask position with numpy : 0.004075288772583008 nb_pixel_total : 143856 time to create 1 rle with old method : 0.1600024700164795 length of segment : 452 time for calcul the mask position with numpy : 0.0019659996032714844 nb_pixel_total : 96152 time to create 1 rle with old method : 0.10782575607299805 length of segment : 503 time for calcul the mask position with numpy : 0.0017242431640625 nb_pixel_total : 67155 time to create 1 rle with old method : 0.07642149925231934 length of segment : 472 time for calcul the mask position with numpy : 0.0013768672943115234 nb_pixel_total : 41015 time to create 1 rle with old method : 0.07718801498413086 length of segment : 337 time for calcul the mask position with numpy : 0.000667572021484375 nb_pixel_total : 32099 time to create 1 rle with old method : 0.03633475303649902 length of segment : 178 time for calcul the mask position with numpy : 0.00023698806762695312 nb_pixel_total : 7306 time to create 1 rle with old method : 0.008764505386352539 length of segment : 169 time for calcul the mask position with numpy : 0.002149820327758789 nb_pixel_total : 104336 time to create 1 rle with old method : 0.11938214302062988 length of segment : 420 time for calcul the mask position with numpy : 0.0003039836883544922 nb_pixel_total : 11910 time to create 1 rle with old method : 0.013959646224975586 length of segment : 154 time for calcul the mask position with numpy : 0.001687765121459961 nb_pixel_total : 88603 time to create 1 rle with old method : 0.10357403755187988 length of segment : 318 time for calcul the mask position with numpy : 0.1309523582458496 nb_pixel_total : 268038 time to create 1 rle with new method : 0.018389225006103516 length of segment : 848 time for calcul the mask position with numpy : 0.0011060237884521484 nb_pixel_total : 54074 time to create 1 rle with old method : 0.06255459785461426 length of segment : 419 time for calcul the mask position with numpy : 0.00032210350036621094 nb_pixel_total : 18214 time to create 1 rle with old method : 0.021120309829711914 length of segment : 84 time for calcul the mask position with numpy : 0.0013537406921386719 nb_pixel_total : 74012 time to create 1 rle with old method : 0.09600257873535156 length of segment : 239 time for calcul the mask position with numpy : 0.0007987022399902344 nb_pixel_total : 17335 time to create 1 rle with old method : 0.019750595092773438 length of segment : 152 time for calcul the mask position with numpy : 0.003523111343383789 nb_pixel_total : 61366 time to create 1 rle with old method : 0.06986308097839355 length of segment : 407 time for calcul the mask position with numpy : 0.0006823539733886719 nb_pixel_total : 17269 time to create 1 rle with old method : 0.020132064819335938 length of segment : 191 time for calcul the mask position with numpy : 0.00264739990234375 nb_pixel_total : 79167 time to create 1 rle with old method : 0.11151862144470215 length of segment : 346 time for calcul the mask position with numpy : 0.0017044544219970703 nb_pixel_total : 55653 time to create 1 rle with old method : 0.06255936622619629 length of segment : 183 time for calcul the mask position with numpy : 0.0014355182647705078 nb_pixel_total : 31277 time to create 1 rle with old method : 0.036002397537231445 length of segment : 219 time for calcul the mask position with numpy : 0.0007944107055664062 nb_pixel_total : 11039 time to create 1 rle with old method : 0.018504858016967773 length of segment : 140 time for calcul the mask position with numpy : 0.001142263412475586 nb_pixel_total : 20034 time to create 1 rle with old method : 0.03294181823730469 length of segment : 188 time for calcul the mask position with numpy : 0.0031003952026367188 nb_pixel_total : 68708 time to create 1 rle with old method : 0.08175945281982422 length of segment : 298 time for calcul the mask position with numpy : 0.0005970001220703125 nb_pixel_total : 9996 time to create 1 rle with old method : 0.012397289276123047 length of segment : 110 time for calcul the mask position with numpy : 0.0007600784301757812 nb_pixel_total : 17693 time to create 1 rle with old method : 0.020934581756591797 length of segment : 159 time for calcul the mask position with numpy : 0.007441282272338867 nb_pixel_total : 189460 time to create 1 rle with new method : 0.01507711410522461 length of segment : 554 time for calcul the mask position with numpy : 0.0010728836059570312 nb_pixel_total : 36535 time to create 1 rle with old method : 0.04110383987426758 length of segment : 200 time for calcul the mask position with numpy : 0.00040531158447265625 nb_pixel_total : 10750 time to create 1 rle with old method : 0.012935638427734375 length of segment : 80 time for calcul the mask position with numpy : 0.0028617382049560547 nb_pixel_total : 74855 time to create 1 rle with old method : 0.08539009094238281 length of segment : 368 time for calcul the mask position with numpy : 0.0006330013275146484 nb_pixel_total : 18825 time to create 1 rle with old method : 0.021533727645874023 length of segment : 373 time for calcul the mask position with numpy : 0.0014815330505371094 nb_pixel_total : 58875 time to create 1 rle with old method : 0.06728911399841309 length of segment : 218 time for calcul the mask position with numpy : 0.0006473064422607422 nb_pixel_total : 20174 time to create 1 rle with old method : 0.02299046516418457 length of segment : 219 time for calcul the mask position with numpy : 0.0005395412445068359 nb_pixel_total : 17566 time to create 1 rle with old method : 0.021218538284301758 length of segment : 170 time for calcul the mask position with numpy : 0.005288839340209961 nb_pixel_total : 157438 time to create 1 rle with new method : 0.012317419052124023 length of segment : 1144 time for calcul the mask position with numpy : 0.0013763904571533203 nb_pixel_total : 56575 time to create 1 rle with old method : 0.06475687026977539 length of segment : 267 time for calcul the mask position with numpy : 0.0012335777282714844 nb_pixel_total : 37256 time to create 1 rle with old method : 0.04417824745178223 length of segment : 203 time for calcul the mask position with numpy : 0.0005412101745605469 nb_pixel_total : 15448 time to create 1 rle with old method : 0.018128633499145508 length of segment : 126 time for calcul the mask position with numpy : 0.0006265640258789062 nb_pixel_total : 19682 time to create 1 rle with old method : 0.02321791648864746 length of segment : 141 time for calcul the mask position with numpy : 0.0006668567657470703 nb_pixel_total : 39376 time to create 1 rle with old method : 0.04630708694458008 length of segment : 207 time for calcul the mask position with numpy : 0.0024728775024414062 nb_pixel_total : 86782 time to create 1 rle with old method : 0.11132073402404785 length of segment : 439 time for calcul the mask position with numpy : 0.0022144317626953125 nb_pixel_total : 90483 time to create 1 rle with old method : 0.1081230640411377 length of segment : 261 time for calcul the mask position with numpy : 0.0012090206146240234 nb_pixel_total : 21295 time to create 1 rle with old method : 0.027875661849975586 length of segment : 168 time for calcul the mask position with numpy : 0.0010833740234375 nb_pixel_total : 27427 time to create 1 rle with old method : 0.03103923797607422 length of segment : 252 time for calcul the mask position with numpy : 0.001991748809814453 nb_pixel_total : 68685 time to create 1 rle with old method : 0.07735109329223633 length of segment : 277 time for calcul the mask position with numpy : 0.0025730133056640625 nb_pixel_total : 80748 time to create 1 rle with old method : 0.09068489074707031 length of segment : 388 time for calcul the mask position with numpy : 0.0003514289855957031 nb_pixel_total : 6538 time to create 1 rle with old method : 0.007669925689697266 length of segment : 101 time for calcul the mask position with numpy : 0.0005948543548583984 nb_pixel_total : 20731 time to create 1 rle with old method : 0.0243527889251709 length of segment : 120 time for calcul the mask position with numpy : 0.0027658939361572266 nb_pixel_total : 66576 time to create 1 rle with old method : 0.07469916343688965 length of segment : 396 time for calcul the mask position with numpy : 0.0021867752075195312 nb_pixel_total : 53898 time to create 1 rle with old method : 0.06065511703491211 length of segment : 290 time for calcul the mask position with numpy : 0.002965211868286133 nb_pixel_total : 64653 time to create 1 rle with old method : 0.07268118858337402 length of segment : 280 time for calcul the mask position with numpy : 0.0010633468627929688 nb_pixel_total : 23163 time to create 1 rle with old method : 0.027452468872070312 length of segment : 245 time for calcul the mask position with numpy : 0.004442930221557617 nb_pixel_total : 60469 time to create 1 rle with old method : 0.07326769828796387 length of segment : 291 time for calcul the mask position with numpy : 0.0020079612731933594 nb_pixel_total : 43740 time to create 1 rle with old method : 0.04966473579406738 length of segment : 326 time for calcul the mask position with numpy : 0.0030531883239746094 nb_pixel_total : 97881 time to create 1 rle with old method : 0.11115241050720215 length of segment : 378 time for calcul the mask position with numpy : 0.0007090568542480469 nb_pixel_total : 18904 time to create 1 rle with old method : 0.02380204200744629 length of segment : 111 time for calcul the mask position with numpy : 0.002440214157104492 nb_pixel_total : 76660 time to create 1 rle with old method : 0.09371256828308105 length of segment : 457 time for calcul the mask position with numpy : 0.0007350444793701172 nb_pixel_total : 27669 time to create 1 rle with old method : 0.031768083572387695 length of segment : 203 time for calcul the mask position with numpy : 0.0020122528076171875 nb_pixel_total : 71612 time to create 1 rle with old method : 0.08136916160583496 length of segment : 376 time for calcul the mask position with numpy : 0.0008158683776855469 nb_pixel_total : 22661 time to create 1 rle with old method : 0.033074378967285156 length of segment : 157 time for calcul the mask position with numpy : 0.0011889934539794922 nb_pixel_total : 37803 time to create 1 rle with old method : 0.047499656677246094 length of segment : 197 time for calcul the mask position with numpy : 0.0006666183471679688 nb_pixel_total : 9606 time to create 1 rle with old method : 0.0160977840423584 length of segment : 106 time for calcul the mask position with numpy : 0.0013310909271240234 nb_pixel_total : 39914 time to create 1 rle with old method : 0.04669451713562012 length of segment : 211 time for calcul the mask position with numpy : 0.0004627704620361328 nb_pixel_total : 9744 time to create 1 rle with old method : 0.012649297714233398 length of segment : 111 time for calcul the mask position with numpy : 0.08676934242248535 nb_pixel_total : 319548 time to create 1 rle with new method : 0.019597530364990234 length of segment : 939 time for calcul the mask position with numpy : 0.007515907287597656 nb_pixel_total : 236814 time to create 1 rle with new method : 0.017959117889404297 length of segment : 637 time for calcul the mask position with numpy : 0.003097057342529297 nb_pixel_total : 135598 time to create 1 rle with old method : 0.15492749214172363 length of segment : 415 time for calcul the mask position with numpy : 0.0013141632080078125 nb_pixel_total : 42573 time to create 1 rle with old method : 0.04832863807678223 length of segment : 232 time for calcul the mask position with numpy : 0.0010557174682617188 nb_pixel_total : 21962 time to create 1 rle with old method : 0.02548980712890625 length of segment : 233 time for calcul the mask position with numpy : 0.0011856555938720703 nb_pixel_total : 28090 time to create 1 rle with old method : 0.03237295150756836 length of segment : 205 time for calcul the mask position with numpy : 0.0018887519836425781 nb_pixel_total : 67188 time to create 1 rle with old method : 0.0903623104095459 length of segment : 232 time for calcul the mask position with numpy : 0.003789186477661133 nb_pixel_total : 112828 time to create 1 rle with old method : 0.1271357536315918 length of segment : 486 time for calcul the mask position with numpy : 0.00038361549377441406 nb_pixel_total : 7820 time to create 1 rle with old method : 0.009038686752319336 length of segment : 139 time for calcul the mask position with numpy : 0.007713794708251953 nb_pixel_total : 237654 time to create 1 rle with new method : 0.01851654052734375 length of segment : 411 time for calcul the mask position with numpy : 0.0004515647888183594 nb_pixel_total : 8650 time to create 1 rle with old method : 0.010084152221679688 length of segment : 111 time for calcul the mask position with numpy : 0.0003383159637451172 nb_pixel_total : 10630 time to create 1 rle with old method : 0.012377500534057617 length of segment : 214 time for calcul the mask position with numpy : 0.000274658203125 nb_pixel_total : 9808 time to create 1 rle with old method : 0.011358261108398438 length of segment : 195 time for calcul the mask position with numpy : 0.00023889541625976562 nb_pixel_total : 6591 time to create 1 rle with old method : 0.007928133010864258 length of segment : 58 time for calcul the mask position with numpy : 0.0011742115020751953 nb_pixel_total : 51013 time to create 1 rle with old method : 0.05743288993835449 length of segment : 547 time for calcul the mask position with numpy : 0.001781463623046875 nb_pixel_total : 49960 time to create 1 rle with old method : 0.056680917739868164 length of segment : 431 time for calcul the mask position with numpy : 0.004537105560302734 nb_pixel_total : 136802 time to create 1 rle with old method : 0.15632033348083496 length of segment : 247 time for calcul the mask position with numpy : 0.0005233287811279297 nb_pixel_total : 13482 time to create 1 rle with old method : 0.015696048736572266 length of segment : 131 time for calcul the mask position with numpy : 0.0029006004333496094 nb_pixel_total : 93018 time to create 1 rle with old method : 0.10447144508361816 length of segment : 437 time for calcul the mask position with numpy : 0.0029015541076660156 nb_pixel_total : 98219 time to create 1 rle with old method : 0.11006665229797363 length of segment : 459 time for calcul the mask position with numpy : 0.001720428466796875 nb_pixel_total : 70609 time to create 1 rle with old method : 0.08312273025512695 length of segment : 462 time for calcul the mask position with numpy : 0.0010116100311279297 nb_pixel_total : 42562 time to create 1 rle with old method : 0.04829907417297363 length of segment : 223 time for calcul the mask position with numpy : 0.002332448959350586 nb_pixel_total : 76446 time to create 1 rle with old method : 0.08619141578674316 length of segment : 326 time for calcul the mask position with numpy : 0.0022325515747070312 nb_pixel_total : 112351 time to create 1 rle with old method : 0.15007758140563965 length of segment : 585 time for calcul the mask position with numpy : 0.0008995532989501953 nb_pixel_total : 30306 time to create 1 rle with old method : 0.03456878662109375 length of segment : 236 time for calcul the mask position with numpy : 0.0010199546813964844 nb_pixel_total : 24398 time to create 1 rle with old method : 0.029156923294067383 length of segment : 365 time for calcul the mask position with numpy : 0.0012297630310058594 nb_pixel_total : 27522 time to create 1 rle with old method : 0.032022953033447266 length of segment : 145 time for calcul the mask position with numpy : 0.0011763572692871094 nb_pixel_total : 27194 time to create 1 rle with old method : 0.031054258346557617 length of segment : 201 time for calcul the mask position with numpy : 0.0006632804870605469 nb_pixel_total : 13520 time to create 1 rle with old method : 0.01584482192993164 length of segment : 127 time for calcul the mask position with numpy : 0.0022056102752685547 nb_pixel_total : 52257 time to create 1 rle with old method : 0.05897378921508789 length of segment : 357 time for calcul the mask position with numpy : 0.0028228759765625 nb_pixel_total : 65239 time to create 1 rle with old method : 0.07477807998657227 length of segment : 230 time for calcul the mask position with numpy : 0.002126455307006836 nb_pixel_total : 54794 time to create 1 rle with old method : 0.06240367889404297 length of segment : 264 time for calcul the mask position with numpy : 0.0019989013671875 nb_pixel_total : 48877 time to create 1 rle with old method : 0.05584239959716797 length of segment : 169 time for calcul the mask position with numpy : 0.0003635883331298828 nb_pixel_total : 5938 time to create 1 rle with old method : 0.007356166839599609 length of segment : 76 time for calcul the mask position with numpy : 0.0029277801513671875 nb_pixel_total : 58958 time to create 1 rle with old method : 0.0675649642944336 length of segment : 362 time for calcul the mask position with numpy : 0.0010571479797363281 nb_pixel_total : 21507 time to create 1 rle with old method : 0.024976730346679688 length of segment : 215 time for calcul the mask position with numpy : 0.0010342597961425781 nb_pixel_total : 24123 time to create 1 rle with old method : 0.028075218200683594 length of segment : 177 time for calcul the mask position with numpy : 0.0016520023345947266 nb_pixel_total : 49206 time to create 1 rle with old method : 0.05701565742492676 length of segment : 199 time for calcul the mask position with numpy : 0.0012505054473876953 nb_pixel_total : 23770 time to create 1 rle with old method : 0.02739095687866211 length of segment : 226 time for calcul the mask position with numpy : 0.0016868114471435547 nb_pixel_total : 31136 time to create 1 rle with old method : 0.03587007522583008 length of segment : 341 time for calcul the mask position with numpy : 0.0004923343658447266 nb_pixel_total : 12760 time to create 1 rle with old method : 0.014484882354736328 length of segment : 146 time for calcul the mask position with numpy : 0.0010180473327636719 nb_pixel_total : 26864 time to create 1 rle with old method : 0.030855178833007812 length of segment : 157 time for calcul the mask position with numpy : 0.00738072395324707 nb_pixel_total : 181332 time to create 1 rle with new method : 0.017802953720092773 length of segment : 646 time for calcul the mask position with numpy : 0.0016510486602783203 nb_pixel_total : 48933 time to create 1 rle with old method : 0.05492258071899414 length of segment : 227 time spent for convertir_results : 11.980456113815308 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 108 chid ids of type : 3594 Number RLEs to save : 31298 save missing photos in datou_result : time spend for datou_step_exec : 84.12376260757446 time spend to save output : 2.0328738689422607 total time spend for step 1 : 86.15663647651672 step2:crop_condition Mon May 26 18:11:55 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 : 10 ! batch 1 Loaded 108 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 51 About to insert : list_path_to_insert length 51 new photo from crops ! About to upload 51 photos upload in portfolio : 3736932 init cache_photo without model_param we have 51 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748275929_824347 we have uploaded 51 photos in the portfolio 3736932 time of upload the photos Elapsed time : 14.362337827682495 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748275949_824347 we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.641605854034424 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 40 About to insert : list_path_to_insert length 40 new photo from crops ! About to upload 40 photos upload in portfolio : 3736932 init cache_photo without model_param we have 40 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748275969_824347 we have uploaded 40 photos in the portfolio 3736932 time of upload the photos Elapsed time : 10.508716344833374 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1748275982_824347 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0747084617614746 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748275985_824347 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5768759250640869 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1361044994, 1361044280, 1361044276, 1361044273, 1361044253, 1361044249, 1361044245, 1361044240, 1361044232, 1361044203] Looping around the photos to save general results len do output : 108 /1361128952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128981Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128985Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128991Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128992Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128993Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128995Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128996Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361128999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129000Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129003Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129027Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129033Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129063Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129066Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129068Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129071Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129072Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129073Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129074Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129076Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129078Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129082Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129084Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129102Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361129108Didn'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, '2953410') ('3318', '23334478', '1361044994', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044280', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044276', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044273', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044253', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044249', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044245', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044240', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044232', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044203', None, None, None, None, None, '2953410') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 334 time used for this insertion : 0.028326988220214844 save_final save missing photos in datou_result : time spend for datou_step_exec : 69.42026615142822 time spend to save output : 0.03157210350036621 total time spend for step 2 : 69.45183825492859 step3:rle_unique_nms_with_priority Mon May 26 18:13:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 108 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 5.431258678436279 time for calcul the mask position with numpy : 1.0294504165649414 nb_pixel_total : 6523879 time to create 1 rle with new method : 0.8125648498535156 time for calcul the mask position with numpy : 0.026849746704101562 nb_pixel_total : 7306 time to create 1 rle with old method : 0.008252620697021484 time for calcul the mask position with numpy : 0.02573680877685547 nb_pixel_total : 31918 time to create 1 rle with old method : 0.03564786911010742 time for calcul the mask position with numpy : 0.023539066314697266 nb_pixel_total : 41015 time to create 1 rle with old method : 0.04558396339416504 time for calcul the mask position with numpy : 0.023667097091674805 nb_pixel_total : 67155 time to create 1 rle with old method : 0.07471013069152832 time for calcul the mask position with numpy : 0.023673295974731445 nb_pixel_total : 96089 time to create 1 rle with old method : 0.10710668563842773 time for calcul the mask position with numpy : 0.023126840591430664 nb_pixel_total : 143856 time to create 1 rle with old method : 0.16513586044311523 time for calcul the mask position with numpy : 0.039722442626953125 nb_pixel_total : 97749 time to create 1 rle with old method : 0.10907292366027832 time for calcul the mask position with numpy : 0.036891937255859375 nb_pixel_total : 41273 time to create 1 rle with old method : 0.04576277732849121 create new chi : 2.696373462677002 time to delete rle : 0.02985215187072754 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 7711 TO DO : save crop sub photo not yet done ! save time : 0.512500524520874 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 4.561601400375366 time for calcul the mask position with numpy : 0.872295618057251 nb_pixel_total : 6431053 time to create 1 rle with new method : 1.0858466625213623 time for calcul the mask position with numpy : 0.04043221473693848 nb_pixel_total : 74012 time to create 1 rle with old method : 0.08405470848083496 time for calcul the mask position with numpy : 0.040967702865600586 nb_pixel_total : 18214 time to create 1 rle with old method : 0.020629167556762695 time for calcul the mask position with numpy : 0.03191041946411133 nb_pixel_total : 54074 time to create 1 rle with old method : 0.06092047691345215 time for calcul the mask position with numpy : 0.029088497161865234 nb_pixel_total : 268038 time to create 1 rle with new method : 1.1749253273010254 time for calcul the mask position with numpy : 0.02474832534790039 nb_pixel_total : 88603 time to create 1 rle with old method : 0.09907031059265137 time for calcul the mask position with numpy : 0.022602558135986328 nb_pixel_total : 11910 time to create 1 rle with old method : 0.014804601669311523 time for calcul the mask position with numpy : 0.02306532859802246 nb_pixel_total : 104336 time to create 1 rle with old method : 0.11658143997192383 create new chi : 3.818801164627075 time to delete rle : 0.0014061927795410156 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++++Number RLEs to save : 7124 TO DO : save crop sub photo not yet done ! save time : 0.48938465118408203 nb_obj : 16 nb_hashtags : 3 time to prepare the origin masks : 10.227250337600708 time for calcul the mask position with numpy : 0.5435912609100342 nb_pixel_total : 6333608 time to create 1 rle with new method : 0.7460782527923584 time for calcul the mask position with numpy : 0.0365447998046875 nb_pixel_total : 16109 time to create 1 rle with old method : 0.018491506576538086 time for calcul the mask position with numpy : 0.03927206993103027 nb_pixel_total : 74855 time to create 1 rle with old method : 0.08474254608154297 time for calcul the mask position with numpy : 0.04058837890625 nb_pixel_total : 10136 time to create 1 rle with old method : 0.011471986770629883 time for calcul the mask position with numpy : 0.037363290786743164 nb_pixel_total : 36535 time to create 1 rle with old method : 0.04110455513000488 time for calcul the mask position with numpy : 0.04016923904418945 nb_pixel_total : 189460 time to create 1 rle with new method : 0.6596472263336182 time for calcul the mask position with numpy : 0.03601837158203125 nb_pixel_total : 17693 time to create 1 rle with old method : 0.02403879165649414 time for calcul the mask position with numpy : 0.03965353965759277 nb_pixel_total : 9996 time to create 1 rle with old method : 0.011766672134399414 time for calcul the mask position with numpy : 0.04132795333862305 nb_pixel_total : 68708 time to create 1 rle with old method : 0.08814430236816406 time for calcul the mask position with numpy : 0.03504014015197754 nb_pixel_total : 20034 time to create 1 rle with old method : 0.028484106063842773 time for calcul the mask position with numpy : 0.038529157638549805 nb_pixel_total : 11039 time to create 1 rle with old method : 0.012831687927246094 time for calcul the mask position with numpy : 0.029800891876220703 nb_pixel_total : 31277 time to create 1 rle with old method : 0.03507876396179199 time for calcul the mask position with numpy : 0.03524422645568848 nb_pixel_total : 55653 time to create 1 rle with old method : 0.08916592597961426 time for calcul the mask position with numpy : 0.043442726135253906 nb_pixel_total : 79167 time to create 1 rle with old method : 0.08998370170593262 time for calcul the mask position with numpy : 0.030952930450439453 nb_pixel_total : 17269 time to create 1 rle with old method : 0.020525217056274414 time for calcul the mask position with numpy : 0.027036428451538086 nb_pixel_total : 61366 time to create 1 rle with old method : 0.07012701034545898 time for calcul the mask position with numpy : 0.023508310317993164 nb_pixel_total : 17335 time to create 1 rle with old method : 0.019742965698242188 create new chi : 3.240241050720215 time to delete rle : 0.002585172653198242 batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++++Number RLEs to save : 9873 TO DO : save crop sub photo not yet done ! save time : 0.6365046501159668 nb_obj : 12 nb_hashtags : 3 time to prepare the origin masks : 6.374987840652466 time for calcul the mask position with numpy : 0.849066972732544 nb_pixel_total : 6429291 time to create 1 rle with new method : 1.6246824264526367 time for calcul the mask position with numpy : 0.04580497741699219 nb_pixel_total : 21295 time to create 1 rle with old method : 0.024042606353759766 time for calcul the mask position with numpy : 0.03974103927612305 nb_pixel_total : 90483 time to create 1 rle with old method : 0.1021420955657959 time for calcul the mask position with numpy : 0.03745317459106445 nb_pixel_total : 86782 time to create 1 rle with old method : 0.10083150863647461 time for calcul the mask position with numpy : 0.03801560401916504 nb_pixel_total : 39376 time to create 1 rle with old method : 0.044606924057006836 time for calcul the mask position with numpy : 0.0419919490814209 nb_pixel_total : 19682 time to create 1 rle with old method : 0.022104978561401367 time for calcul the mask position with numpy : 0.036484718322753906 nb_pixel_total : 15448 time to create 1 rle with old method : 0.018162250518798828 time for calcul the mask position with numpy : 0.02597665786743164 nb_pixel_total : 37256 time to create 1 rle with old method : 0.044348955154418945 time for calcul the mask position with numpy : 0.03494381904602051 nb_pixel_total : 56574 time to create 1 rle with old method : 0.06636238098144531 time for calcul the mask position with numpy : 0.04089665412902832 nb_pixel_total : 157438 time to create 1 rle with new method : 1.3214173316955566 time for calcul the mask position with numpy : 0.03763246536254883 nb_pixel_total : 17566 time to create 1 rle with old method : 0.019632339477539062 time for calcul the mask position with numpy : 0.03802800178527832 nb_pixel_total : 20174 time to create 1 rle with old method : 0.0325930118560791 time for calcul the mask position with numpy : 0.043436527252197266 nb_pixel_total : 58875 time to create 1 rle with old method : 0.0666816234588623 create new chi : 4.871387243270874 time to delete rle : 0.0020127296447753906 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++++++++Number RLEs to save : 9285 TO DO : save crop sub photo not yet done ! save time : 0.7669112682342529 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 6.4193572998046875 time for calcul the mask position with numpy : 1.5099503993988037 nb_pixel_total : 6660984 time to create 1 rle with new method : 1.1115422248840332 time for calcul the mask position with numpy : 0.037601470947265625 nb_pixel_total : 64653 time to create 1 rle with old method : 0.07195019721984863 time for calcul the mask position with numpy : 0.04029369354248047 nb_pixel_total : 53898 time to create 1 rle with old method : 0.060086727142333984 time for calcul the mask position with numpy : 0.038362979888916016 nb_pixel_total : 66576 time to create 1 rle with old method : 0.07492828369140625 time for calcul the mask position with numpy : 0.03617453575134277 nb_pixel_total : 20731 time to create 1 rle with old method : 0.023566007614135742 time for calcul the mask position with numpy : 0.03624463081359863 nb_pixel_total : 6538 time to create 1 rle with old method : 0.007426738739013672 time for calcul the mask position with numpy : 0.03577899932861328 nb_pixel_total : 80748 time to create 1 rle with old method : 0.09047055244445801 time for calcul the mask position with numpy : 0.022182703018188477 nb_pixel_total : 68685 time to create 1 rle with old method : 0.07683897018432617 time for calcul the mask position with numpy : 0.021912574768066406 nb_pixel_total : 27427 time to create 1 rle with old method : 0.030603647232055664 create new chi : 3.370260715484619 time to delete rle : 0.0009837150573730469 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 6368 TO DO : save crop sub photo not yet done ! save time : 0.42224717140197754 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 7.021378517150879 time for calcul the mask position with numpy : 1.510660171508789 nb_pixel_total : 6630142 time to create 1 rle with new method : 1.123615026473999 time for calcul the mask position with numpy : 0.039447784423828125 nb_pixel_total : 71612 time to create 1 rle with old method : 0.10838055610656738 time for calcul the mask position with numpy : 0.02655935287475586 nb_pixel_total : 27669 time to create 1 rle with old method : 0.044669151306152344 time for calcul the mask position with numpy : 0.02397465705871582 nb_pixel_total : 76660 time to create 1 rle with old method : 0.09479045867919922 time for calcul the mask position with numpy : 0.03797650337219238 nb_pixel_total : 18904 time to create 1 rle with old method : 0.021385908126831055 time for calcul the mask position with numpy : 0.038539886474609375 nb_pixel_total : 97881 time to create 1 rle with old method : 0.10825586318969727 time for calcul the mask position with numpy : 0.03780794143676758 nb_pixel_total : 43740 time to create 1 rle with old method : 0.05241537094116211 time for calcul the mask position with numpy : 0.04276418685913086 nb_pixel_total : 60469 time to create 1 rle with old method : 0.07010436058044434 time for calcul the mask position with numpy : 0.040633201599121094 nb_pixel_total : 23163 time to create 1 rle with old method : 0.03869795799255371 create new chi : 3.5226051807403564 time to delete rle : 0.0013988018035888672 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++Number RLEs to save : 6934 TO DO : save crop sub photo not yet done ! save time : 0.43917107582092285 nb_obj : 9 nb_hashtags : 2 time to prepare the origin masks : 5.039788007736206 time for calcul the mask position with numpy : 0.546893835067749 nb_pixel_total : 6206315 time to create 1 rle with new method : 0.545194149017334 time for calcul the mask position with numpy : 0.03825235366821289 nb_pixel_total : 42573 time to create 1 rle with old method : 0.05253934860229492 time for calcul the mask position with numpy : 0.04761838912963867 nb_pixel_total : 125262 time to create 1 rle with old method : 0.1435413360595703 time for calcul the mask position with numpy : 0.040952205657958984 nb_pixel_total : 236814 time to create 1 rle with new method : 0.6502394676208496 time for calcul the mask position with numpy : 0.040042877197265625 nb_pixel_total : 319548 time to create 1 rle with new method : 0.7761898040771484 time for calcul the mask position with numpy : 0.041756629943847656 nb_pixel_total : 9744 time to create 1 rle with old method : 0.011078834533691406 time for calcul the mask position with numpy : 0.03952932357788086 nb_pixel_total : 39914 time to create 1 rle with old method : 0.04517054557800293 time for calcul the mask position with numpy : 0.03808999061584473 nb_pixel_total : 9606 time to create 1 rle with old method : 0.010851144790649414 time for calcul the mask position with numpy : 0.03736281394958496 nb_pixel_total : 37803 time to create 1 rle with old method : 0.04260444641113281 time for calcul the mask position with numpy : 0.04385495185852051 nb_pixel_total : 22661 time to create 1 rle with old method : 0.02571868896484375 create new chi : 3.3423678874969482 time to delete rle : 0.002624034881591797 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++Number RLEs to save : 8036 TO DO : save crop sub photo not yet done ! save time : 0.5686297416687012 nb_obj : 12 nb_hashtags : 3 time to prepare the origin masks : 8.778533458709717 time for calcul the mask position with numpy : 0.7255756855010986 nb_pixel_total : 6438833 time to create 1 rle with new method : 0.9855155944824219 time for calcul the mask position with numpy : 0.04077291488647461 nb_pixel_total : 49960 time to create 1 rle with old method : 0.05669522285461426 time for calcul the mask position with numpy : 0.041138648986816406 nb_pixel_total : 51013 time to create 1 rle with old method : 0.05816197395324707 time for calcul the mask position with numpy : 0.04272103309631348 nb_pixel_total : 6591 time to create 1 rle with old method : 0.011110305786132812 time for calcul the mask position with numpy : 0.03897237777709961 nb_pixel_total : 9713 time to create 1 rle with old method : 0.01115274429321289 time for calcul the mask position with numpy : 0.03817248344421387 nb_pixel_total : 9938 time to create 1 rle with old method : 0.011451005935668945 time for calcul the mask position with numpy : 0.036925554275512695 nb_pixel_total : 8650 time to create 1 rle with old method : 0.009918928146362305 time for calcul the mask position with numpy : 0.040839195251464844 nb_pixel_total : 237654 time to create 1 rle with new method : 0.9560861587524414 time for calcul the mask position with numpy : 0.03666090965270996 nb_pixel_total : 7820 time to create 1 rle with old method : 0.020224332809448242 time for calcul the mask position with numpy : 0.0424351692199707 nb_pixel_total : 112828 time to create 1 rle with old method : 0.15262794494628906 time for calcul the mask position with numpy : 0.04488396644592285 nb_pixel_total : 67188 time to create 1 rle with old method : 0.08006048202514648 time for calcul the mask position with numpy : 0.04846358299255371 nb_pixel_total : 28090 time to create 1 rle with old method : 0.031751155853271484 time for calcul the mask position with numpy : 0.03716564178466797 nb_pixel_total : 21962 time to create 1 rle with old method : 0.024686574935913086 create new chi : 3.706216335296631 time to delete rle : 0.0017247200012207031 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 8539 TO DO : save crop sub photo not yet done ! save time : 0.6242508888244629 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 5.852984666824341 time for calcul the mask position with numpy : 1.0333149433135986 nb_pixel_total : 6375528 time to create 1 rle with new method : 1.226125717163086 time for calcul the mask position with numpy : 0.040799856185913086 nb_pixel_total : 24398 time to create 1 rle with old method : 0.02775287628173828 time for calcul the mask position with numpy : 0.037798166275024414 nb_pixel_total : 30306 time to create 1 rle with old method : 0.0366363525390625 time for calcul the mask position with numpy : 0.04493880271911621 nb_pixel_total : 88870 time to create 1 rle with old method : 0.10688042640686035 time for calcul the mask position with numpy : 0.03951287269592285 nb_pixel_total : 76446 time to create 1 rle with old method : 0.08802247047424316 time for calcul the mask position with numpy : 0.02285146713256836 nb_pixel_total : 42562 time to create 1 rle with old method : 0.04939723014831543 time for calcul the mask position with numpy : 0.03057241439819336 nb_pixel_total : 70609 time to create 1 rle with old method : 0.07920503616333008 time for calcul the mask position with numpy : 0.028117895126342773 nb_pixel_total : 98219 time to create 1 rle with old method : 0.12074828147888184 time for calcul the mask position with numpy : 0.029802322387695312 nb_pixel_total : 93018 time to create 1 rle with old method : 0.10646343231201172 time for calcul the mask position with numpy : 0.03731536865234375 nb_pixel_total : 13482 time to create 1 rle with old method : 0.015383720397949219 time for calcul the mask position with numpy : 0.038300275802612305 nb_pixel_total : 136802 time to create 1 rle with old method : 0.16023945808410645 create new chi : 3.456340789794922 time to delete rle : 0.0019261837005615234 batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 8958 TO DO : save crop sub photo not yet done ! save time : 0.5968139171600342 nb_obj : 18 nb_hashtags : 4 time to prepare the origin masks : 7.452030897140503 time for calcul the mask position with numpy : 0.4538705348968506 nb_pixel_total : 6276353 time to create 1 rle with new method : 0.6819226741790771 time for calcul the mask position with numpy : 0.026758909225463867 nb_pixel_total : 48933 time to create 1 rle with old method : 0.055443525314331055 time for calcul the mask position with numpy : 0.02480912208557129 nb_pixel_total : 181332 time to create 1 rle with new method : 0.3967747688293457 time for calcul the mask position with numpy : 0.023360490798950195 nb_pixel_total : 26864 time to create 1 rle with old method : 0.03431892395019531 time for calcul the mask position with numpy : 0.026409387588500977 nb_pixel_total : 12760 time to create 1 rle with old method : 0.014306068420410156 time for calcul the mask position with numpy : 0.024184465408325195 nb_pixel_total : 31136 time to create 1 rle with old method : 0.035079240798950195 time for calcul the mask position with numpy : 0.023244380950927734 nb_pixel_total : 23770 time to create 1 rle with old method : 0.026582956314086914 time for calcul the mask position with numpy : 0.028320789337158203 nb_pixel_total : 49163 time to create 1 rle with old method : 0.05497932434082031 time for calcul the mask position with numpy : 0.027491331100463867 nb_pixel_total : 24123 time to create 1 rle with old method : 0.027260303497314453 time for calcul the mask position with numpy : 0.025332212448120117 nb_pixel_total : 21507 time to create 1 rle with old method : 0.026046037673950195 time for calcul the mask position with numpy : 0.023248910903930664 nb_pixel_total : 58958 time to create 1 rle with old method : 0.07141852378845215 time for calcul the mask position with numpy : 0.024182558059692383 nb_pixel_total : 5938 time to create 1 rle with old method : 0.006757497787475586 time for calcul the mask position with numpy : 0.02336263656616211 nb_pixel_total : 48877 time to create 1 rle with old method : 0.05564546585083008 time for calcul the mask position with numpy : 0.02388310432434082 nb_pixel_total : 54794 time to create 1 rle with old method : 0.06246638298034668 time for calcul the mask position with numpy : 0.024138212203979492 nb_pixel_total : 65239 time to create 1 rle with old method : 0.07600522041320801 time for calcul the mask position with numpy : 0.024416446685791016 nb_pixel_total : 52257 time to create 1 rle with old method : 0.0579981803894043 time for calcul the mask position with numpy : 0.023921966552734375 nb_pixel_total : 13520 time to create 1 rle with old method : 0.020458221435546875 time for calcul the mask position with numpy : 0.03034806251525879 nb_pixel_total : 27194 time to create 1 rle with old method : 0.030498504638671875 time for calcul the mask position with numpy : 0.02887725830078125 nb_pixel_total : 27522 time to create 1 rle with old method : 0.030809640884399414 create new chi : 2.740604877471924 time to delete rle : 0.001911163330078125 batch 1 Loaded 37 chid ids of type : 3594 +++++++++++++++++++Number RLEs to save : 10684 TO DO : save crop sub photo not yet done ! save time : 0.6799130439758301 map_output_result : {1361044994: (0.0, 'Should be the crop_list due to order', 0), 1361044280: (0.0, 'Should be the crop_list due to order', 0), 1361044276: (0.0, 'Should be the crop_list due to order', 0), 1361044273: (0.0, 'Should be the crop_list due to order', 0), 1361044253: (0.0, 'Should be the crop_list due to order', 0), 1361044249: (0.0, 'Should be the crop_list due to order', 0), 1361044245: (0.0, 'Should be the crop_list due to order', 0), 1361044240: (0.0, 'Should be the crop_list due to order', 0), 1361044232: (0.0, 'Should be the crop_list due to order', 0), 1361044203: (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 [1361044994, 1361044280, 1361044276, 1361044273, 1361044253, 1361044249, 1361044245, 1361044240, 1361044232, 1361044203] Looping around the photos to save general results len do output : 10 /1361044994.Didn't retrieve data . /1361044280.Didn't retrieve data . /1361044276.Didn't retrieve data . /1361044273.Didn't retrieve data . /1361044253.Didn't retrieve data . /1361044249.Didn't retrieve data . /1361044245.Didn't retrieve data . /1361044240.Didn't retrieve data . /1361044232.Didn't retrieve data . /1361044203.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, '2953410') ('3318', '23334478', '1361044994', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044280', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044276', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044273', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044253', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044249', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044245', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044240', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044232', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044203', None, None, None, None, None, '2953410') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014867305755615234 save_final save missing photos in datou_result : time spend for datou_step_exec : 108.90867328643799 time spend to save output : 0.015444755554199219 total time spend for step 3 : 108.92411804199219 step4:ventilate_hashtags_in_portfolio Mon May 26 18:14:54 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 : 23334478 get user id for portfolio 23334478 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`=23334478 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_clair','papier','pehd','mal_croppe','background','environnement','flou','autre','pet_fonce','carton')) 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`=23334478 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_clair','papier','pehd','mal_croppe','background','environnement','flou','autre','pet_fonce','carton')) 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`=23334478 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_clair','papier','pehd','mal_croppe','background','environnement','flou','autre','pet_fonce','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/23351041,23351042,23351043,23351044,23351045,23351046,23351047,23351048,23351049,23351050,23351051?tags=metal,pet_clair,papier,pehd,mal_croppe,background,environnement,flou,autre,pet_fonce,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1361044994, 1361044280, 1361044276, 1361044273, 1361044253, 1361044249, 1361044245, 1361044240, 1361044232, 1361044203] Looping around the photos to save general results len do output : 1 /23334478. 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, '2953410') ('3318', '23334478', '1361044994', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044280', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044276', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044273', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044253', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044249', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044245', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044240', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044232', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044203', None, None, None, None, None, '2953410') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.017560243606567383 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5722999572753906 time spend to save output : 0.017999649047851562 total time spend for step 4 : 1.5902996063232422 step5:final Mon May 26 18:14:55 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 : {1361044994: ('0.08788940518336966',), 1361044280: ('0.08788940518336966',), 1361044276: ('0.08788940518336966',), 1361044273: ('0.08788940518336966',), 1361044253: ('0.08788940518336966',), 1361044249: ('0.08788940518336966',), 1361044245: ('0.08788940518336966',), 1361044240: ('0.08788940518336966',), 1361044232: ('0.08788940518336966',), 1361044203: ('0.08788940518336966',)} new output for save of step final : {1361044994: ('0.08788940518336966',), 1361044280: ('0.08788940518336966',), 1361044276: ('0.08788940518336966',), 1361044273: ('0.08788940518336966',), 1361044253: ('0.08788940518336966',), 1361044249: ('0.08788940518336966',), 1361044245: ('0.08788940518336966',), 1361044240: ('0.08788940518336966',), 1361044232: ('0.08788940518336966',), 1361044203: ('0.08788940518336966',)} [1361044994, 1361044280, 1361044276, 1361044273, 1361044253, 1361044249, 1361044245, 1361044240, 1361044232, 1361044203] Looping around the photos to save general results len do output : 10 /1361044994.Didn't retrieve data . /1361044280.Didn't retrieve data . /1361044276.Didn't retrieve data . /1361044273.Didn't retrieve data . /1361044253.Didn't retrieve data . /1361044249.Didn't retrieve data . /1361044245.Didn't retrieve data . /1361044240.Didn't retrieve data . /1361044232.Didn't retrieve data . /1361044203.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, '2953410') ('3318', '23334478', '1361044994', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044280', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044276', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044273', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044253', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044249', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044245', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044240', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044232', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044203', None, None, None, None, None, '2953410') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016276121139526367 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1080629825592041 time spend to save output : 0.016831398010253906 total time spend for step 5 : 0.12489438056945801 step6:blur_detection Mon May 26 18:14:55 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/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54.jpg resize: (2160, 3264) 1361044994 -0.341242485985872 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c.jpg resize: (2160, 3264) 1361044280 0.12852510796015665 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327.jpg resize: (2160, 3264) 1361044276 -2.637941496040108 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190.jpg resize: (2160, 3264) 1361044273 0.18050624218385006 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986.jpg resize: (2160, 3264) 1361044253 -2.9349331086986874 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b.jpg resize: (2160, 3264) 1361044249 -0.0786151013655665 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15.jpg resize: (2160, 3264) 1361044245 -0.5460898227048006 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5.jpg resize: (2160, 3264) 1361044240 -1.7810672438911292 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89.jpg resize: (2160, 3264) 1361044232 0.8329991701832639 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379.jpg resize: (2160, 3264) 1361044203 -1.4139304862999305 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329475_0.png resize: (303, 219) 1361128952 -0.16734358608499073 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329479_0.png resize: (313, 437) 1361128953 -0.4758191080359049 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329480_0.png resize: (337, 190) 1361128954 -1.5337695987055928 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329482_0.png resize: (129, 121) 1361128955 -1.402786642009434 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329483_0.png resize: (420, 368) 1361128956 -0.2849937404336268 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329484_0.png resize: (154, 116) 1361128957 -1.3588599505079735 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329486_0.png resize: (720, 586) 1361128958 -0.00636151092075178 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329490_0.png resize: (152, 157) 1361128959 -1.4724601961362962 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329491_0.png resize: (405, 323) 1361128960 -1.759588988286698 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329492_0.png resize: (157, 184) 1361128961 -1.591663171493338 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329495_0.png resize: (219, 199) 1361128963 -0.9424626751308971 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329496_0.png resize: (131, 150) 1361128964 -2.1810468519940813 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329498_0.png resize: (291, 370) 1361128965 -1.4913277795220532 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329499_0.png resize: (110, 133) 1361128966 -1.9874696378186323 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329502_0.png resize: (193, 255) 1361128967 -1.1076893941789998 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329505_0.png resize: (207, 189) 1361128968 -2.8502417452490003 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329506_0.png resize: (209, 391) 1361128969 -1.7173058411744428 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329507_0.png resize: (219, 123) 1361128970 -0.713774142707125 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329508_0.png resize: (170, 141) 1361128971 -1.0609285895543556 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329516_0.png resize: (256, 514) 1361128972 2.4633968362986307 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329517_0.png resize: (126, 421) 1361128973 -1.6965324450939816 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329518_0.png resize: (252, 181) 1361128974 -1.9378744066121565 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329521_0.png resize: (101, 88) 1361128975 -1.9693520990800675 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329523_0.png resize: (337, 297) 1361128976 -3.039206262180652 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329526_0.png resize: (143, 282) 1361128977 -2.17672070383938 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329528_0.png resize: (299, 221) 1361128978 -1.6160545578277812 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329529_0.png resize: (350, 501) 1361128979 -0.619373266164937 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329531_0.png resize: (410, 265) 1361128980 -1.7529209388269902 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329533_0.png resize: (354, 294) 1361128981 -0.6022095178456498 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329534_0.png resize: (152, 228) 1361128982 0.9216233184363352 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329535_0.png resize: (196, 295) 1361128983 -1.2941188493079385 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329536_0.png resize: (102, 110) 1361128984 1.0838815940922066 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329538_0.png resize: (110, 115) 1361128985 -0.830282983785176 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329539_0.png resize: (888, 558) 1361128986 -0.3069039178103877 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329543_0.png resize: (211, 230) 1361128987 -2.0253326685786512 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329544_0.png resize: (205, 207) 1361128988 -1.5089829962236438 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329547_0.png resize: (139, 96) 1361128989 -1.521415972064261 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329550_0.png resize: (190, 87) 1361128990 -0.2920127580892613 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329551_0.png resize: (195, 67) 1361128991 0.33711050072307486 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329554_0.png resize: (317, 298) 1361128992 -2.0967236548171986 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329555_0.png resize: (208, 1035) 1361128993 0.5380818239284388 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329556_0.png resize: (131, 135) 1361128994 -0.35195832442018427 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329557_0.png resize: (437, 517) 1361128995 0.9284406208659166 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329558_0.png resize: (296, 630) 1361128996 -1.279634561794061 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329564_0.png resize: (264, 210) 1361128997 -0.4034646179216846 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329565_0.png resize: (145, 293) 1361128998 -1.502540497626156 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329566_0.png resize: (201, 197) 1361128999 -1.3903217507068042 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329567_0.png resize: (125, 158) 1361129000 -1.4526211079116298 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329568_0.png resize: (357, 232) 1361129001 -0.9039498429578827 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329575_0.png resize: (173, 182) 1361129002 -1.4177409945423556 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329577_0.png resize: (226, 166) 1361129003 -1.4042665944058599 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329497_0.png resize: (188, 160) 1361129027 -1.1221868805416024 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329500_0.png resize: (159, 148) 1361129028 -0.053567329059516604 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329503_0.png resize: (80, 175) 1361129030 -0.2801017531814817 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329509_0.png resize: (864, 376) 1361129031 -1.4181834972391614 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329514_0.png resize: (204, 223) 1361129032 -0.7373290673989714 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329519_0.png resize: (267, 364) 1361129033 -1.0865199398236554 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329520_0.png resize: (388, 347) 1361129034 -0.9588889235664695 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329527_0.png resize: (262, 479) 1361129035 -1.639931301530578 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329553_0.png resize: (334, 220) 1361129036 -2.722530783421961 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329571_0.png resize: (169, 438) 1361129037 -0.9820229963378211 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329572_0.png resize: (76, 113) 1361129038 -0.72447032235799 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329574_0.png resize: (214, 161) 1361129039 -0.6813415898259862 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329578_0.png resize: (232, 294) 1361129040 -0.7609457119020071 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329580_0.png resize: (153, 242) 1361129041 -0.9214514063687803 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329476_0.png resize: (363, 337) 1361129063 -0.6885724527217981 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329477_0.png resize: (381, 524) 1361129065 -2.1575229439180834 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329478_0.png resize: (431, 324) 1361129066 -0.029430696149199048 treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329481_0.png resize: (169, 269) 1361129067 -3.248176791329093 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329485_0.png resize: (295, 560) 1361129068 -1.478624950846363 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329487_0.png resize: (352, 270) 1361129069 -0.3121241549431155 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329488_0.png resize: (84, 243) 1361129070 -1.363368057482779 treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329489_0.png resize: (223, 446) 1361129071 0.05728361294327078 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329493_0.png resize: (239, 413) 1361129072 -2.488356970060767 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329494_0.png resize: (176, 378) 1361129073 -2.581744659423996 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329501_0.png resize: (490, 487) 1361129074 -3.092305066524069 treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329504_0.png resize: (346, 356) 1361129075 -1.2882454658133642 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329510_0.png resize: (264, 295) 1361129076 -0.556216996004302 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329511_0.png resize: (173, 298) 1361129077 -0.7504490134348506 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329512_0.png resize: (107, 209) 1361129078 -0.9499164869354227 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329513_0.png resize: (139, 169) 1361129079 -3.775201446237238 treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329515_0.png resize: (428, 342) 1361129080 -0.4919055981796867 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329522_0.png resize: (119, 210) 1361129081 -2.7979731460525596 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329525_0.png resize: (277, 365) 1361129082 -1.668007755061941 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329530_0.png resize: (110, 230) 1361129083 -0.12190020162701637 treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329532_0.png resize: (162, 205) 1361129084 -1.0231667884161957 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329537_0.png resize: (149, 437) 1361129085 -1.6720912573354096 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329540_0.png resize: (633, 572) 1361129086 -0.1684249524951582 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329541_0.png resize: (360, 519) 1361129087 -1.3168314834232433 treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329542_0.png resize: (232, 234) 1361129088 -1.0268129012053961 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329545_0.png resize: (219, 452) 1361129089 -3.4101826384071527 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329546_0.png resize: (477, 422) 1361129090 -0.6838298090049173 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329548_0.png resize: (411, 751) 1361129091 -1.6371722687866623 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329549_0.png resize: (111, 105) 1361129092 1.0963356503746864 treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329552_0.png resize: (58, 135) 1361129093 -0.1968817258339464 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329559_0.png resize: (230, 504) 1361129094 -0.6377154785472402 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329560_0.png resize: (223, 241) 1361129095 -0.5380822183854654 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329562_0.png resize: (445, 341) 1361129096 -1.0818755096747745 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329563_0.png resize: (236, 177) 1361129097 -2.7556971972622097 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329569_0.png resize: (223, 454) 1361129098 -1.1642494377268586 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329570_0.png resize: (264, 280) 1361129099 -3.1970537235401126 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329573_0.png resize: (360, 297) 1361129100 -1.3954448382628972 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329576_0.png resize: (175, 403) 1361129101 -0.9231263473799374 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329581_0.png resize: (636, 554) 1361129102 -1.4973820599201841 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329582_0.png resize: (226, 247) 1361129103 0.18357885370350513 treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329561_0.png resize: (322, 306) 1361129106 0.04251413031383444 treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329579_0.png resize: (146, 117) 1361129107 -0.41416658495321096 treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329524_0.png resize: (290, 311) 1361129108 -2.334681060346007 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 : 118 time used for this insertion : 0.017527341842651367 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 118 time used for this insertion : 0.02866959571838379 save missing photos in datou_result : time spend for datou_step_exec : 41.59692931175232 time spend to save output : 0.05175614356994629 total time spend for step 6 : 41.648685455322266 step7:brightness Mon May 26 18:15:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54.jpg treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c.jpg treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327.jpg treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190.jpg treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986.jpg treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b.jpg treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15.jpg treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5.jpg treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89.jpg treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379.jpg treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329475_0.png treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329479_0.png treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329480_0.png treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329482_0.png treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329483_0.png treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329484_0.png treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329486_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329490_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329491_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329492_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329495_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329496_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329498_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329499_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329502_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329505_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329506_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329507_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329508_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329516_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329517_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329518_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329521_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329523_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329526_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329528_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329529_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329531_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329533_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329534_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329535_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329536_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329538_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329539_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329543_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329544_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329547_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329550_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329551_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329554_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329555_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329556_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329557_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329558_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329564_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329565_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329566_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329567_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329568_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329575_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329577_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329497_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329500_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329503_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329509_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329514_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329519_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329520_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329527_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329553_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329571_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329572_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329574_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329578_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329580_0.png treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329476_0.png treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329477_0.png treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329478_0.png treat image : temp/1748275828_824347_1361044994_4af3eb0d6b132b8af1b66160ffa25d54_rle_crop_3813329481_0.png treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329485_0.png treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329487_0.png treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329488_0.png treat image : temp/1748275828_824347_1361044280_b449d624be43b367c5b5df179575cf7c_rle_crop_3813329489_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329493_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329494_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329501_0.png treat image : temp/1748275828_824347_1361044276_bd0cd323a5c0dd22841b8ade5e6fb327_rle_crop_3813329504_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329510_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329511_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329512_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329513_0.png treat image : temp/1748275828_824347_1361044273_b1b3a97c032fd56d290a903b38aec190_rle_crop_3813329515_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329522_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329525_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329530_0.png treat image : temp/1748275828_824347_1361044249_bf0ff584d7f68372540984f6547b061b_rle_crop_3813329532_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329537_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329540_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329541_0.png treat image : temp/1748275828_824347_1361044245_a30a7b41cc85b7ff18fbd78655965c15_rle_crop_3813329542_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329545_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329546_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329548_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329549_0.png treat image : temp/1748275828_824347_1361044240_008bb08e70215e816cc6531a4715edf5_rle_crop_3813329552_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329559_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329560_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329562_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329563_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329569_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329570_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329573_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329576_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329581_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329582_0.png treat image : temp/1748275828_824347_1361044232_f36a7fcfae5c989109fdb554e09fed89_rle_crop_3813329561_0.png treat image : temp/1748275828_824347_1361044203_ad39d2804656f70b39bde9e46bf00379_rle_crop_3813329579_0.png treat image : temp/1748275828_824347_1361044253_5d8e08b0ba0781b5434bef6aef38b986_rle_crop_3813329524_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 : 118 time used for this insertion : 0.016466617584228516 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 118 time used for this insertion : 0.028104066848754883 save missing photos in datou_result : time spend for datou_step_exec : 10.676303386688232 time spend to save output : 0.04960441589355469 total time spend for step 7 : 10.725907802581787 step8:velours_tree Mon May 26 18:15:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.22179961204528809 time spend to save output : 4.38690185546875e-05 total time spend for step 8 : 0.22184348106384277 step9:send_mail_cod Mon May 26 18:15:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P23334478_26-05-2025_18_15_48.pdf 23351041 imagette233510411748276148 23351042 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 .imagette233510421748276148 23351043 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 .imagette233510431748276150 23351044 imagette233510441748276151 23351045 imagette233510451748276151 23351046 imagette233510461748276151 23351048 imagette233510481748276151 23351049 change filename to text .change filename to text .imagette233510491748276151 23351050 change filename to text .imagette233510501748276151 23351051 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 .imagette233510511748276151 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23334478 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23351041,23351042,23351043,23351044,23351045,23351046,23351047,23351048,23351049,23351050,23351051?tags=metal,pet_clair,papier,pehd,mal_croppe,background,environnement,flou,autre,pet_fonce,carton args[1361044994] : ((1361044994, -0.341242485985872, 492688767), (1361044994, 0.03768815543359276, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044280] : ((1361044280, 0.12852510796015665, 492688767), (1361044280, 0.35174743748464016, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044276] : ((1361044276, -2.637941496040108, 492609224), (1361044276, -0.07632339182000411, 496442774), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044273] : ((1361044273, 0.18050624218385006, 492688767), (1361044273, 0.06920045430308014, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044253] : ((1361044253, -2.9349331086986874, 492609224), (1361044253, 0.5036571360424942, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044249] : ((1361044249, -0.0786151013655665, 492688767), (1361044249, -0.1742871302117748, 496442774), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044245] : ((1361044245, -0.5460898227048006, 492688767), (1361044245, 0.4353751961342655, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044240] : ((1361044240, -1.7810672438911292, 492688767), (1361044240, 0.02277233160489357, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044232] : ((1361044232, 0.8329991701832639, 492688767), (1361044232, 0.09834521093217032, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com args[1361044203] : ((1361044203, -1.4139304862999305, 492688767), (1361044203, 0.05553104030979575, 2107752395), '0.08788940518336966') We are sending mail with results at report@fotonower.com refus_total : 0.08788940518336966 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=23334478 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_P23334478_26-05-2025_18_15_48.pdf results_Auto_P23334478_26-05-2025_18_15_48.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23334478_26-05-2025_18_15_48.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','23334478','results_Auto_P23334478_26-05-2025_18_15_48.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23334478_26-05-2025_18_15_48.pdf','pdf','','0.65','0.08788940518336966') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/23334478

https://www.fotonower.com/image?json=false&list_photos_id=1361044994
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044280
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044276
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044273
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044253
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044249
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044245
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044240
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044232
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361044203
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/23351042?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/23351043?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/23351049?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/23351050?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/23351051?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23334478_26-05-2025_18_15_48.pdf.

Lien vers velours :https://www.fotonower.com/velours/23351041,23351042,23351043,23351044,23351045,23351046,23351047,23351048,23351049,23351050,23351051?tags=metal,pet_clair,papier,pehd,mal_croppe,background,environnement,flou,autre,pet_fonce,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 26 May 2025 16:15:55 GMT Content-Length: 0 Connection: close X-Message-Id: ACJGFsTwQtaVt2fQ0TguUQ 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 [1361044994, 1361044280, 1361044276, 1361044273, 1361044253, 1361044249, 1361044245, 1361044240, 1361044232, 1361044203] 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, '2953410') ('3318', '23334478', '1361044994', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044280', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044276', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044273', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044253', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044249', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044245', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044240', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044232', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044203', None, None, None, None, None, '2953410') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014392375946044922 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.020008325576782 time spend to save output : 0.014825820922851562 total time spend for step 9 : 7.034834146499634 step10:split_time_score Mon May 26 18:15:55 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'}] (('08', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26052025 23334478 Nombre de photos uploadées : 10 / 23040 (0%) 26052025 23334478 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 26052025 23334478 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 1.621246337890625e-05 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005996227264404297 elapsed_time : insert_dashboard_record_day_entry 0.023003101348876953 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.08788940518336966 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23334478_26-05-2025_18_15_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23334478 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`=23334478 AND mptpi.`type`=3594 To do Qualite : 0.08529745731415458 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23334483_26-05-2025_13_45_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23334483 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`=23334483 AND mptpi.`type`=3594 To do Qualite : 0.10314590041490454 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23334484_26-05-2025_13_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23334484 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`=23334484 AND mptpi.`type`=3594 To do Qualite : 0.1298923511823711 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23334517_26-05-2025_13_24_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23334517 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`=23334517 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23347800 order by id desc limit 1 Qualite : 0.09858914180384085 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23347836_26-05-2025_17_25_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23347836 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`=23347836 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26052025': {'nb_upload': 10, '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 [1361044994, 1361044280, 1361044276, 1361044273, 1361044253, 1361044249, 1361044245, 1361044240, 1361044232, 1361044203] Looping around the photos to save general results len do output : 1 /23334478Didn'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, '2953410') ('3318', '23334478', '1361044994', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044280', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044276', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044273', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044253', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044249', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044245', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044240', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044232', None, None, None, None, None, '2953410') ('3318', None, None, None, None, None, None, None, '2953410') ('3318', '23334478', '1361044203', None, None, None, None, None, '2953410') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01549220085144043 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3480095863342285 time spend to save output : 0.0156400203704834 total time spend for step 10 : 1.363649606704712 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 130.72user 158.33system 5:32.14elapsed 87%CPU (0avgtext+0avgdata 4846320maxresident)k 1116368inputs+73208outputs (10695major+12370225minor)pagefaults 0swaps