python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 10 -a ' -a 3459 -l 10 ' -s datou_current_3459 -M 0 -S 0 -U 95,95,80 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 : 294027 load datou : 3459 # 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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 ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] 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 ? [ (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 ? 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 ? 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 : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 21>10 please execute split_portfolio.py -i 21131106 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2646475'] with mtr_portfolio_ids : ['21131106'] and first list_photo_ids : [] new path : /proc/294027/ 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! 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.907167673110962 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 : 11 step1:mask_detect Fri Mar 7 00:56:32 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 : 4607 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-07 00:56:39.670462: 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-03-07 00:56:39.703186: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-07 00:56:39.705274: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb310000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-07 00:56:39.705320: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-07 00:56:39.711028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-07 00:56:39.960983: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1fb3fea0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-07 00:56:39.961077: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-07 00:56:39.962762: 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-03-07 00:56:39.963282: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 00:56:39.966491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 00:56:39.991638: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-07 00:56:39.992928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-07 00:56:40.038075: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-07 00:56:40.046484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-07 00:56:40.102695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-07 00:56:40.104798: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-07 00:56:40.105552: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 00:56:40.106488: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-07 00:56:40.106524: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-07 00:56:40.106536: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-07 00:56:40.108918: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4155 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-03-07 00:56:40.553069: 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-03-07 00:56:40.553271: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 00:56:40.553293: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 00:56:40.553311: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-07 00:56:40.553326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-07 00:56:40.553343: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-07 00:56:40.553357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-07 00:56:40.553372: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-07 00:56:40.554576: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-07 00:56:40.556244: 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-03-07 00:56:40.556329: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 00:56:40.556348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 00:56:40.556366: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-07 00:56:40.556382: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-07 00:56:40.556399: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-07 00:56:40.556413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-07 00:56:40.556432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-07 00:56:40.557390: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-07 00:56:40.557423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-07 00:56:40.557432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-07 00:56:40.557440: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-07 00:56:40.558432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4155 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 : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', '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_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 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_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-07 00:56:54.015267: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 00:56:54.242133: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-07 00:56:56.034826: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:56.853167: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-03-07 00:56:56.931043: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:56.931108: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:56.932389: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:56.932419: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:56.939231: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:56.939255: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:56.940003: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:56.940023: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:56.997713: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:56.997759: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:56.998515: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:56.998534: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:57.006821: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.006854: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:57.007659: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.007681: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:57.025434: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.025489: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 188.27MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:57.026570: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.026593: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 188.27MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-07 00:56:57.027611: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.028533: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.032926: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.033703: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.034455: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.035258: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.036605: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.036623: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-03-07 00:56:57.047093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.047865: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.057889: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.059219: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.060462: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.061713: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.062958: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-07 00:56:57.064229: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.56G (3821928448 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 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: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 27 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.96557 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 Detection mask done ! Trying to reset tf kernel 294297 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3414 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 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 : 4607 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.0005457401275634766 nb_pixel_total : 14247 time to create 1 rle with old method : 0.01735067367553711 length of segment : 205 time for calcul the mask position with numpy : 0.0002541542053222656 nb_pixel_total : 7336 time to create 1 rle with old method : 0.009032964706420898 length of segment : 87 time for calcul the mask position with numpy : 0.00010132789611816406 nb_pixel_total : 2738 time to create 1 rle with old method : 0.0034716129302978516 length of segment : 46 time for calcul the mask position with numpy : 0.0002830028533935547 nb_pixel_total : 14345 time to create 1 rle with old method : 0.016315698623657227 length of segment : 164 time for calcul the mask position with numpy : 0.00010061264038085938 nb_pixel_total : 2078 time to create 1 rle with old method : 0.0026121139526367188 length of segment : 96 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 5746 time to create 1 rle with old method : 0.00703883171081543 length of segment : 78 time for calcul the mask position with numpy : 0.0011475086212158203 nb_pixel_total : 38794 time to create 1 rle with old method : 0.05100870132446289 length of segment : 224 time for calcul the mask position with numpy : 0.0011167526245117188 nb_pixel_total : 51445 time to create 1 rle with old method : 0.05802106857299805 length of segment : 224 time for calcul the mask position with numpy : 0.015291213989257812 nb_pixel_total : 311186 time to create 1 rle with new method : 0.04302978515625 length of segment : 783 time for calcul the mask position with numpy : 0.0011239051818847656 nb_pixel_total : 38951 time to create 1 rle with old method : 0.043700218200683594 length of segment : 225 time for calcul the mask position with numpy : 0.0004210472106933594 nb_pixel_total : 15335 time to create 1 rle with old method : 0.01753377914428711 length of segment : 292 time for calcul the mask position with numpy : 0.001901865005493164 nb_pixel_total : 118833 time to create 1 rle with old method : 0.1283864974975586 length of segment : 425 time for calcul the mask position with numpy : 0.0015861988067626953 nb_pixel_total : 90499 time to create 1 rle with old method : 0.10732126235961914 length of segment : 415 time for calcul the mask position with numpy : 0.0002167224884033203 nb_pixel_total : 4708 time to create 1 rle with old method : 0.005545139312744141 length of segment : 109 time for calcul the mask position with numpy : 0.001299142837524414 nb_pixel_total : 65298 time to create 1 rle with old method : 0.07123327255249023 length of segment : 356 time for calcul the mask position with numpy : 0.0017442703247070312 nb_pixel_total : 37744 time to create 1 rle with old method : 0.048020362854003906 length of segment : 281 time for calcul the mask position with numpy : 0.0014395713806152344 nb_pixel_total : 52007 time to create 1 rle with old method : 0.056966304779052734 length of segment : 269 time for calcul the mask position with numpy : 0.00040340423583984375 nb_pixel_total : 16877 time to create 1 rle with old method : 0.019443750381469727 length of segment : 162 time for calcul the mask position with numpy : 0.007415771484375 nb_pixel_total : 346552 time to create 1 rle with new method : 0.0360414981842041 length of segment : 640 time for calcul the mask position with numpy : 0.0003676414489746094 nb_pixel_total : 8292 time to create 1 rle with old method : 0.009116172790527344 length of segment : 131 time for calcul the mask position with numpy : 0.002532958984375 nb_pixel_total : 152549 time to create 1 rle with new method : 0.01009511947631836 length of segment : 431 time for calcul the mask position with numpy : 0.00021767616271972656 nb_pixel_total : 7613 time to create 1 rle with old method : 0.008997917175292969 length of segment : 127 time for calcul the mask position with numpy : 0.00020194053649902344 nb_pixel_total : 8029 time to create 1 rle with old method : 0.00928187370300293 length of segment : 117 time for calcul the mask position with numpy : 0.010444879531860352 nb_pixel_total : 432970 time to create 1 rle with new method : 1.0106861591339111 length of segment : 1523 time for calcul the mask position with numpy : 0.0023157596588134766 nb_pixel_total : 116189 time to create 1 rle with old method : 0.13176846504211426 length of segment : 339 time for calcul the mask position with numpy : 0.00018358230590820312 nb_pixel_total : 5495 time to create 1 rle with old method : 0.007088184356689453 length of segment : 90 time for calcul the mask position with numpy : 0.0010094642639160156 nb_pixel_total : 47467 time to create 1 rle with old method : 0.05511617660522461 length of segment : 254 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 2413 time to create 1 rle with old method : 0.003036022186279297 length of segment : 71 time for calcul the mask position with numpy : 0.0004398822784423828 nb_pixel_total : 31776 time to create 1 rle with old method : 0.03715872764587402 length of segment : 162 time for calcul the mask position with numpy : 0.0006694793701171875 nb_pixel_total : 48260 time to create 1 rle with old method : 0.058655738830566406 length of segment : 213 time for calcul the mask position with numpy : 0.0016622543334960938 nb_pixel_total : 92851 time to create 1 rle with old method : 0.1182246208190918 length of segment : 347 time for calcul the mask position with numpy : 0.003667593002319336 nb_pixel_total : 101734 time to create 1 rle with old method : 0.12089276313781738 length of segment : 720 time for calcul the mask position with numpy : 0.00136566162109375 nb_pixel_total : 41082 time to create 1 rle with old method : 0.05332064628601074 length of segment : 296 time for calcul the mask position with numpy : 0.0022237300872802734 nb_pixel_total : 19681 time to create 1 rle with old method : 0.025412559509277344 length of segment : 275 time for calcul the mask position with numpy : 0.0001556873321533203 nb_pixel_total : 3732 time to create 1 rle with old method : 0.004803180694580078 length of segment : 51 time for calcul the mask position with numpy : 0.0008115768432617188 nb_pixel_total : 26161 time to create 1 rle with old method : 0.03315544128417969 length of segment : 280 time for calcul the mask position with numpy : 0.0010347366333007812 nb_pixel_total : 24558 time to create 1 rle with old method : 0.03642892837524414 length of segment : 334 time for calcul the mask position with numpy : 0.0008444786071777344 nb_pixel_total : 19963 time to create 1 rle with old method : 0.025179624557495117 length of segment : 210 time for calcul the mask position with numpy : 0.0010569095611572266 nb_pixel_total : 40953 time to create 1 rle with old method : 0.047190189361572266 length of segment : 430 time for calcul the mask position with numpy : 0.0004923343658447266 nb_pixel_total : 26424 time to create 1 rle with old method : 0.032440900802612305 length of segment : 255 time for calcul the mask position with numpy : 0.0018017292022705078 nb_pixel_total : 72302 time to create 1 rle with old method : 0.09974813461303711 length of segment : 228 time for calcul the mask position with numpy : 0.39165687561035156 nb_pixel_total : 1842906 time to create 1 rle with new method : 1.1418046951293945 length of segment : 3015 time for calcul the mask position with numpy : 0.004443645477294922 nb_pixel_total : 160049 time to create 1 rle with new method : 0.007074832916259766 length of segment : 624 time for calcul the mask position with numpy : 0.002742767333984375 nb_pixel_total : 176031 time to create 1 rle with new method : 0.00643467903137207 length of segment : 1128 time for calcul the mask position with numpy : 0.0035462379455566406 nb_pixel_total : 154200 time to create 1 rle with new method : 0.006761074066162109 length of segment : 731 time for calcul the mask position with numpy : 0.014829397201538086 nb_pixel_total : 584503 time to create 1 rle with new method : 0.3289210796356201 length of segment : 925 time for calcul the mask position with numpy : 0.0002357959747314453 nb_pixel_total : 10229 time to create 1 rle with old method : 0.013493061065673828 length of segment : 100 time for calcul the mask position with numpy : 0.015339136123657227 nb_pixel_total : 898793 time to create 1 rle with new method : 0.28003811836242676 length of segment : 1396 time for calcul the mask position with numpy : 0.0013453960418701172 nb_pixel_total : 65056 time to create 1 rle with old method : 0.07335352897644043 length of segment : 506 time for calcul the mask position with numpy : 0.009804487228393555 nb_pixel_total : 599113 time to create 1 rle with new method : 0.07748222351074219 length of segment : 834 time for calcul the mask position with numpy : 0.0032749176025390625 nb_pixel_total : 143172 time to create 1 rle with old method : 0.16933155059814453 length of segment : 538 time for calcul the mask position with numpy : 0.0044443607330322266 nb_pixel_total : 140493 time to create 1 rle with old method : 0.17876696586608887 length of segment : 466 time for calcul the mask position with numpy : 0.0006248950958251953 nb_pixel_total : 16651 time to create 1 rle with old method : 0.020882129669189453 length of segment : 204 time for calcul the mask position with numpy : 0.0009584426879882812 nb_pixel_total : 26124 time to create 1 rle with old method : 0.030477285385131836 length of segment : 229 time for calcul the mask position with numpy : 0.0012443065643310547 nb_pixel_total : 44610 time to create 1 rle with old method : 0.05340409278869629 length of segment : 203 time for calcul the mask position with numpy : 0.0012166500091552734 nb_pixel_total : 25113 time to create 1 rle with old method : 0.02937173843383789 length of segment : 255 time for calcul the mask position with numpy : 0.0011768341064453125 nb_pixel_total : 12633 time to create 1 rle with old method : 0.016353368759155273 length of segment : 206 time for calcul the mask position with numpy : 0.0011675357818603516 nb_pixel_total : 34312 time to create 1 rle with old method : 0.04061746597290039 length of segment : 213 time for calcul the mask position with numpy : 0.0007672309875488281 nb_pixel_total : 15284 time to create 1 rle with old method : 0.019160032272338867 length of segment : 158 time for calcul the mask position with numpy : 0.0016300678253173828 nb_pixel_total : 46187 time to create 1 rle with old method : 0.05393242835998535 length of segment : 288 time for calcul the mask position with numpy : 0.0065724849700927734 nb_pixel_total : 282965 time to create 1 rle with new method : 0.011113405227661133 length of segment : 765 time for calcul the mask position with numpy : 0.004316568374633789 nb_pixel_total : 158083 time to create 1 rle with new method : 0.006986856460571289 length of segment : 456 time for calcul the mask position with numpy : 0.003690958023071289 nb_pixel_total : 96178 time to create 1 rle with old method : 0.1165304183959961 length of segment : 518 time for calcul the mask position with numpy : 0.00238037109375 nb_pixel_total : 55166 time to create 1 rle with old method : 0.06350111961364746 length of segment : 356 time for calcul the mask position with numpy : 0.004613161087036133 nb_pixel_total : 184360 time to create 1 rle with new method : 0.010118961334228516 length of segment : 859 time for calcul the mask position with numpy : 0.0002307891845703125 nb_pixel_total : 3467 time to create 1 rle with old method : 0.0042302608489990234 length of segment : 62 time for calcul the mask position with numpy : 0.0033807754516601562 nb_pixel_total : 85661 time to create 1 rle with old method : 0.10359382629394531 length of segment : 323 time for calcul the mask position with numpy : 0.004042863845825195 nb_pixel_total : 168523 time to create 1 rle with new method : 0.00560760498046875 length of segment : 476 time for calcul the mask position with numpy : 0.00016617774963378906 nb_pixel_total : 4019 time to create 1 rle with old method : 0.006483316421508789 length of segment : 75 time for calcul the mask position with numpy : 0.0021278858184814453 nb_pixel_total : 67189 time to create 1 rle with old method : 0.07574319839477539 length of segment : 420 time for calcul the mask position with numpy : 0.0027523040771484375 nb_pixel_total : 161326 time to create 1 rle with new method : 0.006826639175415039 length of segment : 458 time for calcul the mask position with numpy : 0.001859426498413086 nb_pixel_total : 38716 time to create 1 rle with old method : 0.04505586624145508 length of segment : 299 time for calcul the mask position with numpy : 0.0011444091796875 nb_pixel_total : 25554 time to create 1 rle with old method : 0.04098844528198242 length of segment : 185 time for calcul the mask position with numpy : 0.00025272369384765625 nb_pixel_total : 3720 time to create 1 rle with old method : 0.0049707889556884766 length of segment : 73 time for calcul the mask position with numpy : 0.000990152359008789 nb_pixel_total : 16234 time to create 1 rle with old method : 0.01902151107788086 length of segment : 246 time for calcul the mask position with numpy : 0.003052234649658203 nb_pixel_total : 83593 time to create 1 rle with old method : 0.09543251991271973 length of segment : 693 time for calcul the mask position with numpy : 0.00080108642578125 nb_pixel_total : 11492 time to create 1 rle with old method : 0.013707876205444336 length of segment : 157 time for calcul the mask position with numpy : 0.002632617950439453 nb_pixel_total : 89069 time to create 1 rle with old method : 0.09951496124267578 length of segment : 448 time for calcul the mask position with numpy : 0.0004661083221435547 nb_pixel_total : 12088 time to create 1 rle with old method : 0.014321565628051758 length of segment : 106 time for calcul the mask position with numpy : 0.0022253990173339844 nb_pixel_total : 51181 time to create 1 rle with old method : 0.06323385238647461 length of segment : 252 time for calcul the mask position with numpy : 0.0010993480682373047 nb_pixel_total : 26601 time to create 1 rle with old method : 0.032701730728149414 length of segment : 188 time for calcul the mask position with numpy : 0.0005784034729003906 nb_pixel_total : 21985 time to create 1 rle with old method : 0.026404142379760742 length of segment : 110 time for calcul the mask position with numpy : 0.001165628433227539 nb_pixel_total : 39573 time to create 1 rle with old method : 0.04608631134033203 length of segment : 216 time for calcul the mask position with numpy : 0.0014057159423828125 nb_pixel_total : 52519 time to create 1 rle with old method : 0.060680389404296875 length of segment : 218 time for calcul the mask position with numpy : 0.0005242824554443359 nb_pixel_total : 10374 time to create 1 rle with old method : 0.012203454971313477 length of segment : 191 time for calcul the mask position with numpy : 0.004822731018066406 nb_pixel_total : 193338 time to create 1 rle with new method : 0.006585359573364258 length of segment : 672 time for calcul the mask position with numpy : 0.0019259452819824219 nb_pixel_total : 60370 time to create 1 rle with old method : 0.06816530227661133 length of segment : 326 time for calcul the mask position with numpy : 0.0004413127899169922 nb_pixel_total : 7717 time to create 1 rle with old method : 0.009286880493164062 length of segment : 79 time for calcul the mask position with numpy : 0.003523111343383789 nb_pixel_total : 130044 time to create 1 rle with old method : 0.1499495506286621 length of segment : 455 time for calcul the mask position with numpy : 0.0026454925537109375 nb_pixel_total : 65380 time to create 1 rle with old method : 0.08398246765136719 length of segment : 562 time for calcul the mask position with numpy : 0.0013353824615478516 nb_pixel_total : 62599 time to create 1 rle with old method : 0.07275652885437012 length of segment : 321 time for calcul the mask position with numpy : 0.0024933815002441406 nb_pixel_total : 98435 time to create 1 rle with old method : 0.11758995056152344 length of segment : 455 time for calcul the mask position with numpy : 0.0005562305450439453 nb_pixel_total : 26483 time to create 1 rle with old method : 0.041922569274902344 length of segment : 128 time for calcul the mask position with numpy : 0.006606101989746094 nb_pixel_total : 205240 time to create 1 rle with new method : 0.01036214828491211 length of segment : 517 time for calcul the mask position with numpy : 0.0012197494506835938 nb_pixel_total : 66896 time to create 1 rle with old method : 0.07554388046264648 length of segment : 314 time for calcul the mask position with numpy : 0.00041103363037109375 nb_pixel_total : 17579 time to create 1 rle with old method : 0.02083444595336914 length of segment : 105 time for calcul the mask position with numpy : 0.0002880096435546875 nb_pixel_total : 5555 time to create 1 rle with old method : 0.006785154342651367 length of segment : 100 time for calcul the mask position with numpy : 0.007714033126831055 nb_pixel_total : 331735 time to create 1 rle with new method : 0.015902042388916016 length of segment : 919 time for calcul the mask position with numpy : 0.0007991790771484375 nb_pixel_total : 20056 time to create 1 rle with old method : 0.02338695526123047 length of segment : 250 time for calcul the mask position with numpy : 0.0009205341339111328 nb_pixel_total : 42084 time to create 1 rle with old method : 0.04835867881774902 length of segment : 268 time for calcul the mask position with numpy : 0.000545501708984375 nb_pixel_total : 15462 time to create 1 rle with old method : 0.01814126968383789 length of segment : 191 time for calcul the mask position with numpy : 0.0013031959533691406 nb_pixel_total : 43853 time to create 1 rle with old method : 0.05127668380737305 length of segment : 267 time for calcul the mask position with numpy : 0.0005729198455810547 nb_pixel_total : 14975 time to create 1 rle with old method : 0.01781940460205078 length of segment : 185 time for calcul the mask position with numpy : 0.005190849304199219 nb_pixel_total : 347508 time to create 1 rle with new method : 0.013567686080932617 length of segment : 760 time for calcul the mask position with numpy : 0.0012254714965820312 nb_pixel_total : 30415 time to create 1 rle with old method : 0.0360720157623291 length of segment : 247 time for calcul the mask position with numpy : 0.0014934539794921875 nb_pixel_total : 64866 time to create 1 rle with old method : 0.07478547096252441 length of segment : 424 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 2265 time to create 1 rle with old method : 0.002959728240966797 length of segment : 52 time for calcul the mask position with numpy : 0.0005753040313720703 nb_pixel_total : 17937 time to create 1 rle with old method : 0.021918296813964844 length of segment : 151 time for calcul the mask position with numpy : 0.0010104179382324219 nb_pixel_total : 22751 time to create 1 rle with old method : 0.027673959732055664 length of segment : 126 time for calcul the mask position with numpy : 0.0006186962127685547 nb_pixel_total : 16262 time to create 1 rle with old method : 0.018734216690063477 length of segment : 225 time for calcul the mask position with numpy : 0.0011796951293945312 nb_pixel_total : 43916 time to create 1 rle with old method : 0.050530195236206055 length of segment : 292 time for calcul the mask position with numpy : 0.0006568431854248047 nb_pixel_total : 24977 time to create 1 rle with old method : 0.030290842056274414 length of segment : 139 time for calcul the mask position with numpy : 0.0004749298095703125 nb_pixel_total : 19499 time to create 1 rle with old method : 0.02312779426574707 length of segment : 226 time for calcul the mask position with numpy : 0.0020513534545898438 nb_pixel_total : 63723 time to create 1 rle with old method : 0.07349205017089844 length of segment : 278 time for calcul the mask position with numpy : 0.0013875961303710938 nb_pixel_total : 48106 time to create 1 rle with old method : 0.05558156967163086 length of segment : 297 time for calcul the mask position with numpy : 0.00027751922607421875 nb_pixel_total : 3697 time to create 1 rle with old method : 0.004475593566894531 length of segment : 88 time for calcul the mask position with numpy : 0.00045680999755859375 nb_pixel_total : 9713 time to create 1 rle with old method : 0.011330842971801758 length of segment : 184 time for calcul the mask position with numpy : 0.000926971435546875 nb_pixel_total : 48813 time to create 1 rle with old method : 0.05995345115661621 length of segment : 248 time for calcul the mask position with numpy : 0.00035953521728515625 nb_pixel_total : 5316 time to create 1 rle with old method : 0.00606536865234375 length of segment : 236 time for calcul the mask position with numpy : 0.0009572505950927734 nb_pixel_total : 51846 time to create 1 rle with old method : 0.06202292442321777 length of segment : 283 time for calcul the mask position with numpy : 0.0006885528564453125 nb_pixel_total : 17541 time to create 1 rle with old method : 0.020734548568725586 length of segment : 146 time for calcul the mask position with numpy : 0.0010023117065429688 nb_pixel_total : 30878 time to create 1 rle with old method : 0.03716254234313965 length of segment : 213 time for calcul the mask position with numpy : 0.0003528594970703125 nb_pixel_total : 6288 time to create 1 rle with old method : 0.008035898208618164 length of segment : 123 time for calcul the mask position with numpy : 0.002216339111328125 nb_pixel_total : 81891 time to create 1 rle with old method : 0.11179161071777344 length of segment : 287 time for calcul the mask position with numpy : 0.0013663768768310547 nb_pixel_total : 50468 time to create 1 rle with old method : 0.057347774505615234 length of segment : 258 time for calcul the mask position with numpy : 0.005061149597167969 nb_pixel_total : 220273 time to create 1 rle with new method : 0.007888555526733398 length of segment : 781 time for calcul the mask position with numpy : 0.004102230072021484 nb_pixel_total : 139364 time to create 1 rle with old method : 0.16113734245300293 length of segment : 437 time for calcul the mask position with numpy : 0.001150369644165039 nb_pixel_total : 39075 time to create 1 rle with old method : 0.0451352596282959 length of segment : 224 time for calcul the mask position with numpy : 0.0005183219909667969 nb_pixel_total : 11355 time to create 1 rle with old method : 0.014003515243530273 length of segment : 155 time for calcul the mask position with numpy : 0.0005447864532470703 nb_pixel_total : 11350 time to create 1 rle with old method : 0.014388322830200195 length of segment : 120 time for calcul the mask position with numpy : 0.0003991127014160156 nb_pixel_total : 9532 time to create 1 rle with old method : 0.011358261108398438 length of segment : 194 time for calcul the mask position with numpy : 0.0007865428924560547 nb_pixel_total : 13907 time to create 1 rle with old method : 0.02814626693725586 length of segment : 185 time for calcul the mask position with numpy : 0.0013093948364257812 nb_pixel_total : 17188 time to create 1 rle with old method : 0.02777862548828125 length of segment : 134 time for calcul the mask position with numpy : 0.0008563995361328125 nb_pixel_total : 22836 time to create 1 rle with old method : 0.028830289840698242 length of segment : 228 time for calcul the mask position with numpy : 0.002038240432739258 nb_pixel_total : 58734 time to create 1 rle with old method : 0.06827950477600098 length of segment : 605 time for calcul the mask position with numpy : 0.0074083805084228516 nb_pixel_total : 361795 time to create 1 rle with new method : 0.012647390365600586 length of segment : 620 time for calcul the mask position with numpy : 0.007642507553100586 nb_pixel_total : 307018 time to create 1 rle with new method : 0.015009164810180664 length of segment : 807 time for calcul the mask position with numpy : 0.0007574558258056641 nb_pixel_total : 23042 time to create 1 rle with old method : 0.026627540588378906 length of segment : 176 time for calcul the mask position with numpy : 0.002359151840209961 nb_pixel_total : 97294 time to create 1 rle with old method : 0.10831117630004883 length of segment : 436 time for calcul the mask position with numpy : 0.009962081909179688 nb_pixel_total : 386585 time to create 1 rle with new method : 0.023585796356201172 length of segment : 1032 time for calcul the mask position with numpy : 0.0012881755828857422 nb_pixel_total : 56590 time to create 1 rle with old method : 0.0685579776763916 length of segment : 346 time for calcul the mask position with numpy : 0.0003216266632080078 nb_pixel_total : 8566 time to create 1 rle with old method : 0.010819435119628906 length of segment : 123 time for calcul the mask position with numpy : 0.0014061927795410156 nb_pixel_total : 56430 time to create 1 rle with old method : 0.0680537223815918 length of segment : 254 time for calcul the mask position with numpy : 0.005910634994506836 nb_pixel_total : 302182 time to create 1 rle with new method : 0.00853729248046875 length of segment : 580 time for calcul the mask position with numpy : 0.005248069763183594 nb_pixel_total : 335537 time to create 1 rle with new method : 0.010936975479125977 length of segment : 614 time spent for convertir_results : 18.27389359474182 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 145 chid ids of type : 3663 Number RLEs to save : 51582 save missing photos in datou_result : time spend for datou_step_exec : 87.94621229171753 time spend to save output : 3.7331151962280273 total time spend for step 1 : 91.67932748794556 step2:crop_condition Fri Mar 7 00:58:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 145 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 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 : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 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 : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 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 ! 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 : 53 About to insert : list_path_to_insert length 53 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 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 ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 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 ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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 ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] Looping around the photos to save general results len do output : 96 /-3696636783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636921Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636920Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636922Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3696636817Didn'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 ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 298 time used for this insertion : 0.0343320369720459 save_final save missing photos in datou_result : time spend for datou_step_exec : 50.799866676330566 time spend to save output : 0.03717827796936035 total time spend for step 2 : 50.83704495429993 step3:thcl Fri Mar 7 00:58: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 complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.011062145233154297 time to convert the images to numpy array : 0.34184741973876953 time to import caffe and check if the image exist : 0.016288280487060547 time to convert the images to numpy array : 0.6577556133270264 time to import caffe and check if the image exist : 0.01260519027709961 time to convert the images to numpy array : 0.8586516380310059 time to import caffe and check if the image exist : 0.018311738967895508 time to convert the images to numpy array : 0.8793454170227051 time to import caffe and check if the image exist : 0.013255834579467773 time to convert the images to numpy array : 1.0002329349517822 time to import caffe and check if the image exist : 0.015825271606445312 time to convert the images to numpy array : 1.0123600959777832 time to import caffe and check if the image exist : 0.01975393295288086 time to convert the images to numpy array : 1.0147533416748047 time to import caffe and check if the image exist : 0.017706871032714844 time to convert the images to numpy array : 1.020920991897583 time to import caffe and check if the image exist : 0.020331144332885742 time to convert the images to numpy array : 1.0290091037750244 time to import caffe and check if the image exist : 0.016088485717773438 time to convert the images to numpy array : 1.036651849746704 total time to convert the images to numpy array : 1.385789394378662 list photo_ids error: [] list photo_ids correct : [-3696636888, -3696636899, -3696636900, -3696636911, -3696636898, -3696636817, -3696636781, -3696636797, -3696636789, -3696636811, -3696636831, -3696636850, -3696636864, -3696636856, -3696636879, -3696636878, -3696636867, -3696636882, -3696636877, -3696636881, -3696636880, -3696636891, -3696636890, -3696636889, -3696636897, -3696636902, -3696636832, -3696636829, -3696636848, -3696636852, -3696636858, -3696636861, -3696636862, -3696636857, -3696636872, -3696636871, -3696636904, -3696636901, -3696636910, -3696636909, -3696636905, -3696636916, -3696636920, -3696636918, -3696636915, -3696636922, -3696636783, -3696636796, -3696636788, -3696636840, -3696636839, -3696636859, -3696636855, -3696636885, -3696636892, -3696636828, -3696636804, -3696636798, -3696636794, -3696636792, -3696636801, -3696636793, -3696636815, -3696636818, -3696636816, -3696636806, -3696636826, -3696636837, -3696636854, -3696636921, -3696636785, -3696636787, -3696636808, -3696636844, -3696636842, -3696636860, -3696636810, -3696636827, -3696636820, -3696636821, -3696636849, -3696636835, -3696636841, -3696636834, -3696636833, -3696636845, -3696636870, -3696636866, -3696636868, -3696636875, -3696636883, -3696636895, -3696636907, -3696636784, -3696636786, -3696636790] number of photos to traite : 96 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3414 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /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/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3195 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.2642161846160889 time used to do the prediction : 0.23956990242004395 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3193 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /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/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3193 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.6523642539978027 time used to do the prediction : 0.19628596305847168 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 2.8133392333984375e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.62436819076538 time spend to save output : 0.0006959438323974609 total time spend for step 3 : 11.625064134597778 step4:merge_mask_thcl_custom Fri Mar 7 00:59:06 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 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 145 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++As expected we have just one thcl present End of step merge_mask_thcl_custom Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : merge_mask_thcl_custom we use saveGeneral [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] Looping around the photos to save general results len do output : 10 /1341241560Didn't retrieve data .Didn't retrieve data . /1341241555Didn't retrieve data .Didn't retrieve data . /1341241552Didn't retrieve data .Didn't retrieve data . /1341241549Didn't retrieve data .Didn't retrieve data . /1341241547Didn't retrieve data .Didn't retrieve data . /1341241510Didn't retrieve data .Didn't retrieve data . /1341241504Didn't retrieve data .Didn't retrieve data . /1341241487Didn't retrieve data .Didn't retrieve data . /1341241483Didn't retrieve data .Didn't retrieve data . /1341241478Didn'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 : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014924287796020508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07705545425415039 time spend to save output : 0.015590190887451172 total time spend for step 4 : 0.09264564514160156 step5:rle_unique_nms_with_priority Fri Mar 7 00:59:06 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 Begin step rle-unique-nms nb_obj : 10 nb_hashtags : 5 time to prepare the origin masks : 6.970175743103027 time for calcul the mask position with numpy : 0.6732683181762695 nb_pixel_total : 6603503 time to create 1 rle with new method : 1.0273873805999756 time for calcul the mask position with numpy : 0.04527688026428223 nb_pixel_total : 309815 time to create 1 rle with new method : 0.45611119270324707 time for calcul the mask position with numpy : 0.025023937225341797 nb_pixel_total : 51205 time to create 1 rle with old method : 0.058760881423950195 time for calcul the mask position with numpy : 0.021209716796875 nb_pixel_total : 920 time to create 1 rle with old method : 0.0014057159423828125 time for calcul the mask position with numpy : 0.022843122482299805 nb_pixel_total : 14249 time to create 1 rle with old method : 0.01641678810119629 time for calcul the mask position with numpy : 0.02173590660095215 nb_pixel_total : 5739 time to create 1 rle with old method : 0.006690263748168945 time for calcul the mask position with numpy : 0.027048587799072266 nb_pixel_total : 2064 time to create 1 rle with old method : 0.003007173538208008 time for calcul the mask position with numpy : 0.028262853622436523 nb_pixel_total : 38657 time to create 1 rle with old method : 0.049652814865112305 time for calcul the mask position with numpy : 0.022093772888183594 nb_pixel_total : 2720 time to create 1 rle with old method : 0.0030324459075927734 time for calcul the mask position with numpy : 0.022065401077270508 nb_pixel_total : 7170 time to create 1 rle with old method : 0.007975101470947266 time for calcul the mask position with numpy : 0.027021408081054688 nb_pixel_total : 14198 time to create 1 rle with old method : 0.015585660934448242 create new chi : 2.6455578804016113 time to delete rle : 0.014940261840820312 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 6203 TO DO : save crop sub photo not yet done ! save time : 0.4333014488220215 nb_obj : 15 nb_hashtags : 6 time to prepare the origin masks : 11.984649896621704 time for calcul the mask position with numpy : 0.40935444831848145 nb_pixel_total : 5656976 time to create 1 rle with new method : 0.737445592880249 time for calcul the mask position with numpy : 0.03311920166015625 nb_pixel_total : 8267 time to create 1 rle with old method : 0.009425640106201172 time for calcul the mask position with numpy : 0.020888566970825195 nb_pixel_total : 51871 time to create 1 rle with old method : 0.05765819549560547 time for calcul the mask position with numpy : 0.02222132682800293 nb_pixel_total : 2391 time to create 1 rle with old method : 0.002720355987548828 time for calcul the mask position with numpy : 0.02403736114501953 nb_pixel_total : 152178 time to create 1 rle with new method : 0.5898799896240234 time for calcul the mask position with numpy : 0.021814346313476562 nb_pixel_total : 65199 time to create 1 rle with old method : 0.07549929618835449 time for calcul the mask position with numpy : 0.025615930557250977 nb_pixel_total : 429308 time to create 1 rle with new method : 1.4592399597167969 time for calcul the mask position with numpy : 0.022770166397094727 nb_pixel_total : 7468 time to create 1 rle with old method : 0.008291244506835938 time for calcul the mask position with numpy : 0.022676706314086914 nb_pixel_total : 118600 time to create 1 rle with old method : 0.15266013145446777 time for calcul the mask position with numpy : 0.025454044342041016 nb_pixel_total : 47394 time to create 1 rle with old method : 0.0528864860534668 time for calcul the mask position with numpy : 0.02403569221496582 nb_pixel_total : 90333 time to create 1 rle with old method : 0.11054062843322754 time for calcul the mask position with numpy : 0.02412557601928711 nb_pixel_total : 16765 time to create 1 rle with old method : 0.01945209503173828 time for calcul the mask position with numpy : 0.024876117706298828 nb_pixel_total : 345868 time to create 1 rle with new method : 0.6762888431549072 time for calcul the mask position with numpy : 0.0221707820892334 nb_pixel_total : 4676 time to create 1 rle with old method : 0.005199909210205078 time for calcul the mask position with numpy : 0.022818565368652344 nb_pixel_total : 37661 time to create 1 rle with old method : 0.04334068298339844 time for calcul the mask position with numpy : 0.03341388702392578 nb_pixel_total : 15285 time to create 1 rle with old method : 0.016907453536987305 create new chi : 4.9119603633880615 time to delete rle : 0.0012319087982177734 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 12949 TO DO : save crop sub photo not yet done ! save time : 0.8719165325164795 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 11.346990585327148 time for calcul the mask position with numpy : 1.7099816799163818 nb_pixel_total : 6571403 time to create 1 rle with new method : 0.7712161540985107 time for calcul the mask position with numpy : 0.035085439682006836 nb_pixel_total : 92588 time to create 1 rle with old method : 0.10118842124938965 time for calcul the mask position with numpy : 0.03467512130737305 nb_pixel_total : 41072 time to create 1 rle with old method : 0.044753313064575195 time for calcul the mask position with numpy : 0.034687042236328125 nb_pixel_total : 19860 time to create 1 rle with old method : 0.023079395294189453 time for calcul the mask position with numpy : 0.021067380905151367 nb_pixel_total : 26325 time to create 1 rle with old method : 0.029094457626342773 time for calcul the mask position with numpy : 0.02148580551147461 nb_pixel_total : 72185 time to create 1 rle with old method : 0.07894253730773926 time for calcul the mask position with numpy : 0.021190166473388672 nb_pixel_total : 3710 time to create 1 rle with old method : 0.004397153854370117 time for calcul the mask position with numpy : 0.021399259567260742 nb_pixel_total : 31751 time to create 1 rle with old method : 0.03676152229309082 time for calcul the mask position with numpy : 0.021103858947753906 nb_pixel_total : 443 time to create 1 rle with old method : 0.0005371570587158203 time for calcul the mask position with numpy : 0.020689010620117188 nb_pixel_total : 41269 time to create 1 rle with old method : 0.045708656311035156 time for calcul the mask position with numpy : 0.021196842193603516 nb_pixel_total : 101614 time to create 1 rle with old method : 0.11942124366760254 time for calcul the mask position with numpy : 0.0206756591796875 nb_pixel_total : 48020 time to create 1 rle with old method : 0.05342531204223633 create new chi : 3.3314108848571777 time to delete rle : 0.0007171630859375 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7964 TO DO : save crop sub photo not yet done ! save time : 0.5667576789855957 nb_obj : 10 nb_hashtags : 5 time to prepare the origin masks : 15.090876340866089 time for calcul the mask position with numpy : 0.668205976486206 nb_pixel_total : 4163269 time to create 1 rle with new method : 0.850562334060669 time for calcul the mask position with numpy : 0.03033304214477539 nb_pixel_total : 22538 time to create 1 rle with old method : 0.027042865753173828 time for calcul the mask position with numpy : 0.026219606399536133 nb_pixel_total : 162329 time to create 1 rle with new method : 1.2745227813720703 time for calcul the mask position with numpy : 0.0370941162109375 nb_pixel_total : 216991 time to create 1 rle with new method : 0.5491578578948975 time for calcul the mask position with numpy : 0.03484535217285156 nb_pixel_total : 158925 time to create 1 rle with new method : 0.7703497409820557 time for calcul the mask position with numpy : 0.03945660591125488 nb_pixel_total : 10173 time to create 1 rle with old method : 0.01595306396484375 time for calcul the mask position with numpy : 0.03505849838256836 nb_pixel_total : 11301 time to create 1 rle with old method : 0.013645172119140625 time for calcul the mask position with numpy : 0.0386967658996582 nb_pixel_total : 154068 time to create 1 rle with new method : 0.4463958740234375 time for calcul the mask position with numpy : 0.03553366661071777 nb_pixel_total : 240214 time to create 1 rle with new method : 0.6497974395751953 time for calcul the mask position with numpy : 0.03558063507080078 nb_pixel_total : 65489 time to create 1 rle with old method : 0.07183003425598145 time for calcul the mask position with numpy : 0.06648993492126465 nb_pixel_total : 1844943 time to create 1 rle with new method : 0.7111051082611084 create new chi : 6.612891912460327 time to delete rle : 0.002231121063232422 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 17352 TO DO : save crop sub photo not yet done ! save time : 2.96342134475708 nb_obj : 19 nb_hashtags : 7 time to prepare the origin masks : 14.003232955932617 time for calcul the mask position with numpy : 0.6352038383483887 nb_pixel_total : 5703520 time to create 1 rle with new method : 0.7785153388977051 time for calcul the mask position with numpy : 0.02897334098815918 nb_pixel_total : 45755 time to create 1 rle with old method : 0.04602384567260742 time for calcul the mask position with numpy : 0.02041006088256836 nb_pixel_total : 26104 time to create 1 rle with old method : 0.026487350463867188 time for calcul the mask position with numpy : 0.019881010055541992 nb_pixel_total : 38330 time to create 1 rle with old method : 0.04022097587585449 time for calcul the mask position with numpy : 0.019561767578125 nb_pixel_total : 95479 time to create 1 rle with old method : 0.09562182426452637 time for calcul the mask position with numpy : 0.020641803741455078 nb_pixel_total : 168118 time to create 1 rle with new method : 0.7164804935455322 time for calcul the mask position with numpy : 0.020117521286010742 nb_pixel_total : 25078 time to create 1 rle with old method : 0.027878761291503906 time for calcul the mask position with numpy : 0.020491361618041992 nb_pixel_total : 55068 time to create 1 rle with old method : 0.05517911911010742 time for calcul the mask position with numpy : 0.02147817611694336 nb_pixel_total : 140303 time to create 1 rle with old method : 0.15048003196716309 time for calcul the mask position with numpy : 0.019870281219482422 nb_pixel_total : 3462 time to create 1 rle with old method : 0.0035190582275390625 time for calcul the mask position with numpy : 0.020000457763671875 nb_pixel_total : 95882 time to create 1 rle with old method : 0.10094594955444336 time for calcul the mask position with numpy : 0.021654605865478516 nb_pixel_total : 282608 time to create 1 rle with new method : 1.0395970344543457 time for calcul the mask position with numpy : 0.02074146270751953 nb_pixel_total : 15235 time to create 1 rle with old method : 0.016562461853027344 time for calcul the mask position with numpy : 0.019069910049438477 nb_pixel_total : 44470 time to create 1 rle with old method : 0.044831037521362305 time for calcul the mask position with numpy : 0.022400617599487305 nb_pixel_total : 1090 time to create 1 rle with old method : 0.0023970603942871094 time for calcul the mask position with numpy : 0.022925376892089844 nb_pixel_total : 12560 time to create 1 rle with old method : 0.020204544067382812 time for calcul the mask position with numpy : 0.02359795570373535 nb_pixel_total : 16559 time to create 1 rle with old method : 0.016887664794921875 time for calcul the mask position with numpy : 0.020839691162109375 nb_pixel_total : 161071 time to create 1 rle with new method : 0.7865791320800781 time for calcul the mask position with numpy : 0.02145671844482422 nb_pixel_total : 34240 time to create 1 rle with old method : 0.037169694900512695 time for calcul the mask position with numpy : 0.02041339874267578 nb_pixel_total : 85308 time to create 1 rle with old method : 0.08994793891906738 create new chi : 5.233363151550293 time to delete rle : 0.0015113353729248047 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 14771 TO DO : save crop sub photo not yet done ! save time : 10.050727844238281 nb_obj : 22 nb_hashtags : 8 time to prepare the origin masks : 19.28975772857666 time for calcul the mask position with numpy : 0.40645790100097656 nb_pixel_total : 5933635 time to create 1 rle with new method : 1.0066754817962646 time for calcul the mask position with numpy : 0.039072275161743164 nb_pixel_total : 26467 time to create 1 rle with old method : 0.02863907814025879 time for calcul the mask position with numpy : 0.03628683090209961 nb_pixel_total : 52328 time to create 1 rle with old method : 0.0654909610748291 time for calcul the mask position with numpy : 0.03958725929260254 nb_pixel_total : 10352 time to create 1 rle with old method : 0.01236581802368164 time for calcul the mask position with numpy : 0.04173707962036133 nb_pixel_total : 4911 time to create 1 rle with old method : 0.005541801452636719 time for calcul the mask position with numpy : 0.04133105278015137 nb_pixel_total : 39986 time to create 1 rle with old method : 0.044722557067871094 time for calcul the mask position with numpy : 0.042568206787109375 nb_pixel_total : 12035 time to create 1 rle with old method : 0.013440370559692383 time for calcul the mask position with numpy : 0.04794740676879883 nb_pixel_total : 4497 time to create 1 rle with old method : 0.007767438888549805 time for calcul the mask position with numpy : 0.04830193519592285 nb_pixel_total : 11420 time to create 1 rle with old method : 0.021448612213134766 time for calcul the mask position with numpy : 0.045670509338378906 nb_pixel_total : 7680 time to create 1 rle with old method : 0.015189886093139648 time for calcul the mask position with numpy : 0.05445051193237305 nb_pixel_total : 16166 time to create 1 rle with old method : 0.03268861770629883 time for calcul the mask position with numpy : 0.06284189224243164 nb_pixel_total : 192903 time to create 1 rle with new method : 0.9676427841186523 time for calcul the mask position with numpy : 0.043936967849731445 nb_pixel_total : 88941 time to create 1 rle with old method : 0.10016250610351562 time for calcul the mask position with numpy : 0.03401923179626465 nb_pixel_total : 25473 time to create 1 rle with old method : 0.029564380645751953 time for calcul the mask position with numpy : 0.03519177436828613 nb_pixel_total : 893 time to create 1 rle with old method : 0.0013163089752197266 time for calcul the mask position with numpy : 0.038755178451538086 nb_pixel_total : 204786 time to create 1 rle with new method : 0.9406285285949707 time for calcul the mask position with numpy : 0.046151161193847656 nb_pixel_total : 50880 time to create 1 rle with old method : 0.059313058853149414 time for calcul the mask position with numpy : 0.045563697814941406 nb_pixel_total : 62449 time to create 1 rle with old method : 0.07053327560424805 time for calcul the mask position with numpy : 0.0540471076965332 nb_pixel_total : 129995 time to create 1 rle with old method : 0.14532852172851562 time for calcul the mask position with numpy : 0.04159092903137207 nb_pixel_total : 83713 time to create 1 rle with old method : 0.0948793888092041 time for calcul the mask position with numpy : 0.03745245933532715 nb_pixel_total : 3671 time to create 1 rle with old method : 0.0041620731353759766 time for calcul the mask position with numpy : 0.047446250915527344 nb_pixel_total : 21856 time to create 1 rle with old method : 0.030988216400146484 time for calcul the mask position with numpy : 0.03921985626220703 nb_pixel_total : 65203 time to create 1 rle with old method : 0.07746696472167969 create new chi : 5.27743673324585 time to delete rle : 0.003660917282104492 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 14204 TO DO : save crop sub photo not yet done ! save time : 1.1813716888427734 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 9.068053483963013 time for calcul the mask position with numpy : 0.45874452590942383 nb_pixel_total : 6442960 time to create 1 rle with new method : 1.1170437335968018 time for calcul the mask position with numpy : 0.025936603546142578 nb_pixel_total : 21507 time to create 1 rle with old method : 0.02711033821105957 time for calcul the mask position with numpy : 0.024182558059692383 nb_pixel_total : 15437 time to create 1 rle with old method : 0.016696453094482422 time for calcul the mask position with numpy : 0.022782564163208008 nb_pixel_total : 30270 time to create 1 rle with old method : 0.03264570236206055 time for calcul the mask position with numpy : 0.0251772403717041 nb_pixel_total : 43710 time to create 1 rle with old method : 0.05323076248168945 time for calcul the mask position with numpy : 0.02206730842590332 nb_pixel_total : 2246 time to create 1 rle with old method : 0.002584218978881836 time for calcul the mask position with numpy : 0.022790193557739258 nb_pixel_total : 346993 time to create 1 rle with new method : 0.5721051692962646 time for calcul the mask position with numpy : 0.0308988094329834 nb_pixel_total : 19835 time to create 1 rle with old method : 0.027382373809814453 time for calcul the mask position with numpy : 0.022960901260375977 nb_pixel_total : 14927 time to create 1 rle with old method : 0.017704010009765625 time for calcul the mask position with numpy : 0.023162364959716797 nb_pixel_total : 64855 time to create 1 rle with old method : 0.07288765907287598 time for calcul the mask position with numpy : 0.023148298263549805 nb_pixel_total : 5522 time to create 1 rle with old method : 0.00624537467956543 time for calcul the mask position with numpy : 0.021869659423828125 nb_pixel_total : 41978 time to create 1 rle with old method : 0.048250675201416016 create new chi : 2.787740468978882 time to delete rle : 0.0009777545928955078 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8425 TO DO : save crop sub photo not yet done ! save time : 0.8943147659301758 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 10.356860160827637 time for calcul the mask position with numpy : 0.6000311374664307 nb_pixel_total : 6757039 time to create 1 rle with new method : 1.1178429126739502 time for calcul the mask position with numpy : 0.02710747718811035 nb_pixel_total : 63470 time to create 1 rle with old method : 0.06970810890197754 time for calcul the mask position with numpy : 0.027862071990966797 nb_pixel_total : 24401 time to create 1 rle with old method : 0.028933286666870117 time for calcul the mask position with numpy : 0.052088260650634766 nb_pixel_total : 24915 time to create 1 rle with old method : 0.030500173568725586 time for calcul the mask position with numpy : 0.04799842834472656 nb_pixel_total : 5288 time to create 1 rle with old method : 0.005969524383544922 time for calcul the mask position with numpy : 0.04685091972351074 nb_pixel_total : 3678 time to create 1 rle with old method : 0.0041654109954833984 time for calcul the mask position with numpy : 0.04360342025756836 nb_pixel_total : 43374 time to create 1 rle with old method : 0.04942202568054199 time for calcul the mask position with numpy : 0.045001983642578125 nb_pixel_total : 17902 time to create 1 rle with old method : 0.019930124282836914 time for calcul the mask position with numpy : 0.04771256446838379 nb_pixel_total : 3937 time to create 1 rle with old method : 0.005118131637573242 time for calcul the mask position with numpy : 0.045218706130981445 nb_pixel_total : 47940 time to create 1 rle with old method : 0.052739620208740234 time for calcul the mask position with numpy : 0.05488300323486328 nb_pixel_total : 19482 time to create 1 rle with old method : 0.030631065368652344 time for calcul the mask position with numpy : 0.04402041435241699 nb_pixel_total : 16241 time to create 1 rle with old method : 0.026895761489868164 time for calcul the mask position with numpy : 0.04276847839355469 nb_pixel_total : 22573 time to create 1 rle with old method : 0.030287981033325195 create new chi : 2.6532349586486816 time to delete rle : 0.0008738040924072266 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 7186 TO DO : save crop sub photo not yet done ! save time : 0.5812582969665527 nb_obj : 12 nb_hashtags : 7 time to prepare the origin masks : 10.164790153503418 time for calcul the mask position with numpy : 1.143000602722168 nb_pixel_total : 6414187 time to create 1 rle with new method : 1.0741486549377441 time for calcul the mask position with numpy : 0.028559207916259766 nb_pixel_total : 30747 time to create 1 rle with old method : 0.03551173210144043 time for calcul the mask position with numpy : 0.025855064392089844 nb_pixel_total : 17492 time to create 1 rle with old method : 0.019510746002197266 time for calcul the mask position with numpy : 0.03416728973388672 nb_pixel_total : 38862 time to create 1 rle with old method : 0.04253578186035156 time for calcul the mask position with numpy : 0.04864358901977539 nb_pixel_total : 137374 time to create 1 rle with old method : 0.15578436851501465 time for calcul the mask position with numpy : 0.05442023277282715 nb_pixel_total : 13845 time to create 1 rle with old method : 0.02144169807434082 time for calcul the mask position with numpy : 0.05249166488647461 nb_pixel_total : 6255 time to create 1 rle with old method : 0.007328510284423828 time for calcul the mask position with numpy : 0.04279160499572754 nb_pixel_total : 50223 time to create 1 rle with old method : 0.07832884788513184 time for calcul the mask position with numpy : 0.046303510665893555 nb_pixel_total : 17062 time to create 1 rle with old method : 0.019087553024291992 time for calcul the mask position with numpy : 0.045601844787597656 nb_pixel_total : 11348 time to create 1 rle with old method : 0.01356053352355957 time for calcul the mask position with numpy : 0.04381704330444336 nb_pixel_total : 219853 time to create 1 rle with new method : 1.3644893169403076 time for calcul the mask position with numpy : 0.03629183769226074 nb_pixel_total : 81684 time to create 1 rle with old method : 0.0901479721069336 time for calcul the mask position with numpy : 0.03627467155456543 nb_pixel_total : 11308 time to create 1 rle with old method : 0.012313604354858398 create new chi : 4.64959979057312 time to delete rle : 0.0009315013885498047 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8242 TO DO : save crop sub photo not yet done ! save time : 0.6480815410614014 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 11.098102569580078 time for calcul the mask position with numpy : 0.705763578414917 nb_pixel_total : 5338155 time to create 1 rle with new method : 0.7705450057983398 time for calcul the mask position with numpy : 0.04963183403015137 nb_pixel_total : 97136 time to create 1 rle with old method : 0.1230311393737793 time for calcul the mask position with numpy : 0.0327601432800293 nb_pixel_total : 34109 time to create 1 rle with old method : 0.03940987586975098 time for calcul the mask position with numpy : 0.02581334114074707 nb_pixel_total : 22676 time to create 1 rle with old method : 0.028458356857299805 time for calcul the mask position with numpy : 0.02726578712463379 nb_pixel_total : 301592 time to create 1 rle with new method : 1.2384204864501953 time for calcul the mask position with numpy : 0.02656078338623047 nb_pixel_total : 56292 time to create 1 rle with old method : 0.06029653549194336 time for calcul the mask position with numpy : 0.025296688079833984 nb_pixel_total : 8544 time to create 1 rle with old method : 0.08886122703552246 time for calcul the mask position with numpy : 0.03548169136047363 nb_pixel_total : 386154 time to create 1 rle with new method : 0.51153564453125 time for calcul the mask position with numpy : 0.03316164016723633 nb_pixel_total : 306345 time to create 1 rle with new method : 1.0323264598846436 time for calcul the mask position with numpy : 0.03126049041748047 nb_pixel_total : 361294 time to create 1 rle with new method : 0.7683963775634766 time for calcul the mask position with numpy : 0.032608985900878906 nb_pixel_total : 22989 time to create 1 rle with old method : 0.029995203018188477 time for calcul the mask position with numpy : 0.025674104690551758 nb_pixel_total : 58648 time to create 1 rle with old method : 0.06443333625793457 time for calcul the mask position with numpy : 0.0250701904296875 nb_pixel_total : 56306 time to create 1 rle with old method : 0.06346774101257324 create new chi : 6.074080944061279 time to delete rle : 0.0014507770538330078 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 13585 TO DO : save crop sub photo not yet done ! save time : 1.2934885025024414 map_output_result : {1341241560: (0.0, 'Should be the crop_list due to order', 0), 1341241555: (0.0, 'Should be the crop_list due to order', 0), 1341241552: (0.0, 'Should be the crop_list due to order', 0), 1341241549: (0.0, 'Should be the crop_list due to order', 0), 1341241547: (0.0, 'Should be the crop_list due to order', 0), 1341241510: (0.0, 'Should be the crop_list due to order', 0), 1341241504: (0.0, 'Should be the crop_list due to order', 0), 1341241487: (0.0, 'Should be the crop_list due to order', 0), 1341241483: (0.0, 'Should be the crop_list due to order', 0), 1341241478: (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 [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] Looping around the photos to save general results len do output : 10 /1341241560.Didn't retrieve data . /1341241555.Didn't retrieve data . /1341241552.Didn't retrieve data . /1341241549.Didn't retrieve data . /1341241547.Didn't retrieve data . /1341241510.Didn't retrieve data . /1341241504.Didn't retrieve data . /1341241487.Didn't retrieve data . /1341241483.Didn't retrieve data . /1341241478.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 ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01456761360168457 save_final save missing photos in datou_result : time spend for datou_step_exec : 184.26822328567505 time spend to save output : 0.018346309661865234 total time spend for step 5 : 184.2865695953369 step6:crop_condition Fri Mar 7 01:02:10 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 some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 144 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741305733_294027 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2332844734191895 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! 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 : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741305737_294027 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2275874614715576 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741305743_294027 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.354891777038574 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741305750_294027 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.004626512527466 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 4869462 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741305756_294027 we have uploaded 9 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.0146145820617676 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 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 : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741305761_294027 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6085128784179688 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741305765_294027 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1885631084442139 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] Looping around the photos to save general results len do output : 32 /1341345933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345991Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341345997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341346609Didn'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 ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 106 time used for this insertion : 0.03233814239501953 save_final save missing photos in datou_result : time spend for datou_step_exec : 36.99211025238037 time spend to save output : 0.03343653678894043 total time spend for step 6 : 37.02554678916931 step7:ventilate_hashtags_in_portfolio Fri Mar 7 01:02:47 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 ! To do loadFromThcl(), then load ParamDescType : thcl2725 thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 Iterating over portfolio : 21131106 get user id for portfolio 21131106 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`=21131106 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','kraft','mal_croppe','cartonnette','metal','flou','plastique','environnement','Carton_brun','autre_refus','Carton_gris')) 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") 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`=21131106 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','kraft','mal_croppe','cartonnette','metal','flou','plastique','environnement','Carton_brun','autre_refus','Carton_gris')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21131264,21131265,21131266,21131267,21131268,21131269,21131270,21131271,21131272,21131273,21131274,21131275?tags=plastique,autre_refus,mal_croppe,Carton_brun,metal,environnement,Carton_gris,Teint_Dans_La_Masse,cartonnette,kraft,papier,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] Looping around the photos to save general results len do output : 1 /21131106. 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 ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013948678970336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6920843124389648 time spend to save output : 0.014277458190917969 total time spend for step 7 : 1.7063617706298828 step8:final Fri Mar 7 01:02:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1341241560: ('0.10572462296303708',), 1341241555: ('0.10572462296303708',), 1341241552: ('0.10572462296303708',), 1341241549: ('0.10572462296303708',), 1341241547: ('0.10572462296303708',), 1341241510: ('0.10572462296303708',), 1341241504: ('0.10572462296303708',), 1341241487: ('0.10572462296303708',), 1341241483: ('0.10572462296303708',), 1341241478: ('0.10572462296303708',)} new output for save of step final : {1341241560: ('0.10572462296303708',), 1341241555: ('0.10572462296303708',), 1341241552: ('0.10572462296303708',), 1341241549: ('0.10572462296303708',), 1341241547: ('0.10572462296303708',), 1341241510: ('0.10572462296303708',), 1341241504: ('0.10572462296303708',), 1341241487: ('0.10572462296303708',), 1341241483: ('0.10572462296303708',), 1341241478: ('0.10572462296303708',)} [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] Looping around the photos to save general results len do output : 10 /1341241560.Didn't retrieve data . /1341241555.Didn't retrieve data . /1341241552.Didn't retrieve data . /1341241549.Didn't retrieve data . /1341241547.Didn't retrieve data . /1341241510.Didn't retrieve data . /1341241504.Didn't retrieve data . /1341241487.Didn't retrieve data . /1341241483.Didn't retrieve data . /1341241478.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 ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01360177993774414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7908151149749756 time spend to save output : 0.014405012130737305 total time spend for step 8 : 0.8052201271057129 step9:velours_tree Fri Mar 7 01:02:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.24924969673156738 time spend to save output : 0.00011467933654785156 total time spend for step 9 : 0.24936437606811523 step10:send_mail_cod Fri Mar 7 01:02:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P21131106_07-03-2025_01_02_50.pdf 21131264 change filename to text .imagette211312641741305770 21131265 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 .imagette211312651741305770 21131266 imagette211312661741305774 21131268 imagette211312681741305774 21131272 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 .imagette211312721741305774 21131273 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211312731741305775 21131275 imagette211312751741305776 21131267 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 .imagette211312671741305776 21131270 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 .imagette211312701741305776 21131271 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 .imagette211312711741305777 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21131106 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21131264,21131265,21131266,21131267,21131268,21131269,21131270,21131271,21131272,21131273,21131274,21131275?tags=plastique,autre_refus,mal_croppe,Carton_brun,metal,environnement,Carton_gris,Teint_Dans_La_Masse,cartonnette,kraft,papier,flou your option no_mail is active, we will not send the real mail to your client args[1341241560] : ('0.10572462296303708',) no score found for photo 1341241560 We are sending mail with results at report@fotonower.com args[1341241555] : ('0.10572462296303708',) no score found for photo 1341241555 We are sending mail with results at report@fotonower.com args[1341241552] : ('0.10572462296303708',) no score found for photo 1341241552 We are sending mail with results at report@fotonower.com args[1341241549] : ('0.10572462296303708',) no score found for photo 1341241549 We are sending mail with results at report@fotonower.com args[1341241547] : ('0.10572462296303708',) no score found for photo 1341241547 We are sending mail with results at report@fotonower.com args[1341241510] : ('0.10572462296303708',) no score found for photo 1341241510 We are sending mail with results at report@fotonower.com args[1341241504] : ('0.10572462296303708',) no score found for photo 1341241504 We are sending mail with results at report@fotonower.com args[1341241487] : ('0.10572462296303708',) no score found for photo 1341241487 We are sending mail with results at report@fotonower.com args[1341241483] : ('0.10572462296303708',) no score found for photo 1341241483 We are sending mail with results at report@fotonower.com args[1341241478] : ('0.10572462296303708',) no score found for photo 1341241478 We are sending mail with results at report@fotonower.com refus_total : 0.10572462296303708 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=21131106 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1341241560,1341243040,1341242967,1341242380,1341242375,1341241949,1341241752,1341241475,1341241555,1341241552,1341241510,1341241504,1341241487,1341241483,1341241549,1341241565,1341241599,1341241547,1341242970,1341242973) Found this number of photos: 20 begin to download photo : 1341241560 begin to download photo : 1341241949 begin to download photo : 1341241510 begin to download photo : 1341241565 download finish for photo 1341241560 begin to download photo : 1341243040 download finish for photo 1341241565 begin to download photo : 1341241599 download finish for photo 1341241949 begin to download photo : 1341241752 download finish for photo 1341241510 begin to download photo : 1341241504 download finish for photo 1341241599 begin to download photo : 1341241547 download finish for photo 1341241752 begin to download photo : 1341241475 download finish for photo 1341243040 begin to download photo : 1341242967 download finish for photo 1341241504 begin to download photo : 1341241487 download finish for photo 1341242967 begin to download photo : 1341242380 download finish for photo 1341241547 begin to download photo : 1341242970 download finish for photo 1341241475 begin to download photo : 1341241555 download finish for photo 1341241487 begin to download photo : 1341241483 download finish for photo 1341242970 begin to download photo : 1341242973 download finish for photo 1341241555 begin to download photo : 1341241552 download finish for photo 1341241483 begin to download photo : 1341241549 download finish for photo 1341242380 begin to download photo : 1341242375 download finish for photo 1341241552 download finish for photo 1341242973 download finish for photo 1341242375 download finish for photo 1341241549 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131106_07-03-2025_01_02_50.pdf results_Auto_P21131106_07-03-2025_01_02_50.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131106_07-03-2025_01_02_50.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','21131106','results_Auto_P21131106_07-03-2025_01_02_50.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131106_07-03-2025_01_02_50.pdf','pdf','','1.17','0.10572462296303708') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] 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 ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013357400894165039 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.453269481658936 time spend to save output : 0.013612985610961914 total time spend for step 10 : 12.466882467269897 step11:split_time_score Fri Mar 7 01:03:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 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 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'}] (('12', 21),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06032025 21131106 Nombre de photos uploadées : 21 / 23040 (0%) 06032025 21131106 Nombre de photos taguées (types de déchets): 0 / 21 (0%) 06032025 21131106 Nombre de photos taguées (volume) : 0 / 21 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012047290802001953 elapsed_time : insert_dashboard_record_day_entry 0.03397488594055176 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131086 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131087 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131088 order by id desc limit 1 Qualite : 0.08488825436881216 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110324_06-03-2025_13_24_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21110324 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 ! 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 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 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`=21110324 AND mptpi.`type`=3327 To do Qualite : 0.08456570303462264 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110325_06-03-2025_09_27_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21110325 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=21110325 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21110326 order by id desc limit 1 Qualite : 0.05850682993931322 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110327_06-03-2025_09_32_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21110327 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 ! 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 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 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 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 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`=21110327 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131089 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131090 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131091 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131092 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131093 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131094 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131095 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131096 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131097 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131098 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131099 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131100 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131101 order by id desc limit 1 Qualite : 0.09011573601023397 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131102_07-03-2025_01_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131102 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 ! 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 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 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`=21131102 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131103 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131104 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131105 order by id desc limit 1 Qualite : 0.1208628538400596 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131106_07-03-2025_01_02_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131106 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=21131106 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131107 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131108 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131109 order by id desc limit 1 Qualite : 0.23950699235455492 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131110_07-03-2025_00_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131110 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`=21131110 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131111 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131112 order by id desc limit 1 Qualite : 0.09219659423566663 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131113_07-03-2025_00_21_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131113 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 ! 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 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 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 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 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`=21131113 AND mptpi.`type`=4207 To do Qualite : 0.22215740173384166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131114_07-03-2025_00_29_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131114 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`=21131114 AND mptpi.`type`=3594 To do Qualite : 0.0628226615711991 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131115_07-03-2025_00_58_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131115 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=21131115 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 21, '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 [1341241560, 1341241555, 1341241552, 1341241549, 1341241547, 1341241510, 1341241504, 1341241487, 1341241483, 1341241478] Looping around the photos to save general results len do output : 1 /21131106Didn'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 ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241560', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241555', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241552', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241549', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241547', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241510', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241504', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241487', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241483', None, None, None, None, None, '2646475') ('3459', None, None, None, None, None, None, None, '2646475') ('3459', None, '1341241478', None, None, None, None, None, '2646475') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01372981071472168 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.973095417022705 time spend to save output : 0.013966560363769531 total time spend for step 11 : 20.987061977386475 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 154.66user 198.76system 7:00.03elapsed 84%CPU (0avgtext+0avgdata 4201060maxresident)k 2152752inputs+139616outputs (31757major+13259698minor)pagefaults 0swaps