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 : 123043 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 : 25>10 please execute split_portfolio.py -i 21390193 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2666455'] with mtr_portfolio_ids : ['21390193'] and first list_photo_ids : [] new path : /proc/123043/ 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.9255025386810303 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 Thu Mar 13 19:58:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10593 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-13 19:58:33.608007: 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-13 19:58:33.635155: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-13 19:58:33.636482: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa110000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-13 19:58:33.636519: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-13 19:58:33.638789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-13 19:58:33.875520: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4ef5100 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-13 19:58:33.875581: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-13 19:58:33.877023: 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-13 19:58:33.877408: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:58:33.880230: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:58:33.882620: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 19:58:33.883008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 19:58:33.885945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 19:58:33.887196: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 19:58:33.892083: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 19:58:33.893526: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 19:58:33.893590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:58:33.894352: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 19:58:33.894367: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 19:58:33.894376: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 19:58:33.895775: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9815 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-13 19:58:34.150586: 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-13 19:58:34.150684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:58:34.150708: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:58:34.150730: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 19:58:34.150751: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 19:58:34.150771: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 19:58:34.150791: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 19:58:34.150812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 19:58:34.152447: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 19:58:34.153755: 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-13 19:58:34.153793: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:58:34.153812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:58:34.153830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 19:58:34.153847: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 19:58:34.153864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 19:58:34.153882: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 19:58:34.153899: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 19:58:34.155479: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 19:58:34.155512: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 19:58:34.155522: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 19:58:34.155532: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 19:58:34.156979: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9815 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-13 19:58:45.556556: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:58:45.724484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 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 : 6 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 : 26 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 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: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 9 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 : 19 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 : 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 : 25 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 : 5 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 : 19 Detection mask done ! Trying to reset tf kernel 123441 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5304 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 : 10593 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.6507472991943359 nb_pixel_total : 3403343 time to create 1 rle with new method : 0.9511806964874268 length of segment : 3560 time for calcul the mask position with numpy : 0.0001227855682373047 nb_pixel_total : 2018 time to create 1 rle with old method : 0.002773284912109375 length of segment : 56 time for calcul the mask position with numpy : 0.000370025634765625 nb_pixel_total : 18258 time to create 1 rle with old method : 0.022582292556762695 length of segment : 256 time for calcul the mask position with numpy : 0.013217687606811523 nb_pixel_total : 517578 time to create 1 rle with new method : 0.24333500862121582 length of segment : 1651 time for calcul the mask position with numpy : 0.013781309127807617 nb_pixel_total : 742445 time to create 1 rle with new method : 0.04825615882873535 length of segment : 1138 time for calcul the mask position with numpy : 0.003286123275756836 nb_pixel_total : 85902 time to create 1 rle with old method : 0.09880471229553223 length of segment : 386 time for calcul the mask position with numpy : 0.0012123584747314453 nb_pixel_total : 28464 time to create 1 rle with old method : 0.03501558303833008 length of segment : 223 time for calcul the mask position with numpy : 0.0016667842864990234 nb_pixel_total : 59044 time to create 1 rle with old method : 0.06750202178955078 length of segment : 294 time for calcul the mask position with numpy : 0.000850677490234375 nb_pixel_total : 18057 time to create 1 rle with old method : 0.01997828483581543 length of segment : 288 time for calcul the mask position with numpy : 0.002640962600708008 nb_pixel_total : 74584 time to create 1 rle with old method : 0.08583998680114746 length of segment : 409 time for calcul the mask position with numpy : 0.0034754276275634766 nb_pixel_total : 97238 time to create 1 rle with old method : 0.11206269264221191 length of segment : 557 time for calcul the mask position with numpy : 0.0012278556823730469 nb_pixel_total : 59271 time to create 1 rle with old method : 0.06658315658569336 length of segment : 286 time for calcul the mask position with numpy : 0.0011775493621826172 nb_pixel_total : 19561 time to create 1 rle with old method : 0.023472070693969727 length of segment : 276 time for calcul the mask position with numpy : 0.000274658203125 nb_pixel_total : 3213 time to create 1 rle with old method : 0.00406956672668457 length of segment : 105 time for calcul the mask position with numpy : 0.0006434917449951172 nb_pixel_total : 20154 time to create 1 rle with old method : 0.023981809616088867 length of segment : 183 time for calcul the mask position with numpy : 0.0015568733215332031 nb_pixel_total : 19723 time to create 1 rle with old method : 0.02375316619873047 length of segment : 300 time for calcul the mask position with numpy : 0.0003681182861328125 nb_pixel_total : 13493 time to create 1 rle with old method : 0.016623735427856445 length of segment : 104 time for calcul the mask position with numpy : 0.0001647472381591797 nb_pixel_total : 1441 time to create 1 rle with old method : 0.0018877983093261719 length of segment : 78 time for calcul the mask position with numpy : 0.0016667842864990234 nb_pixel_total : 49441 time to create 1 rle with old method : 0.05691194534301758 length of segment : 376 time for calcul the mask position with numpy : 0.001043558120727539 nb_pixel_total : 52505 time to create 1 rle with old method : 0.05828261375427246 length of segment : 295 time for calcul the mask position with numpy : 0.0017707347869873047 nb_pixel_total : 49585 time to create 1 rle with old method : 0.05712246894836426 length of segment : 247 time for calcul the mask position with numpy : 0.001661062240600586 nb_pixel_total : 32705 time to create 1 rle with old method : 0.035654306411743164 length of segment : 488 time for calcul the mask position with numpy : 0.0016450881958007812 nb_pixel_total : 60296 time to create 1 rle with old method : 0.0688328742980957 length of segment : 375 time for calcul the mask position with numpy : 0.0016582012176513672 nb_pixel_total : 38417 time to create 1 rle with old method : 0.04423356056213379 length of segment : 493 time for calcul the mask position with numpy : 0.0029463768005371094 nb_pixel_total : 102152 time to create 1 rle with old method : 0.11391448974609375 length of segment : 579 time for calcul the mask position with numpy : 0.0014388561248779297 nb_pixel_total : 46227 time to create 1 rle with old method : 0.051763296127319336 length of segment : 174 time for calcul the mask position with numpy : 0.0006968975067138672 nb_pixel_total : 16443 time to create 1 rle with old method : 0.019109010696411133 length of segment : 165 time for calcul the mask position with numpy : 0.0009832382202148438 nb_pixel_total : 34085 time to create 1 rle with old method : 0.04035162925720215 length of segment : 191 time for calcul the mask position with numpy : 0.003293275833129883 nb_pixel_total : 102410 time to create 1 rle with old method : 0.1154623031616211 length of segment : 478 time for calcul the mask position with numpy : 0.0007848739624023438 nb_pixel_total : 28233 time to create 1 rle with old method : 0.03313732147216797 length of segment : 337 time for calcul the mask position with numpy : 0.0006759166717529297 nb_pixel_total : 20704 time to create 1 rle with old method : 0.02490997314453125 length of segment : 169 time for calcul the mask position with numpy : 0.12404298782348633 nb_pixel_total : 2616218 time to create 1 rle with new method : 0.5271728038787842 length of segment : 3089 time for calcul the mask position with numpy : 0.00150299072265625 nb_pixel_total : 79359 time to create 1 rle with old method : 0.09119749069213867 length of segment : 392 time for calcul the mask position with numpy : 0.0026874542236328125 nb_pixel_total : 115204 time to create 1 rle with old method : 0.13554906845092773 length of segment : 583 time for calcul the mask position with numpy : 0.0007288455963134766 nb_pixel_total : 24695 time to create 1 rle with old method : 0.02760767936706543 length of segment : 260 time for calcul the mask position with numpy : 0.003233671188354492 nb_pixel_total : 156483 time to create 1 rle with new method : 0.005892038345336914 length of segment : 444 time for calcul the mask position with numpy : 0.02125239372253418 nb_pixel_total : 1149694 time to create 1 rle with new method : 0.3134775161743164 length of segment : 1354 time for calcul the mask position with numpy : 0.0021038055419921875 nb_pixel_total : 160670 time to create 1 rle with new method : 0.004132270812988281 length of segment : 468 time for calcul the mask position with numpy : 6.580352783203125e-05 nb_pixel_total : 1824 time to create 1 rle with old method : 0.002182483673095703 length of segment : 36 time for calcul the mask position with numpy : 0.0015475749969482422 nb_pixel_total : 62669 time to create 1 rle with old method : 0.07290220260620117 length of segment : 532 time for calcul the mask position with numpy : 0.0005257129669189453 nb_pixel_total : 23774 time to create 1 rle with old method : 0.0268251895904541 length of segment : 186 time for calcul the mask position with numpy : 0.002241849899291992 nb_pixel_total : 75890 time to create 1 rle with old method : 0.08233308792114258 length of segment : 596 time for calcul the mask position with numpy : 0.0011508464813232422 nb_pixel_total : 45885 time to create 1 rle with old method : 0.04946756362915039 length of segment : 372 time for calcul the mask position with numpy : 0.00033974647521972656 nb_pixel_total : 10674 time to create 1 rle with old method : 0.011653661727905273 length of segment : 192 time for calcul the mask position with numpy : 0.017276287078857422 nb_pixel_total : 709181 time to create 1 rle with new method : 0.07921433448791504 length of segment : 1502 time for calcul the mask position with numpy : 0.0016791820526123047 nb_pixel_total : 57984 time to create 1 rle with old method : 0.06383562088012695 length of segment : 373 time for calcul the mask position with numpy : 0.0042073726654052734 nb_pixel_total : 195463 time to create 1 rle with new method : 0.00607609748840332 length of segment : 510 time for calcul the mask position with numpy : 0.02201390266418457 nb_pixel_total : 974846 time to create 1 rle with new method : 0.07451295852661133 length of segment : 1548 time for calcul the mask position with numpy : 0.0007240772247314453 nb_pixel_total : 35850 time to create 1 rle with old method : 0.04221916198730469 length of segment : 239 time for calcul the mask position with numpy : 0.003580808639526367 nb_pixel_total : 139554 time to create 1 rle with old method : 0.1587672233581543 length of segment : 482 time for calcul the mask position with numpy : 0.0008323192596435547 nb_pixel_total : 49525 time to create 1 rle with old method : 0.06161689758300781 length of segment : 259 time for calcul the mask position with numpy : 9.822845458984375e-05 nb_pixel_total : 1824 time to create 1 rle with old method : 0.002457857131958008 length of segment : 61 time for calcul the mask position with numpy : 0.0025703907012939453 nb_pixel_total : 154344 time to create 1 rle with new method : 0.006076335906982422 length of segment : 762 time for calcul the mask position with numpy : 0.00012087821960449219 nb_pixel_total : 5884 time to create 1 rle with old method : 0.0070896148681640625 length of segment : 102 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 1624 time to create 1 rle with old method : 0.001996755599975586 length of segment : 55 time for calcul the mask position with numpy : 0.000240325927734375 nb_pixel_total : 13883 time to create 1 rle with old method : 0.016551733016967773 length of segment : 145 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 5453 time to create 1 rle with old method : 0.006914854049682617 length of segment : 62 time for calcul the mask position with numpy : 0.0010581016540527344 nb_pixel_total : 54917 time to create 1 rle with old method : 0.06555366516113281 length of segment : 282 time for calcul the mask position with numpy : 0.025157690048217773 nb_pixel_total : 1373316 time to create 1 rle with new method : 0.09675288200378418 length of segment : 2222 time for calcul the mask position with numpy : 0.0005435943603515625 nb_pixel_total : 23990 time to create 1 rle with old method : 0.02772831916809082 length of segment : 200 time for calcul the mask position with numpy : 0.00017261505126953125 nb_pixel_total : 4629 time to create 1 rle with old method : 0.005579710006713867 length of segment : 79 time for calcul the mask position with numpy : 0.0009639263153076172 nb_pixel_total : 34784 time to create 1 rle with old method : 0.04072928428649902 length of segment : 279 time for calcul the mask position with numpy : 0.0024671554565429688 nb_pixel_total : 123207 time to create 1 rle with old method : 0.13641953468322754 length of segment : 445 time for calcul the mask position with numpy : 0.026166200637817383 nb_pixel_total : 1138273 time to create 1 rle with new method : 0.21192264556884766 length of segment : 994 time for calcul the mask position with numpy : 0.00014662742614746094 nb_pixel_total : 3161 time to create 1 rle with old method : 0.0054111480712890625 length of segment : 153 time for calcul the mask position with numpy : 0.0004963874816894531 nb_pixel_total : 14531 time to create 1 rle with old method : 0.016505002975463867 length of segment : 132 time for calcul the mask position with numpy : 0.004808187484741211 nb_pixel_total : 107770 time to create 1 rle with old method : 0.12590789794921875 length of segment : 483 time for calcul the mask position with numpy : 0.00019478797912597656 nb_pixel_total : 2782 time to create 1 rle with old method : 0.0033915042877197266 length of segment : 91 time for calcul the mask position with numpy : 0.0002372264862060547 nb_pixel_total : 5841 time to create 1 rle with old method : 0.009032249450683594 length of segment : 92 time for calcul the mask position with numpy : 0.0014317035675048828 nb_pixel_total : 49446 time to create 1 rle with old method : 0.0757603645324707 length of segment : 297 time for calcul the mask position with numpy : 0.0015339851379394531 nb_pixel_total : 42708 time to create 1 rle with old method : 0.04857158660888672 length of segment : 313 time for calcul the mask position with numpy : 0.0018155574798583984 nb_pixel_total : 73340 time to create 1 rle with old method : 0.08581066131591797 length of segment : 336 time for calcul the mask position with numpy : 0.00023555755615234375 nb_pixel_total : 2188 time to create 1 rle with old method : 0.0027191638946533203 length of segment : 100 time for calcul the mask position with numpy : 0.0014214515686035156 nb_pixel_total : 54553 time to create 1 rle with old method : 0.06098628044128418 length of segment : 288 time for calcul the mask position with numpy : 0.0013489723205566406 nb_pixel_total : 52049 time to create 1 rle with old method : 0.05974245071411133 length of segment : 271 time for calcul the mask position with numpy : 0.00012350082397460938 nb_pixel_total : 954 time to create 1 rle with old method : 0.0012657642364501953 length of segment : 47 time for calcul the mask position with numpy : 0.001493215560913086 nb_pixel_total : 58404 time to create 1 rle with old method : 0.06698775291442871 length of segment : 360 time for calcul the mask position with numpy : 0.001478433609008789 nb_pixel_total : 50439 time to create 1 rle with old method : 0.05608344078063965 length of segment : 269 time for calcul the mask position with numpy : 0.0071375370025634766 nb_pixel_total : 324677 time to create 1 rle with new method : 0.01092839241027832 length of segment : 765 time for calcul the mask position with numpy : 0.0011315345764160156 nb_pixel_total : 39947 time to create 1 rle with old method : 0.04483509063720703 length of segment : 230 time for calcul the mask position with numpy : 0.000576019287109375 nb_pixel_total : 35475 time to create 1 rle with old method : 0.04006648063659668 length of segment : 213 time for calcul the mask position with numpy : 0.0008938312530517578 nb_pixel_total : 49682 time to create 1 rle with old method : 0.0568692684173584 length of segment : 303 time for calcul the mask position with numpy : 0.0010786056518554688 nb_pixel_total : 78655 time to create 1 rle with old method : 0.08649730682373047 length of segment : 379 time for calcul the mask position with numpy : 0.0024797916412353516 nb_pixel_total : 106717 time to create 1 rle with old method : 0.11368441581726074 length of segment : 366 time for calcul the mask position with numpy : 0.0020322799682617188 nb_pixel_total : 96439 time to create 1 rle with old method : 0.1043093204498291 length of segment : 310 time for calcul the mask position with numpy : 0.0016014575958251953 nb_pixel_total : 68064 time to create 1 rle with old method : 0.07472777366638184 length of segment : 328 time for calcul the mask position with numpy : 0.003971576690673828 nb_pixel_total : 176391 time to create 1 rle with new method : 0.006272315979003906 length of segment : 588 time for calcul the mask position with numpy : 0.0010900497436523438 nb_pixel_total : 22356 time to create 1 rle with old method : 0.025174379348754883 length of segment : 272 time for calcul the mask position with numpy : 0.006365299224853516 nb_pixel_total : 239093 time to create 1 rle with new method : 0.011727333068847656 length of segment : 680 time for calcul the mask position with numpy : 0.00042366981506347656 nb_pixel_total : 6716 time to create 1 rle with old method : 0.007730245590209961 length of segment : 175 time for calcul the mask position with numpy : 0.005116462707519531 nb_pixel_total : 197781 time to create 1 rle with new method : 0.008452177047729492 length of segment : 692 time for calcul the mask position with numpy : 0.00043654441833496094 nb_pixel_total : 18224 time to create 1 rle with old method : 0.02148270606994629 length of segment : 155 time for calcul the mask position with numpy : 0.0025022029876708984 nb_pixel_total : 96528 time to create 1 rle with old method : 0.10617995262145996 length of segment : 603 time for calcul the mask position with numpy : 0.0007102489471435547 nb_pixel_total : 34894 time to create 1 rle with old method : 0.03986835479736328 length of segment : 227 time for calcul the mask position with numpy : 0.0038480758666992188 nb_pixel_total : 99162 time to create 1 rle with old method : 0.1139824390411377 length of segment : 616 time for calcul the mask position with numpy : 0.00048279762268066406 nb_pixel_total : 20539 time to create 1 rle with old method : 0.02399730682373047 length of segment : 117 time for calcul the mask position with numpy : 0.0035331249237060547 nb_pixel_total : 242892 time to create 1 rle with new method : 0.00949406623840332 length of segment : 687 time for calcul the mask position with numpy : 0.002707958221435547 nb_pixel_total : 180771 time to create 1 rle with new method : 0.007181644439697266 length of segment : 795 time for calcul the mask position with numpy : 0.0004956722259521484 nb_pixel_total : 13051 time to create 1 rle with old method : 0.014313220977783203 length of segment : 138 time for calcul the mask position with numpy : 0.003542184829711914 nb_pixel_total : 150524 time to create 1 rle with new method : 0.004824161529541016 length of segment : 394 time for calcul the mask position with numpy : 0.0016543865203857422 nb_pixel_total : 41937 time to create 1 rle with old method : 0.046173095703125 length of segment : 296 time for calcul the mask position with numpy : 0.00400543212890625 nb_pixel_total : 154859 time to create 1 rle with new method : 0.005394697189331055 length of segment : 489 time for calcul the mask position with numpy : 0.007206916809082031 nb_pixel_total : 201318 time to create 1 rle with new method : 0.0106658935546875 length of segment : 605 time for calcul the mask position with numpy : 0.001764059066772461 nb_pixel_total : 76439 time to create 1 rle with old method : 0.0886077880859375 length of segment : 279 time for calcul the mask position with numpy : 0.0004851818084716797 nb_pixel_total : 10252 time to create 1 rle with old method : 0.011464357376098633 length of segment : 164 time for calcul the mask position with numpy : 0.0004832744598388672 nb_pixel_total : 11500 time to create 1 rle with old method : 0.01287221908569336 length of segment : 186 time for calcul the mask position with numpy : 0.0008885860443115234 nb_pixel_total : 35426 time to create 1 rle with old method : 0.03884100914001465 length of segment : 264 time for calcul the mask position with numpy : 0.0002970695495605469 nb_pixel_total : 5370 time to create 1 rle with old method : 0.005955219268798828 length of segment : 116 time for calcul the mask position with numpy : 0.0021924972534179688 nb_pixel_total : 79056 time to create 1 rle with old method : 0.0884547233581543 length of segment : 424 time for calcul the mask position with numpy : 0.0009458065032958984 nb_pixel_total : 24118 time to create 1 rle with old method : 0.0267641544342041 length of segment : 250 time for calcul the mask position with numpy : 0.002611875534057617 nb_pixel_total : 17051 time to create 1 rle with old method : 0.021173477172851562 length of segment : 457 time for calcul the mask position with numpy : 0.00029158592224121094 nb_pixel_total : 8124 time to create 1 rle with old method : 0.009056806564331055 length of segment : 115 time for calcul the mask position with numpy : 0.001466512680053711 nb_pixel_total : 46687 time to create 1 rle with old method : 0.05235552787780762 length of segment : 380 time for calcul the mask position with numpy : 0.005286693572998047 nb_pixel_total : 150354 time to create 1 rle with new method : 0.010600805282592773 length of segment : 722 time for calcul the mask position with numpy : 0.00019621849060058594 nb_pixel_total : 6810 time to create 1 rle with old method : 0.007877826690673828 length of segment : 110 time for calcul the mask position with numpy : 0.005160093307495117 nb_pixel_total : 193882 time to create 1 rle with new method : 0.009447336196899414 length of segment : 770 time for calcul the mask position with numpy : 0.0001900196075439453 nb_pixel_total : 6561 time to create 1 rle with old method : 0.007867574691772461 length of segment : 103 time for calcul the mask position with numpy : 0.006002902984619141 nb_pixel_total : 177747 time to create 1 rle with new method : 0.010474920272827148 length of segment : 681 time for calcul the mask position with numpy : 0.0028100013732910156 nb_pixel_total : 165481 time to create 1 rle with new method : 0.0077741146087646484 length of segment : 665 time for calcul the mask position with numpy : 0.0017268657684326172 nb_pixel_total : 98083 time to create 1 rle with old method : 0.12511348724365234 length of segment : 334 time for calcul the mask position with numpy : 0.0007956027984619141 nb_pixel_total : 39098 time to create 1 rle with old method : 0.04495739936828613 length of segment : 229 time for calcul the mask position with numpy : 0.002645730972290039 nb_pixel_total : 224785 time to create 1 rle with new method : 0.0041294097900390625 length of segment : 403 time for calcul the mask position with numpy : 0.215653657913208 nb_pixel_total : 4289479 time to create 1 rle with new method : 0.5665438175201416 length of segment : 3942 time for calcul the mask position with numpy : 0.011776924133300781 nb_pixel_total : 812196 time to create 1 rle with new method : 0.07478046417236328 length of segment : 1568 time for calcul the mask position with numpy : 0.0017311573028564453 nb_pixel_total : 65683 time to create 1 rle with old method : 0.07099103927612305 length of segment : 443 time for calcul the mask position with numpy : 0.01687145233154297 nb_pixel_total : 686270 time to create 1 rle with new method : 0.14182329177856445 length of segment : 1020 time for calcul the mask position with numpy : 0.0013320446014404297 nb_pixel_total : 50947 time to create 1 rle with old method : 0.060701847076416016 length of segment : 340 time for calcul the mask position with numpy : 0.00021505355834960938 nb_pixel_total : 3693 time to create 1 rle with old method : 0.004422187805175781 length of segment : 80 time for calcul the mask position with numpy : 0.01446986198425293 nb_pixel_total : 525588 time to create 1 rle with new method : 0.05483078956604004 length of segment : 891 time for calcul the mask position with numpy : 0.00032520294189453125 nb_pixel_total : 6846 time to create 1 rle with old method : 0.008006095886230469 length of segment : 112 time for calcul the mask position with numpy : 0.0001361370086669922 nb_pixel_total : 1844 time to create 1 rle with old method : 0.002324342727661133 length of segment : 55 time for calcul the mask position with numpy : 0.003076314926147461 nb_pixel_total : 241204 time to create 1 rle with new method : 0.006633758544921875 length of segment : 1013 time for calcul the mask position with numpy : 0.0013446807861328125 nb_pixel_total : 45216 time to create 1 rle with old method : 0.05067086219787598 length of segment : 266 time for calcul the mask position with numpy : 0.0006399154663085938 nb_pixel_total : 16608 time to create 1 rle with old method : 0.019060611724853516 length of segment : 162 time for calcul the mask position with numpy : 0.0028204917907714844 nb_pixel_total : 56058 time to create 1 rle with old method : 0.06643533706665039 length of segment : 454 time for calcul the mask position with numpy : 0.0024709701538085938 nb_pixel_total : 97129 time to create 1 rle with old method : 0.1088860034942627 length of segment : 490 time for calcul the mask position with numpy : 0.0010302066802978516 nb_pixel_total : 28242 time to create 1 rle with old method : 0.04439353942871094 length of segment : 252 time for calcul the mask position with numpy : 0.0042002201080322266 nb_pixel_total : 172476 time to create 1 rle with new method : 0.007445812225341797 length of segment : 799 time for calcul the mask position with numpy : 0.0016093254089355469 nb_pixel_total : 101808 time to create 1 rle with old method : 0.10943317413330078 length of segment : 485 time for calcul the mask position with numpy : 0.0009326934814453125 nb_pixel_total : 27764 time to create 1 rle with old method : 0.03095245361328125 length of segment : 176 time spent for convertir_results : 21.849905490875244 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 155 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 66477 save missing photos in datou_result : time spend for datou_step_exec : 71.0487334728241 time spend to save output : 9.158167123794556 total time spend for step 1 : 80.20690059661865 step2:crop_condition Thu Mar 13 19:59:51 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 155 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 27 About to insert : list_path_to_insert length 27 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 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 ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 41 About to insert : list_path_to_insert length 41 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 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 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 [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] Looping around the photos to save general results len do output : 91 /-3708316304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316377Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316395Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316396Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710294328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316397Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3708316443Didn'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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 283 time used for this insertion : 0.03826761245727539 save_final save missing photos in datou_result : time spend for datou_step_exec : 45.64597415924072 time spend to save output : 0.04052090644836426 total time spend for step 2 : 45.68649506568909 step3:thcl Thu Mar 13 20:00:36 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.042621612548828125 time to convert the images to numpy array : 0.07655572891235352 time to import caffe and check if the image exist : 0.004249095916748047 time to convert the images to numpy array : 0.12103843688964844 time to import caffe and check if the image exist : 0.0030698776245117188 time to convert the images to numpy array : 1.5973141193389893 time to import caffe and check if the image exist : 0.019084930419921875 time to convert the images to numpy array : 1.652296781539917 time to import caffe and check if the image exist : 0.0014615058898925781 time to convert the images to numpy array : 1.9659790992736816 time to import caffe and check if the image exist : 0.0003390312194824219 time to convert the images to numpy array : 1.9713377952575684 time to import caffe and check if the image exist : 0.07024931907653809 time to convert the images to numpy array : 1.9174883365631104 time to import caffe and check if the image exist : 0.008428573608398438 time to convert the images to numpy array : 1.9735214710235596 time to import caffe and check if the image exist : 0.017632722854614258 time to convert the images to numpy array : 1.9773743152618408 time to import caffe and check if the image exist : 0.02576470375061035 time to convert the images to numpy array : 2.310121774673462 total time to convert the images to numpy array : 2.586754560470581 list photo_ids error: [] list photo_ids correct : [-3708316443, -3708316331, -3708316344, -3708316355, -3708316352, -3708316356, -3708316376, -3708316379, -3708316401, -3708316397, -3708316417, -3708316318, -3708316317, -3708316311, -3708316321, -3708316315, -3708316314, -3708316303, -3708316308, -3708316322, -3708316310, -3710294322, -3708316424, -3708316445, -3708316438, -3708316450, -3708316449, -3708316451, -3710294327, -3710294328, -3708316444, -3708316325, -3708316336, -3708316377, -3708316395, -3708316403, -3708316399, -3708316400, -3708316410, -3708316418, -3710294320, -3708316316, -3708316346, -3708316393, -3710294319, -3710294321, -3708316419, -3708316421, -3708316429, -3708316420, -3708316320, -3708316304, -3708316312, -3708316300, -3708316305, -3708316302, -3708316313, -3708316333, -3708316324, -3708316328, -3708316330, -3708316386, -3708316389, -3710294317, -3710294318, -3708316388, -3708316390, -3708316398, -3708316396, -3708316405, -3708316404, -3708316412, -3708316422, -3708316411, -3708316432, -3710294323, -3710294324, -3708316441, -3708316326, -3708316406, -3708316408, -3708316306, -3708316332, -3708316329, -3708316345, -3708316348, -3708316338, -3708316342, -3708316358, -3708316357, -3708316381] number of photos to traite : 91 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 : 9216 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 : 8997 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3412013053894043 time used to do the prediction : 0.2723267078399658 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 : 8460 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 : 3706 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.4534425735473633 time used to do the prediction : 0.17058110237121582 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.3126602172851562e-05 save missing photos in datou_result : time spend for datou_step_exec : 12.68591833114624 time spend to save output : 0.0008428096771240234 total time spend for step 3 : 12.686761140823364 step4:merge_mask_thcl_custom Thu Mar 13 20:00: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 ! 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 155 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 [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] Looping around the photos to save general results len do output : 10 /1343636474Didn't retrieve data .Didn't retrieve data . /1343492231Didn't retrieve data .Didn't retrieve data . /1343492197Didn't retrieve data .Didn't retrieve data . /1343491261Didn't retrieve data .Didn't retrieve data . /1343490989Didn't retrieve data .Didn't retrieve data . /1343490108Didn't retrieve data .Didn't retrieve data . /1343490082Didn't retrieve data .Didn't retrieve data . /1343489987Didn't retrieve data .Didn't retrieve data . /1343489957Didn't retrieve data .Didn't retrieve data . /1343489668Didn'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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01517033576965332 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15467548370361328 time spend to save output : 0.015743255615234375 total time spend for step 4 : 0.17041873931884766 step5:rle_unique_nms_with_priority Thu Mar 13 20:00: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 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 : 5 nb_hashtags : 1 time to prepare the origin masks : 4.600845813751221 time for calcul the mask position with numpy : 0.5739955902099609 nb_pixel_total : 3310377 time to create 1 rle with new method : 0.4293797016143799 time for calcul the mask position with numpy : 0.023375272750854492 nb_pixel_total : 247916 time to create 1 rle with new method : 0.7141966819763184 time for calcul the mask position with numpy : 0.0373077392578125 nb_pixel_total : 71637 time to create 1 rle with old method : 0.0881044864654541 time for calcul the mask position with numpy : 0.0435032844543457 nb_pixel_total : 18118 time to create 1 rle with old method : 0.02106928825378418 time for calcul the mask position with numpy : 0.03166937828063965 nb_pixel_total : 2003 time to create 1 rle with old method : 0.0028972625732421875 time for calcul the mask position with numpy : 0.23276448249816895 nb_pixel_total : 3400189 time to create 1 rle with new method : 0.8537845611572266 create new chi : 3.149857759475708 time to delete rle : 0.019160747528076172 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 13331 TO DO : save crop sub photo not yet done ! save time : 1.986201286315918 nb_obj : 23 nb_hashtags : 7 time to prepare the origin masks : 14.094832181930542 time for calcul the mask position with numpy : 0.4563174247741699 nb_pixel_total : 6236615 time to create 1 rle with new method : 0.39280080795288086 time for calcul the mask position with numpy : 0.029265880584716797 nb_pixel_total : 49336 time to create 1 rle with old method : 0.06546211242675781 time for calcul the mask position with numpy : 0.024622678756713867 nb_pixel_total : 46101 time to create 1 rle with old method : 0.06424880027770996 time for calcul the mask position with numpy : 0.025482892990112305 nb_pixel_total : 19431 time to create 1 rle with old method : 0.026677608489990234 time for calcul the mask position with numpy : 0.025012731552124023 nb_pixel_total : 11 time to create 1 rle with old method : 4.696846008300781e-05 time for calcul the mask position with numpy : 0.02383732795715332 nb_pixel_total : 38375 time to create 1 rle with old method : 0.04631781578063965 time for calcul the mask position with numpy : 0.028182506561279297 nb_pixel_total : 20068 time to create 1 rle with old method : 0.023955106735229492 time for calcul the mask position with numpy : 0.02313709259033203 nb_pixel_total : 18020 time to create 1 rle with old method : 0.02110004425048828 time for calcul the mask position with numpy : 0.023985624313354492 nb_pixel_total : 101891 time to create 1 rle with old method : 0.1191561222076416 time for calcul the mask position with numpy : 0.023003101348876953 nb_pixel_total : 1273 time to create 1 rle with old method : 0.0018618106842041016 time for calcul the mask position with numpy : 0.022515296936035156 nb_pixel_total : 96920 time to create 1 rle with old method : 0.11277174949645996 time for calcul the mask position with numpy : 0.028632402420043945 nb_pixel_total : 60260 time to create 1 rle with old method : 0.07027840614318848 time for calcul the mask position with numpy : 0.029410123825073242 nb_pixel_total : 58924 time to create 1 rle with old method : 0.07943844795227051 time for calcul the mask position with numpy : 0.02891087532043457 nb_pixel_total : 3194 time to create 1 rle with old method : 0.005301713943481445 time for calcul the mask position with numpy : 0.028202056884765625 nb_pixel_total : 49356 time to create 1 rle with old method : 0.056450843811035156 time for calcul the mask position with numpy : 0.02961897850036621 nb_pixel_total : 1423 time to create 1 rle with old method : 0.0017828941345214844 time for calcul the mask position with numpy : 0.030843257904052734 nb_pixel_total : 16315 time to create 1 rle with old method : 0.01958489418029785 time for calcul the mask position with numpy : 0.02887701988220215 nb_pixel_total : 85629 time to create 1 rle with old method : 0.10052752494812012 time for calcul the mask position with numpy : 0.032086849212646484 nb_pixel_total : 32616 time to create 1 rle with old method : 0.03818845748901367 time for calcul the mask position with numpy : 0.029809951782226562 nb_pixel_total : 52467 time to create 1 rle with old method : 0.06317257881164551 time for calcul the mask position with numpy : 0.0318448543548584 nb_pixel_total : 13435 time to create 1 rle with old method : 0.01556253433227539 time for calcul the mask position with numpy : 0.027480363845825195 nb_pixel_total : 263 time to create 1 rle with old method : 0.0006520748138427734 time for calcul the mask position with numpy : 0.030819416046142578 nb_pixel_total : 28413 time to create 1 rle with old method : 0.033530235290527344 time for calcul the mask position with numpy : 0.029364585876464844 nb_pixel_total : 19904 time to create 1 rle with old method : 0.023560523986816406 create new chi : 2.51782488822937 time to delete rle : 0.0020570755004882812 batch 1 Loaded 26 chid ids of type : 3726 Number RLEs to save : 14671 TO DO : save crop sub photo not yet done ! save time : 2.696646213531494 nb_obj : 11 nb_hashtags : 8 time to prepare the origin masks : 9.67600393295288 time for calcul the mask position with numpy : 0.32211780548095703 nb_pixel_total : 2785644 time to create 1 rle with new method : 0.5207619667053223 time for calcul the mask position with numpy : 0.04383063316345215 nb_pixel_total : 93723 time to create 1 rle with old method : 0.10724163055419922 time for calcul the mask position with numpy : 0.042804718017578125 nb_pixel_total : 2772 time to create 1 rle with old method : 0.0037491321563720703 time for calcul the mask position with numpy : 0.09189605712890625 nb_pixel_total : 159750 time to create 1 rle with new method : 0.5706474781036377 time for calcul the mask position with numpy : 0.04103207588195801 nb_pixel_total : 1794 time to create 1 rle with old method : 0.0022187232971191406 time for calcul the mask position with numpy : 0.05896186828613281 nb_pixel_total : 1066291 time to create 1 rle with new method : 0.526519775390625 time for calcul the mask position with numpy : 0.030260086059570312 nb_pixel_total : 116528 time to create 1 rle with old method : 0.13306665420532227 time for calcul the mask position with numpy : 0.02837371826171875 nb_pixel_total : 79225 time to create 1 rle with old method : 0.09876561164855957 time for calcul the mask position with numpy : 0.0413966178894043 nb_pixel_total : 24649 time to create 1 rle with old method : 0.02839827537536621 time for calcul the mask position with numpy : 0.04152560234069824 nb_pixel_total : 8129 time to create 1 rle with old method : 0.009739875793457031 time for calcul the mask position with numpy : 0.23137831687927246 nb_pixel_total : 2683560 time to create 1 rle with new method : 0.6893341541290283 time for calcul the mask position with numpy : 0.03624534606933594 nb_pixel_total : 28175 time to create 1 rle with old method : 0.032448530197143555 create new chi : 3.8584656715393066 time to delete rle : 0.0016489028930664062 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 14922 TO DO : save crop sub photo not yet done ! save time : 1.000549077987671 nb_obj : 15 nb_hashtags : 6 time to prepare the origin masks : 7.650232553482056 time for calcul the mask position with numpy : 0.13942694664001465 nb_pixel_total : 4528311 time to create 1 rle with new method : 0.28942441940307617 time for calcul the mask position with numpy : 0.023871660232543945 nb_pixel_total : 45575 time to create 1 rle with old method : 0.0541837215423584 time for calcul the mask position with numpy : 0.02069878578186035 nb_pixel_total : 1615 time to create 1 rle with old method : 0.0018978118896484375 time for calcul the mask position with numpy : 0.021533727645874023 nb_pixel_total : 49430 time to create 1 rle with old method : 0.06448793411254883 time for calcul the mask position with numpy : 0.02406001091003418 nb_pixel_total : 34406 time to create 1 rle with old method : 0.045221805572509766 time for calcul the mask position with numpy : 0.026833772659301758 nb_pixel_total : 1803 time to create 1 rle with old method : 0.002797842025756836 time for calcul the mask position with numpy : 0.025027036666870117 nb_pixel_total : 194877 time to create 1 rle with new method : 0.28905415534973145 time for calcul the mask position with numpy : 0.02342820167541504 nb_pixel_total : 139592 time to create 1 rle with old method : 0.173600435256958 time for calcul the mask position with numpy : 0.03402566909790039 nb_pixel_total : 964844 time to create 1 rle with new method : 0.434093713760376 time for calcul the mask position with numpy : 0.022708892822265625 nb_pixel_total : 153491 time to create 1 rle with new method : 0.3702120780944824 time for calcul the mask position with numpy : 0.03915524482727051 nb_pixel_total : 23611 time to create 1 rle with old method : 0.03111553192138672 time for calcul the mask position with numpy : 0.03362083435058594 nb_pixel_total : 57715 time to create 1 rle with old method : 0.07048487663269043 time for calcul the mask position with numpy : 0.04033327102661133 nb_pixel_total : 709229 time to create 1 rle with new method : 0.3222634792327881 time for calcul the mask position with numpy : 0.03270435333251953 nb_pixel_total : 7367 time to create 1 rle with old method : 0.008980035781860352 time for calcul the mask position with numpy : 0.032903432846069336 nb_pixel_total : 75711 time to create 1 rle with old method : 0.08937621116638184 time for calcul the mask position with numpy : 0.03714442253112793 nb_pixel_total : 62663 time to create 1 rle with old method : 0.07159638404846191 create new chi : 3.0319101810455322 time to delete rle : 0.0016727447509765625 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 17082 TO DO : save crop sub photo not yet done ! save time : 5.1146626472473145 nb_obj : 9 nb_hashtags : 5 time to prepare the origin masks : 6.208375692367554 time for calcul the mask position with numpy : 0.30738353729248047 nb_pixel_total : 4299961 time to create 1 rle with new method : 0.43416714668273926 time for calcul the mask position with numpy : 0.030474424362182617 nb_pixel_total : 34645 time to create 1 rle with old method : 0.04130721092224121 time for calcul the mask position with numpy : 0.029369592666625977 nb_pixel_total : 3311 time to create 1 rle with old method : 0.004521608352661133 time for calcul the mask position with numpy : 0.030686616897583008 nb_pixel_total : 5435 time to create 1 rle with old method : 0.008303165435791016 time for calcul the mask position with numpy : 0.029759883880615234 nb_pixel_total : 3137 time to create 1 rle with old method : 0.004411935806274414 time for calcul the mask position with numpy : 0.04439234733581543 nb_pixel_total : 1132700 time to create 1 rle with new method : 0.4214057922363281 time for calcul the mask position with numpy : 0.03003692626953125 nb_pixel_total : 23917 time to create 1 rle with old method : 0.029424667358398438 time for calcul the mask position with numpy : 0.028054475784301758 nb_pixel_total : 122930 time to create 1 rle with old method : 0.1462552547454834 time for calcul the mask position with numpy : 0.08787417411804199 nb_pixel_total : 1368737 time to create 1 rle with new method : 0.4251391887664795 time for calcul the mask position with numpy : 0.030659198760986328 nb_pixel_total : 55467 time to create 1 rle with old method : 0.06835675239562988 create new chi : 2.3349967002868652 time to delete rle : 0.001531839370727539 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 11460 TO DO : save crop sub photo not yet done ! save time : 1.6790642738342285 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 8.658325672149658 time for calcul the mask position with numpy : 0.5079338550567627 nb_pixel_total : 6221098 time to create 1 rle with new method : 0.6452198028564453 time for calcul the mask position with numpy : 0.028283357620239258 nb_pixel_total : 107626 time to create 1 rle with old method : 0.12447333335876465 time for calcul the mask position with numpy : 0.03128814697265625 nb_pixel_total : 323987 time to create 1 rle with new method : 0.6837642192840576 time for calcul the mask position with numpy : 0.04513669013977051 nb_pixel_total : 42656 time to create 1 rle with old method : 0.06277227401733398 time for calcul the mask position with numpy : 0.047438621520996094 nb_pixel_total : 1668 time to create 1 rle with old method : 0.0020987987518310547 time for calcul the mask position with numpy : 0.0393979549407959 nb_pixel_total : 14460 time to create 1 rle with old method : 0.017885684967041016 time for calcul the mask position with numpy : 0.04580402374267578 nb_pixel_total : 54385 time to create 1 rle with old method : 0.06408429145812988 time for calcul the mask position with numpy : 0.04201483726501465 nb_pixel_total : 51950 time to create 1 rle with old method : 0.05915188789367676 time for calcul the mask position with numpy : 0.03794145584106445 nb_pixel_total : 949 time to create 1 rle with old method : 0.0012392997741699219 time for calcul the mask position with numpy : 0.03937721252441406 nb_pixel_total : 58300 time to create 1 rle with old method : 0.06729984283447266 time for calcul the mask position with numpy : 0.04181933403015137 nb_pixel_total : 2162 time to create 1 rle with old method : 0.0025222301483154297 time for calcul the mask position with numpy : 0.04257607460021973 nb_pixel_total : 49317 time to create 1 rle with old method : 0.05723214149475098 time for calcul the mask position with numpy : 0.04296731948852539 nb_pixel_total : 39739 time to create 1 rle with old method : 0.04695558547973633 time for calcul the mask position with numpy : 0.031533002853393555 nb_pixel_total : 2769 time to create 1 rle with old method : 0.0034208297729492188 time for calcul the mask position with numpy : 0.026904582977294922 nb_pixel_total : 553 time to create 1 rle with old method : 0.0009412765502929688 time for calcul the mask position with numpy : 0.026662111282348633 nb_pixel_total : 78621 time to create 1 rle with old method : 0.08980989456176758 create new chi : 3.0957298278808594 time to delete rle : 0.0011336803436279297 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 9962 TO DO : save crop sub photo not yet done ! save time : 5.389174222946167 nb_obj : 14 nb_hashtags : 7 time to prepare the origin masks : 11.795340061187744 time for calcul the mask position with numpy : 0.3143634796142578 nb_pixel_total : 5860995 time to create 1 rle with new method : 0.7509074211120605 time for calcul the mask position with numpy : 0.03607606887817383 nb_pixel_total : 67790 time to create 1 rle with old method : 0.07929682731628418 time for calcul the mask position with numpy : 0.03600192070007324 nb_pixel_total : 6699 time to create 1 rle with old method : 0.008287906646728516 time for calcul the mask position with numpy : 0.03141069412231445 nb_pixel_total : 34704 time to create 1 rle with old method : 0.04006671905517578 time for calcul the mask position with numpy : 0.03541851043701172 nb_pixel_total : 106570 time to create 1 rle with old method : 0.1220703125 time for calcul the mask position with numpy : 0.041776180267333984 nb_pixel_total : 2280 time to create 1 rle with old method : 0.003268718719482422 time for calcul the mask position with numpy : 0.030994415283203125 nb_pixel_total : 18200 time to create 1 rle with old method : 0.021492958068847656 time for calcul the mask position with numpy : 0.03426814079284668 nb_pixel_total : 20497 time to create 1 rle with old method : 0.02464890480041504 time for calcul the mask position with numpy : 0.038307905197143555 nb_pixel_total : 96150 time to create 1 rle with old method : 0.1218099594116211 time for calcul the mask position with numpy : 0.05142712593078613 nb_pixel_total : 242594 time to create 1 rle with new method : 0.9956514835357666 time for calcul the mask position with numpy : 0.03759169578552246 nb_pixel_total : 175991 time to create 1 rle with new method : 1.0559813976287842 time for calcul the mask position with numpy : 0.03499746322631836 nb_pixel_total : 197501 time to create 1 rle with new method : 2.02703595161438 time for calcul the mask position with numpy : 0.03721046447753906 nb_pixel_total : 22298 time to create 1 rle with old method : 0.026900291442871094 time for calcul the mask position with numpy : 0.03330540657043457 nb_pixel_total : 99449 time to create 1 rle with old method : 0.11445164680480957 time for calcul the mask position with numpy : 0.0328369140625 nb_pixel_total : 98522 time to create 1 rle with old method : 0.12108445167541504 create new chi : 6.512651205062866 time to delete rle : 0.0030028820037841797 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 12748 TO DO : save crop sub photo not yet done ! save time : 1.070502758026123 nb_obj : 16 nb_hashtags : 7 time to prepare the origin masks : 12.821041107177734 time for calcul the mask position with numpy : 0.6962392330169678 nb_pixel_total : 5995571 time to create 1 rle with new method : 0.5833706855773926 time for calcul the mask position with numpy : 0.03509402275085449 nb_pixel_total : 49806 time to create 1 rle with old method : 0.06014537811279297 time for calcul the mask position with numpy : 0.039819955825805664 nb_pixel_total : 155391 time to create 1 rle with new method : 0.5959057807922363 time for calcul the mask position with numpy : 0.03567004203796387 nb_pixel_total : 177749 time to create 1 rle with new method : 0.5774786472320557 time for calcul the mask position with numpy : 0.035115718841552734 nb_pixel_total : 7972 time to create 1 rle with old method : 0.010356903076171875 time for calcul the mask position with numpy : 0.034768104553222656 nb_pixel_total : 78897 time to create 1 rle with old method : 0.09834980964660645 time for calcul the mask position with numpy : 0.03495359420776367 nb_pixel_total : 35281 time to create 1 rle with old method : 0.041403770446777344 time for calcul the mask position with numpy : 0.03417372703552246 nb_pixel_total : 24061 time to create 1 rle with old method : 0.029453039169311523 time for calcul the mask position with numpy : 0.03431296348571777 nb_pixel_total : 13017 time to create 1 rle with old method : 0.015157699584960938 time for calcul the mask position with numpy : 0.038562774658203125 nb_pixel_total : 41625 time to create 1 rle with old method : 0.048081159591674805 time for calcul the mask position with numpy : 0.0351414680480957 nb_pixel_total : 5342 time to create 1 rle with old method : 0.0065593719482421875 time for calcul the mask position with numpy : 0.03527665138244629 nb_pixel_total : 200383 time to create 1 rle with new method : 0.6913015842437744 time for calcul the mask position with numpy : 0.03428339958190918 nb_pixel_total : 11450 time to create 1 rle with old method : 0.013733148574829102 time for calcul the mask position with numpy : 0.033983469009399414 nb_pixel_total : 10360 time to create 1 rle with old method : 0.012803077697753906 time for calcul the mask position with numpy : 0.04013180732727051 nb_pixel_total : 150131 time to create 1 rle with new method : 0.7526209354400635 time for calcul the mask position with numpy : 0.027360200881958008 nb_pixel_total : 76220 time to create 1 rle with old method : 0.08880305290222168 time for calcul the mask position with numpy : 0.02512192726135254 nb_pixel_total : 16984 time to create 1 rle with old method : 0.027642250061035156 create new chi : 5.0397491455078125 time to delete rle : 0.0024728775024414062 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 12442 TO DO : save crop sub photo not yet done ! save time : 1.6042413711547852 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 5.7132604122161865 time for calcul the mask position with numpy : 0.10446858406066895 nb_pixel_total : 2232041 time to create 1 rle with new method : 0.6117978096008301 time for calcul the mask position with numpy : 0.036791324615478516 nb_pixel_total : 223350 time to create 1 rle with new method : 0.6873981952667236 time for calcul the mask position with numpy : 0.034888505935668945 nb_pixel_total : 38996 time to create 1 rle with old method : 0.05138444900512695 time for calcul the mask position with numpy : 0.03632712364196777 nb_pixel_total : 9546 time to create 1 rle with old method : 0.012186288833618164 time for calcul the mask position with numpy : 0.036559104919433594 nb_pixel_total : 142407 time to create 1 rle with old method : 0.18825101852416992 time for calcul the mask position with numpy : 0.03731274604797363 nb_pixel_total : 85931 time to create 1 rle with old method : 0.09936118125915527 time for calcul the mask position with numpy : 0.03499269485473633 nb_pixel_total : 16684 time to create 1 rle with old method : 0.02208685874938965 time for calcul the mask position with numpy : 0.2228851318359375 nb_pixel_total : 4301285 time to create 1 rle with new method : 0.5073220729827881 create new chi : 2.8119940757751465 time to delete rle : 0.0017366409301757812 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 17676 TO DO : save crop sub photo not yet done ! save time : 1.3767895698547363 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 7.8621299266815186 time for calcul the mask position with numpy : 0.5523014068603516 nb_pixel_total : 5154287 time to create 1 rle with new method : 0.7850587368011475 time for calcul the mask position with numpy : 0.03294730186462402 nb_pixel_total : 28164 time to create 1 rle with old method : 0.03367257118225098 time for calcul the mask position with numpy : 0.047838449478149414 nb_pixel_total : 110477 time to create 1 rle with old method : 0.13047385215759277 time for calcul the mask position with numpy : 0.03523111343383789 nb_pixel_total : 6838 time to create 1 rle with old method : 0.0075740814208984375 time for calcul the mask position with numpy : 0.03299260139465332 nb_pixel_total : 50814 time to create 1 rle with old method : 0.05661177635192871 time for calcul the mask position with numpy : 0.03312969207763672 nb_pixel_total : 45146 time to create 1 rle with old method : 0.052642822265625 time for calcul the mask position with numpy : 0.03343558311462402 nb_pixel_total : 56269 time to create 1 rle with old method : 0.06367683410644531 time for calcul the mask position with numpy : 0.03325366973876953 nb_pixel_total : 1832 time to create 1 rle with old method : 0.0022306442260742188 time for calcul the mask position with numpy : 0.05679059028625488 nb_pixel_total : 524211 time to create 1 rle with new method : 0.7090511322021484 time for calcul the mask position with numpy : 0.03450489044189453 nb_pixel_total : 101646 time to create 1 rle with old method : 0.11388707160949707 time for calcul the mask position with numpy : 0.03481173515319824 nb_pixel_total : 27646 time to create 1 rle with old method : 0.0440363883972168 time for calcul the mask position with numpy : 0.0367434024810791 nb_pixel_total : 3684 time to create 1 rle with old method : 0.004445314407348633 time for calcul the mask position with numpy : 0.04046511650085449 nb_pixel_total : 686025 time to create 1 rle with new method : 0.4952201843261719 time for calcul the mask position with numpy : 0.035019636154174805 nb_pixel_total : 65347 time to create 1 rle with old method : 0.11111903190612793 time for calcul the mask position with numpy : 0.030447959899902344 nb_pixel_total : 16542 time to create 1 rle with old method : 0.019278287887573242 time for calcul the mask position with numpy : 0.030057907104492188 nb_pixel_total : 171312 time to create 1 rle with new method : 0.6658229827880859 create new chi : 4.500476121902466 time to delete rle : 0.0023190975189208984 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 14345 TO DO : save crop sub photo not yet done ! save time : 1.2027413845062256 map_output_result : {1343636474: (0.0, 'Should be the crop_list due to order', 0), 1343492231: (0.0, 'Should be the crop_list due to order', 0), 1343492197: (0.0, 'Should be the crop_list due to order', 0), 1343491261: (0.0, 'Should be the crop_list due to order', 0), 1343490989: (0.0, 'Should be the crop_list due to order', 0), 1343490108: (0.0, 'Should be the crop_list due to order', 0), 1343490082: (0.0, 'Should be the crop_list due to order', 0), 1343489987: (0.0, 'Should be the crop_list due to order', 0), 1343489957: (0.0, 'Should be the crop_list due to order', 0), 1343489668: (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 [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] Looping around the photos to save general results len do output : 10 /1343636474.Didn't retrieve data . /1343492231.Didn't retrieve data . /1343492197.Didn't retrieve data . /1343491261.Didn't retrieve data . /1343490989.Didn't retrieve data . /1343490108.Didn't retrieve data . /1343490082.Didn't retrieve data . /1343489987.Didn't retrieve data . /1343489957.Didn't retrieve data . /1343489668.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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014653921127319336 save_final save missing photos in datou_result : time spend for datou_step_exec : 150.67211627960205 time spend to save output : 0.020502090454101562 total time spend for step 5 : 150.69261837005615 step6:crop_condition Thu Mar 13 20:03:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 154 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 ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 4869462 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741892604_123043 we have uploaded 11 photos in the portfolio 4869462 time of upload the photos Elapsed time : 8.277877569198608 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 ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741892617_123043 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7664332389831543 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741892622_123043 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 5.327258348464966 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 ! 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/1741892629_123043 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0711417198181152 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 4869462 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741892634_123043 we have uploaded 11 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.948209285736084 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 ! 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/1741892643_123043 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7958168983459473 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 ! 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/1741892646_123043 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.64603590965271 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 [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] Looping around the photos to save general results len do output : 38 /1343887485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343887974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343888023Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343888024Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343888055Didn'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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 124 time used for this insertion : 0.0338284969329834 save_final save missing photos in datou_result : time spend for datou_step_exec : 47.82308602333069 time spend to save output : 0.03523993492126465 total time spend for step 6 : 47.85832595825195 step7:ventilate_hashtags_in_portfolio Thu Mar 13 20:04:08 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 : 21390193 get user id for portfolio 21390193 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`=21390193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','cartonnette','mal_croppe','flou','plastique','metal','Carton_brun','Teint_Dans_La_Masse','Carton_gris','kraft','environnement')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") 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`=21390193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','cartonnette','mal_croppe','flou','plastique','metal','Carton_brun','Teint_Dans_La_Masse','Carton_gris','kraft','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21390616,21390617,21390618,21390619,21390620,21390621,21390622,21390623,21390624,21390625,21390626,21390627?tags=Carton_brun,plastique,metal,Carton_gris,kraft,autre_refus,papier,mal_croppe,cartonnette,environnement,flou,Teint_Dans_La_Masse Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] Looping around the photos to save general results len do output : 1 /21390193. 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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013701915740966797 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.7200114727020264 time spend to save output : 0.013945341110229492 total time spend for step 7 : 2.733956813812256 step8:final Thu Mar 13 20:04: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 ! 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 : {1343636474: ('0.08058617722228772',), 1343492231: ('0.08058617722228772',), 1343492197: ('0.08058617722228772',), 1343491261: ('0.08058617722228772',), 1343490989: ('0.08058617722228772',), 1343490108: ('0.08058617722228772',), 1343490082: ('0.08058617722228772',), 1343489987: ('0.08058617722228772',), 1343489957: ('0.08058617722228772',), 1343489668: ('0.08058617722228772',)} new output for save of step final : {1343636474: ('0.08058617722228772',), 1343492231: ('0.08058617722228772',), 1343492197: ('0.08058617722228772',), 1343491261: ('0.08058617722228772',), 1343490989: ('0.08058617722228772',), 1343490108: ('0.08058617722228772',), 1343490082: ('0.08058617722228772',), 1343489987: ('0.08058617722228772',), 1343489957: ('0.08058617722228772',), 1343489668: ('0.08058617722228772',)} [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] Looping around the photos to save general results len do output : 10 /1343636474.Didn't retrieve data . /1343492231.Didn't retrieve data . /1343492197.Didn't retrieve data . /1343491261.Didn't retrieve data . /1343490989.Didn't retrieve data . /1343490108.Didn't retrieve data . /1343490082.Didn't retrieve data . /1343489987.Didn't retrieve data . /1343489957.Didn't retrieve data . /1343489668.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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01187443733215332 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10737180709838867 time spend to save output : 0.012630701065063477 total time spend for step 8 : 0.12000250816345215 step9:velours_tree Thu Mar 13 20:04: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 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.22019100189208984 time spend to save output : 4.935264587402344e-05 total time spend for step 9 : 0.22024035453796387 step10:send_mail_cod Thu Mar 13 20:04:11 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_P21390193_13-03-2025_20_04_11.pdf 21390617 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 .imagette213906171741892651 21390618 imagette213906181741892652 21390620 change filename to text .change filename to text .change filename to text .imagette213906201741892652 21390621 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213906211741892652 21390623 imagette213906231741892653 21390624 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 .imagette213906241741892653 21390626 imagette213906261741892654 21390616 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213906161741892654 21390619 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 .imagette213906191741892656 21390627 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213906271741892657 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21390193 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21390616,21390617,21390618,21390619,21390620,21390621,21390622,21390623,21390624,21390625,21390626,21390627?tags=Carton_brun,plastique,metal,Carton_gris,kraft,autre_refus,papier,mal_croppe,cartonnette,environnement,flou,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1343636474] : ('0.08058617722228772',) no score found for photo 1343636474 We are sending mail with results at report@fotonower.com args[1343492231] : ('0.08058617722228772',) no score found for photo 1343492231 We are sending mail with results at report@fotonower.com args[1343492197] : ('0.08058617722228772',) no score found for photo 1343492197 We are sending mail with results at report@fotonower.com args[1343491261] : ('0.08058617722228772',) no score found for photo 1343491261 We are sending mail with results at report@fotonower.com args[1343490989] : ('0.08058617722228772',) no score found for photo 1343490989 We are sending mail with results at report@fotonower.com args[1343490108] : ('0.08058617722228772',) no score found for photo 1343490108 We are sending mail with results at report@fotonower.com args[1343490082] : ('0.08058617722228772',) no score found for photo 1343490082 We are sending mail with results at report@fotonower.com args[1343489987] : ('0.08058617722228772',) no score found for photo 1343489987 We are sending mail with results at report@fotonower.com args[1343489957] : ('0.08058617722228772',) no score found for photo 1343489957 We are sending mail with results at report@fotonower.com args[1343489668] : ('0.08058617722228772',) no score found for photo 1343489668 We are sending mail with results at report@fotonower.com refus_total : 0.08058617722228772 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=21390193 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343489615,1343489622,1343489642,1343489644,1343489668,1343638562,1343489987,1343490082,1343490108,1343638132,1343638074,1343638027,1343637988,1343637944,1343636644,1343492197,1343492231,1343489602,1343490989,1343636707) Found this number of photos: 20 begin to download photo : 1343489615 begin to download photo : 1343638562 begin to download photo : 1343638074 begin to download photo : 1343492197 download finish for photo 1343638562 begin to download photo : 1343489987 download finish for photo 1343489615 begin to download photo : 1343489622 download finish for photo 1343638074 begin to download photo : 1343638027 download finish for photo 1343492197 begin to download photo : 1343492231 download finish for photo 1343489987 begin to download photo : 1343490082 download finish for photo 1343489622 begin to download photo : 1343489642 download finish for photo 1343638027 begin to download photo : 1343637988 download finish for photo 1343489642 begin to download photo : 1343489644 download finish for photo 1343492231 begin to download photo : 1343489602 download finish for photo 1343490082 begin to download photo : 1343490108 download finish for photo 1343637988 begin to download photo : 1343637944 download finish for photo 1343489644 begin to download photo : 1343489668 download finish for photo 1343489602 begin to download photo : 1343490989 download finish for photo 1343637944 begin to download photo : 1343636644 download finish for photo 1343490108 begin to download photo : 1343638132 download finish for photo 1343490989 begin to download photo : 1343636707 download finish for photo 1343489668 download finish for photo 1343638132 download finish for photo 1343636644 download finish for photo 1343636707 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_20_04_11.pdf results_Auto_P21390193_13-03-2025_20_04_11.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_20_04_11.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','21390193','results_Auto_P21390193_13-03-2025_20_04_11.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_20_04_11.pdf','pdf','','1.24','0.08058617722228772') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] 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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013108253479003906 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.99529218673706 time spend to save output : 0.013458490371704102 total time spend for step 10 : 12.008750677108765 step11:split_time_score Thu Mar 13 20:04:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('17', 25),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12032025 21390193 Nombre de photos uploadées : 25 / 23040 (0%) 12032025 21390193 Nombre de photos taguées (types de déchets): 0 / 25 (0%) 12032025 21390193 Nombre de photos taguées (volume) : 0 / 25 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015463829040527344 elapsed_time : insert_dashboard_record_day_entry 0.02533864974975586 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 = 21390131 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390150 order by id desc limit 1 Qualite : 0.16239504110969852 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21338186_12-03-2025_13_08_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21338186 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`=21338186 AND mptpi.`type`=3327 To do Qualite : 0.26606405168239766 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21338187_12-03-2025_09_14_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21338187 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 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 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 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 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 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 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`=21338187 AND mptpi.`type`=4200 To do Qualite : 0.20764398375090778 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336808_12-03-2025_17_07_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336808 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`=21336808 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336809_12-03-2025_12_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336809 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336810_12-03-2025_08_47_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336810 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336811_12-03-2025_08_46_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336811 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390151 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390165 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390171 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390172 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390173 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390174 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390175 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390176 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390177 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390178 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390179 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390180 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356680_12-03-2025_16_52_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356680 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346469_12-03-2025_18_38_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346469 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346470_12-03-2025_18_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346470 order by id desc limit 1 Qualite : 0.20055419705176306 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346477_12-03-2025_23_35_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346477 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`=21346477 AND mptpi.`type`=3594 To do Qualite : 0.04909333018945315 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356682_12-03-2025_23_40_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356682 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`=21356682 AND mptpi.`type`=4207 To do Qualite : 0.08784513863233476 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356695_12-03-2025_23_45_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356695 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`=21356695 AND mptpi.`type`=4207 To do Qualite : 0.08105258336049156 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356696 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 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 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 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 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 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 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`=21356696 AND mptpi.`type`=4209 To do Qualite : 0.05966273015252707 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356697_12-03-2025_16_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356697 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`=21356697 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390181 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390182 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390183 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390184 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390185 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390186 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356702_12-03-2025_16_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356702 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390187 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356704_12-03-2025_16_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356704 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356706_12-03-2025_16_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356706 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390188 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390189_13-03-2025_20_02_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390189 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390190 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390191 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390192 order by id desc limit 1 Qualite : 0.08301419090075145 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_20_04_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390193 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`=21390193 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390194 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390195 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390196 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21363862_12-03-2025_19_03_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21363862 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21364970_13-03-2025_19_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21364970 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390198 order by id desc limit 1 Qualite : 0.04481725503689865 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390199_13-03-2025_19_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390199 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`=21390199 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390200 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390201 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390202 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390203 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 25, '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 [1343636474, 1343492231, 1343492197, 1343491261, 1343490989, 1343490108, 1343490082, 1343489987, 1343489957, 1343489668] Looping around the photos to save general results len do output : 1 /21390193Didn'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, '2666455') ('3459', None, '1343636474', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492231', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343492197', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343491261', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490989', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490108', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343490082', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489987', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489957', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', None, '1343489668', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.017569780349731445 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.25967359542847 time spend to save output : 0.01781487464904785 total time spend for step 11 : 34.277488470077515 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 158.65user 145.20system 6:34.39elapsed 77%CPU (0avgtext+0avgdata 4321188maxresident)k 629960inputs+154808outputs (25526major+14548554minor)pagefaults 0swaps