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 : 77643 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 : 20>10 please execute split_portfolio.py -i 20461697 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2577749'] with mtr_portfolio_ids : ['20461697'] and first list_photo_ids : [] new path : /proc/77643/ 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 : 2.0486199855804443 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 Tue Feb 11 21:24: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 : 10553 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-11 21:24:34.038009: 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-02-11 21:24:34.067208: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-11 21:24:34.069294: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3708000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-11 21:24:34.069342: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-11 21:24:34.072936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-11 21:24:34.207565: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x29412320 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-11 21:24:34.207613: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-11 21:24:34.208796: 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-02-11 21:24:34.209155: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 21:24:34.211495: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 21:24:34.215871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 21:24:34.216601: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 21:24:34.230031: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 21:24:34.231940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 21:24:34.241951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 21:24:34.244547: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 21:24:34.244683: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 21:24:34.245664: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-11 21:24:34.245683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-11 21:24:34.245694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-11 21:24:34.247431: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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-02-11 21:24:34.550330: 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-02-11 21:24:34.550455: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 21:24:34.550485: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 21:24:34.550510: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 21:24:34.550535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 21:24:34.550559: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 21:24:34.550584: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 21:24:34.550608: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 21:24:34.552759: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 21:24:34.554712: 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-02-11 21:24:34.554767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 21:24:34.554788: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 21:24:34.554811: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 21:24:34.554833: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 21:24:34.554853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 21:24:34.554872: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 21:24:34.554891: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 21:24:34.556330: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 21:24:34.556366: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-11 21:24:34.556376: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-11 21:24:34.556383: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-11 21:24:34.557708: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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-02-11 21:24:44.658318: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 21:24:44.843446: 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 : 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 : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 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 : 22 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 : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 43 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 : 33 Detection mask done ! Trying to reset tf kernel 78213 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5043 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 : 10332 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.00024080276489257812 nb_pixel_total : 3033 time to create 1 rle with old method : 0.0036957263946533203 length of segment : 79 time for calcul the mask position with numpy : 0.0009889602661132812 nb_pixel_total : 39978 time to create 1 rle with old method : 0.044000864028930664 length of segment : 210 time for calcul the mask position with numpy : 0.0013275146484375 nb_pixel_total : 51700 time to create 1 rle with old method : 0.06180763244628906 length of segment : 352 time for calcul the mask position with numpy : 0.0011074542999267578 nb_pixel_total : 59352 time to create 1 rle with old method : 0.06471061706542969 length of segment : 372 time for calcul the mask position with numpy : 0.0008952617645263672 nb_pixel_total : 27886 time to create 1 rle with old method : 0.03501701354980469 length of segment : 166 time for calcul the mask position with numpy : 0.0008509159088134766 nb_pixel_total : 46676 time to create 1 rle with old method : 0.05914807319641113 length of segment : 299 time for calcul the mask position with numpy : 0.0008842945098876953 nb_pixel_total : 50509 time to create 1 rle with old method : 0.06678080558776855 length of segment : 219 time for calcul the mask position with numpy : 0.0005750656127929688 nb_pixel_total : 29677 time to create 1 rle with old method : 0.032974958419799805 length of segment : 368 time for calcul the mask position with numpy : 0.000896453857421875 nb_pixel_total : 56673 time to create 1 rle with old method : 0.06177115440368652 length of segment : 293 time for calcul the mask position with numpy : 0.0009527206420898438 nb_pixel_total : 53096 time to create 1 rle with old method : 0.05855298042297363 length of segment : 288 time for calcul the mask position with numpy : 0.00147247314453125 nb_pixel_total : 51285 time to create 1 rle with old method : 0.0573115348815918 length of segment : 343 time for calcul the mask position with numpy : 0.00015354156494140625 nb_pixel_total : 4526 time to create 1 rle with old method : 0.005444049835205078 length of segment : 87 time for calcul the mask position with numpy : 0.002227306365966797 nb_pixel_total : 101314 time to create 1 rle with old method : 0.11060237884521484 length of segment : 498 time for calcul the mask position with numpy : 0.004182338714599609 nb_pixel_total : 167180 time to create 1 rle with new method : 0.012140750885009766 length of segment : 549 time for calcul the mask position with numpy : 0.0029087066650390625 nb_pixel_total : 160419 time to create 1 rle with new method : 0.012745380401611328 length of segment : 549 time for calcul the mask position with numpy : 0.001316070556640625 nb_pixel_total : 77233 time to create 1 rle with old method : 0.08446192741394043 length of segment : 535 time for calcul the mask position with numpy : 0.0034296512603759766 nb_pixel_total : 235439 time to create 1 rle with new method : 0.013873815536499023 length of segment : 394 time for calcul the mask position with numpy : 0.0013928413391113281 nb_pixel_total : 53741 time to create 1 rle with old method : 0.05914640426635742 length of segment : 388 time for calcul the mask position with numpy : 0.002080202102661133 nb_pixel_total : 100398 time to create 1 rle with old method : 0.11301970481872559 length of segment : 491 time for calcul the mask position with numpy : 0.0004971027374267578 nb_pixel_total : 15043 time to create 1 rle with old method : 0.01681971549987793 length of segment : 153 time for calcul the mask position with numpy : 0.0008771419525146484 nb_pixel_total : 27910 time to create 1 rle with old method : 0.03110957145690918 length of segment : 271 time for calcul the mask position with numpy : 0.0002818107604980469 nb_pixel_total : 9130 time to create 1 rle with old method : 0.010421276092529297 length of segment : 115 time for calcul the mask position with numpy : 0.0016155242919921875 nb_pixel_total : 96663 time to create 1 rle with old method : 0.10479116439819336 length of segment : 682 time for calcul the mask position with numpy : 0.00028967857360839844 nb_pixel_total : 15084 time to create 1 rle with old method : 0.016777515411376953 length of segment : 121 time for calcul the mask position with numpy : 0.001646280288696289 nb_pixel_total : 93343 time to create 1 rle with old method : 0.09957051277160645 length of segment : 586 time for calcul the mask position with numpy : 0.0013782978057861328 nb_pixel_total : 72505 time to create 1 rle with old method : 0.07821464538574219 length of segment : 482 time for calcul the mask position with numpy : 0.0002460479736328125 nb_pixel_total : 12949 time to create 1 rle with old method : 0.01442718505859375 length of segment : 175 time for calcul the mask position with numpy : 0.00047898292541503906 nb_pixel_total : 9296 time to create 1 rle with old method : 0.010313749313354492 length of segment : 151 time for calcul the mask position with numpy : 0.001600503921508789 nb_pixel_total : 63320 time to create 1 rle with old method : 0.06809329986572266 length of segment : 361 time for calcul the mask position with numpy : 0.005382537841796875 nb_pixel_total : 222899 time to create 1 rle with new method : 0.015227556228637695 length of segment : 607 time for calcul the mask position with numpy : 0.00022792816162109375 nb_pixel_total : 9448 time to create 1 rle with old method : 0.010915040969848633 length of segment : 157 time for calcul the mask position with numpy : 0.0033440589904785156 nb_pixel_total : 276142 time to create 1 rle with new method : 0.012829780578613281 length of segment : 767 time for calcul the mask position with numpy : 0.0002193450927734375 nb_pixel_total : 10893 time to create 1 rle with old method : 0.011888742446899414 length of segment : 118 time for calcul the mask position with numpy : 0.00028014183044433594 nb_pixel_total : 13256 time to create 1 rle with old method : 0.014693737030029297 length of segment : 194 time for calcul the mask position with numpy : 0.00238037109375 nb_pixel_total : 37585 time to create 1 rle with old method : 0.041255950927734375 length of segment : 310 time for calcul the mask position with numpy : 0.0009319782257080078 nb_pixel_total : 59678 time to create 1 rle with old method : 0.06416487693786621 length of segment : 353 time for calcul the mask position with numpy : 8.487701416015625e-05 nb_pixel_total : 2503 time to create 1 rle with old method : 0.003075838088989258 length of segment : 43 time for calcul the mask position with numpy : 0.0012946128845214844 nb_pixel_total : 64524 time to create 1 rle with old method : 0.07032132148742676 length of segment : 541 time for calcul the mask position with numpy : 0.0002105236053466797 nb_pixel_total : 9861 time to create 1 rle with old method : 0.015054702758789062 length of segment : 105 time for calcul the mask position with numpy : 0.0005574226379394531 nb_pixel_total : 17728 time to create 1 rle with old method : 0.01969170570373535 length of segment : 197 time for calcul the mask position with numpy : 0.004109859466552734 nb_pixel_total : 134898 time to create 1 rle with old method : 0.16515159606933594 length of segment : 585 time for calcul the mask position with numpy : 0.0007300376892089844 nb_pixel_total : 21902 time to create 1 rle with old method : 0.028498411178588867 length of segment : 216 time for calcul the mask position with numpy : 1.0498156547546387 nb_pixel_total : 509847 time to create 1 rle with new method : 0.21564579010009766 length of segment : 907 time for calcul the mask position with numpy : 0.001172780990600586 nb_pixel_total : 52012 time to create 1 rle with old method : 0.059426069259643555 length of segment : 283 time for calcul the mask position with numpy : 0.0008134841918945312 nb_pixel_total : 17076 time to create 1 rle with old method : 0.02063274383544922 length of segment : 174 time for calcul the mask position with numpy : 0.0035321712493896484 nb_pixel_total : 106377 time to create 1 rle with old method : 0.11735773086547852 length of segment : 429 time for calcul the mask position with numpy : 0.000469207763671875 nb_pixel_total : 14600 time to create 1 rle with old method : 0.017696142196655273 length of segment : 104 time for calcul the mask position with numpy : 0.0009212493896484375 nb_pixel_total : 48983 time to create 1 rle with old method : 0.05379176139831543 length of segment : 279 time for calcul the mask position with numpy : 0.00033402442932128906 nb_pixel_total : 11570 time to create 1 rle with old method : 0.013166427612304688 length of segment : 140 time for calcul the mask position with numpy : 0.005308628082275391 nb_pixel_total : 265939 time to create 1 rle with new method : 0.019188880920410156 length of segment : 595 time for calcul the mask position with numpy : 0.0005714893341064453 nb_pixel_total : 25683 time to create 1 rle with old method : 0.03067326545715332 length of segment : 207 time for calcul the mask position with numpy : 0.0025703907012939453 nb_pixel_total : 83566 time to create 1 rle with old method : 0.09263014793395996 length of segment : 452 time for calcul the mask position with numpy : 0.00023889541625976562 nb_pixel_total : 3043 time to create 1 rle with old method : 0.005188941955566406 length of segment : 146 time for calcul the mask position with numpy : 0.0015804767608642578 nb_pixel_total : 53547 time to create 1 rle with old method : 0.06961393356323242 length of segment : 255 time for calcul the mask position with numpy : 0.0005514621734619141 nb_pixel_total : 10473 time to create 1 rle with old method : 0.013334274291992188 length of segment : 125 time for calcul the mask position with numpy : 0.00022149085998535156 nb_pixel_total : 7764 time to create 1 rle with old method : 0.00957345962524414 length of segment : 118 time for calcul the mask position with numpy : 0.0002791881561279297 nb_pixel_total : 7806 time to create 1 rle with old method : 0.009618520736694336 length of segment : 145 time for calcul the mask position with numpy : 0.0012645721435546875 nb_pixel_total : 51618 time to create 1 rle with old method : 0.05657076835632324 length of segment : 484 time for calcul the mask position with numpy : 0.00046372413635253906 nb_pixel_total : 15389 time to create 1 rle with old method : 0.016794204711914062 length of segment : 212 time for calcul the mask position with numpy : 0.010885000228881836 nb_pixel_total : 430676 time to create 1 rle with new method : 0.03186488151550293 length of segment : 1366 time for calcul the mask position with numpy : 0.0004181861877441406 nb_pixel_total : 19213 time to create 1 rle with old method : 0.021176815032958984 length of segment : 154 time for calcul the mask position with numpy : 0.00011301040649414062 nb_pixel_total : 2832 time to create 1 rle with old method : 0.0033507347106933594 length of segment : 74 time for calcul the mask position with numpy : 0.00023889541625976562 nb_pixel_total : 10447 time to create 1 rle with old method : 0.012492895126342773 length of segment : 94 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 5107 time to create 1 rle with old method : 0.005813121795654297 length of segment : 111 time for calcul the mask position with numpy : 0.00011706352233886719 nb_pixel_total : 2852 time to create 1 rle with old method : 0.003376483917236328 length of segment : 77 time for calcul the mask position with numpy : 0.00017547607421875 nb_pixel_total : 5230 time to create 1 rle with old method : 0.0063054561614990234 length of segment : 83 time for calcul the mask position with numpy : 0.0011420249938964844 nb_pixel_total : 56098 time to create 1 rle with old method : 0.06099057197570801 length of segment : 404 time for calcul the mask position with numpy : 0.0007052421569824219 nb_pixel_total : 50039 time to create 1 rle with old method : 0.05547046661376953 length of segment : 366 time for calcul the mask position with numpy : 0.002267122268676758 nb_pixel_total : 121968 time to create 1 rle with old method : 0.13149785995483398 length of segment : 426 time for calcul the mask position with numpy : 0.002367258071899414 nb_pixel_total : 126749 time to create 1 rle with old method : 0.13817977905273438 length of segment : 394 time for calcul the mask position with numpy : 0.0002167224884033203 nb_pixel_total : 7010 time to create 1 rle with old method : 0.008094549179077148 length of segment : 116 time for calcul the mask position with numpy : 0.002562284469604492 nb_pixel_total : 139193 time to create 1 rle with old method : 0.15111279487609863 length of segment : 444 time for calcul the mask position with numpy : 0.0005328655242919922 nb_pixel_total : 9947 time to create 1 rle with old method : 0.02253580093383789 length of segment : 86 time for calcul the mask position with numpy : 0.0003676414489746094 nb_pixel_total : 20516 time to create 1 rle with old method : 0.022780895233154297 length of segment : 156 time for calcul the mask position with numpy : 0.00017142295837402344 nb_pixel_total : 4184 time to create 1 rle with old method : 0.005793094635009766 length of segment : 73 time for calcul the mask position with numpy : 0.0001575946807861328 nb_pixel_total : 6451 time to create 1 rle with old method : 0.007595539093017578 length of segment : 94 time for calcul the mask position with numpy : 0.0029778480529785156 nb_pixel_total : 149544 time to create 1 rle with old method : 0.16265130043029785 length of segment : 451 time for calcul the mask position with numpy : 0.0015697479248046875 nb_pixel_total : 59874 time to create 1 rle with old method : 0.08183693885803223 length of segment : 528 time for calcul the mask position with numpy : 0.003190755844116211 nb_pixel_total : 115948 time to create 1 rle with old method : 0.14861607551574707 length of segment : 561 time for calcul the mask position with numpy : 0.00014591217041015625 nb_pixel_total : 2407 time to create 1 rle with old method : 0.0029413700103759766 length of segment : 47 time for calcul the mask position with numpy : 0.00025916099548339844 nb_pixel_total : 14808 time to create 1 rle with old method : 0.016458749771118164 length of segment : 127 time for calcul the mask position with numpy : 0.0001621246337890625 nb_pixel_total : 2946 time to create 1 rle with old method : 0.0034062862396240234 length of segment : 73 time for calcul the mask position with numpy : 0.005363941192626953 nb_pixel_total : 342797 time to create 1 rle with new method : 0.018123865127563477 length of segment : 897 time for calcul the mask position with numpy : 0.0010037422180175781 nb_pixel_total : 30930 time to create 1 rle with old method : 0.05028676986694336 length of segment : 312 time for calcul the mask position with numpy : 0.002864360809326172 nb_pixel_total : 143695 time to create 1 rle with old method : 0.1612708568572998 length of segment : 387 time for calcul the mask position with numpy : 0.0002090930938720703 nb_pixel_total : 5163 time to create 1 rle with old method : 0.005998849868774414 length of segment : 72 time for calcul the mask position with numpy : 0.00012564659118652344 nb_pixel_total : 4443 time to create 1 rle with old method : 0.00531768798828125 length of segment : 75 time for calcul the mask position with numpy : 0.005582094192504883 nb_pixel_total : 329731 time to create 1 rle with new method : 0.021451473236083984 length of segment : 432 time for calcul the mask position with numpy : 0.0018634796142578125 nb_pixel_total : 130772 time to create 1 rle with old method : 0.14204740524291992 length of segment : 366 time for calcul the mask position with numpy : 0.00017070770263671875 nb_pixel_total : 2460 time to create 1 rle with old method : 0.0037398338317871094 length of segment : 52 time for calcul the mask position with numpy : 0.00046133995056152344 nb_pixel_total : 14011 time to create 1 rle with old method : 0.017542123794555664 length of segment : 174 time for calcul the mask position with numpy : 0.0002472400665283203 nb_pixel_total : 5332 time to create 1 rle with old method : 0.006441593170166016 length of segment : 105 time for calcul the mask position with numpy : 0.0007317066192626953 nb_pixel_total : 18954 time to create 1 rle with old method : 0.021178483963012695 length of segment : 274 time for calcul the mask position with numpy : 0.0008146762847900391 nb_pixel_total : 21469 time to create 1 rle with old method : 0.0243227481842041 length of segment : 278 time for calcul the mask position with numpy : 0.1283586025238037 nb_pixel_total : 3633342 time to create 1 rle with new method : 1.0828323364257812 length of segment : 3406 time for calcul the mask position with numpy : 0.0002951622009277344 nb_pixel_total : 11447 time to create 1 rle with old method : 0.02036452293395996 length of segment : 78 time for calcul the mask position with numpy : 0.0016734600067138672 nb_pixel_total : 82388 time to create 1 rle with old method : 0.09613585472106934 length of segment : 448 time for calcul the mask position with numpy : 0.0011394023895263672 nb_pixel_total : 41686 time to create 1 rle with old method : 0.0509183406829834 length of segment : 220 time for calcul the mask position with numpy : 0.00019502639770507812 nb_pixel_total : 2210 time to create 1 rle with old method : 0.0027818679809570312 length of segment : 50 time for calcul the mask position with numpy : 0.0011470317840576172 nb_pixel_total : 39900 time to create 1 rle with old method : 0.06031966209411621 length of segment : 352 time for calcul the mask position with numpy : 0.0007908344268798828 nb_pixel_total : 8972 time to create 1 rle with old method : 0.010805130004882812 length of segment : 286 time for calcul the mask position with numpy : 0.0001647472381591797 nb_pixel_total : 5842 time to create 1 rle with old method : 0.006990909576416016 length of segment : 83 time for calcul the mask position with numpy : 0.015924692153930664 nb_pixel_total : 832302 time to create 1 rle with new method : 0.06204700469970703 length of segment : 1182 time for calcul the mask position with numpy : 0.0001621246337890625 nb_pixel_total : 3037 time to create 1 rle with old method : 0.003547191619873047 length of segment : 76 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 3820 time to create 1 rle with old method : 0.004572153091430664 length of segment : 67 time for calcul the mask position with numpy : 0.015409708023071289 nb_pixel_total : 970371 time to create 1 rle with new method : 0.07668876647949219 length of segment : 1746 time for calcul the mask position with numpy : 0.0011563301086425781 nb_pixel_total : 61809 time to create 1 rle with old method : 0.06846284866333008 length of segment : 579 time for calcul the mask position with numpy : 0.0006606578826904297 nb_pixel_total : 16971 time to create 1 rle with old method : 0.02057647705078125 length of segment : 100 time for calcul the mask position with numpy : 0.0016167163848876953 nb_pixel_total : 35822 time to create 1 rle with old method : 0.0393366813659668 length of segment : 351 time for calcul the mask position with numpy : 0.06610965728759766 nb_pixel_total : 1358586 time to create 1 rle with new method : 0.35623931884765625 length of segment : 2186 time for calcul the mask position with numpy : 0.004665851593017578 nb_pixel_total : 147615 time to create 1 rle with old method : 0.1735060214996338 length of segment : 642 time for calcul the mask position with numpy : 0.0012543201446533203 nb_pixel_total : 34913 time to create 1 rle with old method : 0.03988242149353027 length of segment : 212 time for calcul the mask position with numpy : 0.0013127326965332031 nb_pixel_total : 36292 time to create 1 rle with old method : 0.03942275047302246 length of segment : 360 time for calcul the mask position with numpy : 0.0007300376892089844 nb_pixel_total : 17061 time to create 1 rle with old method : 0.019981861114501953 length of segment : 97 time for calcul the mask position with numpy : 0.005430459976196289 nb_pixel_total : 149022 time to create 1 rle with old method : 0.1902751922607422 length of segment : 706 time for calcul the mask position with numpy : 0.0007750988006591797 nb_pixel_total : 7445 time to create 1 rle with old method : 0.008783102035522461 length of segment : 167 time for calcul the mask position with numpy : 0.0002522468566894531 nb_pixel_total : 3767 time to create 1 rle with old method : 0.004462242126464844 length of segment : 67 time for calcul the mask position with numpy : 0.0017821788787841797 nb_pixel_total : 52706 time to create 1 rle with old method : 0.05916953086853027 length of segment : 230 time for calcul the mask position with numpy : 0.0016002655029296875 nb_pixel_total : 41673 time to create 1 rle with old method : 0.0484156608581543 length of segment : 270 time for calcul the mask position with numpy : 0.0008599758148193359 nb_pixel_total : 22346 time to create 1 rle with old method : 0.02718830108642578 length of segment : 205 time for calcul the mask position with numpy : 0.0039632320404052734 nb_pixel_total : 145437 time to create 1 rle with old method : 0.1672961711883545 length of segment : 625 time for calcul the mask position with numpy : 0.0014750957489013672 nb_pixel_total : 24353 time to create 1 rle with old method : 0.026966333389282227 length of segment : 281 time for calcul the mask position with numpy : 0.0017795562744140625 nb_pixel_total : 20179 time to create 1 rle with old method : 0.02434992790222168 length of segment : 110 time for calcul the mask position with numpy : 0.0005822181701660156 nb_pixel_total : 8119 time to create 1 rle with old method : 0.009251594543457031 length of segment : 119 time for calcul the mask position with numpy : 0.001668691635131836 nb_pixel_total : 32398 time to create 1 rle with old method : 0.03571319580078125 length of segment : 195 time for calcul the mask position with numpy : 0.00127410888671875 nb_pixel_total : 19529 time to create 1 rle with old method : 0.02375054359436035 length of segment : 188 time for calcul the mask position with numpy : 0.00507044792175293 nb_pixel_total : 22926 time to create 1 rle with old method : 0.026832103729248047 length of segment : 453 time for calcul the mask position with numpy : 0.0014891624450683594 nb_pixel_total : 26829 time to create 1 rle with old method : 0.03024125099182129 length of segment : 239 time for calcul the mask position with numpy : 0.0007312297821044922 nb_pixel_total : 15618 time to create 1 rle with old method : 0.017409086227416992 length of segment : 209 time for calcul the mask position with numpy : 0.003203153610229492 nb_pixel_total : 61703 time to create 1 rle with old method : 0.07363104820251465 length of segment : 392 time for calcul the mask position with numpy : 0.0026657581329345703 nb_pixel_total : 53122 time to create 1 rle with old method : 0.06059837341308594 length of segment : 323 time for calcul the mask position with numpy : 0.000823974609375 nb_pixel_total : 9740 time to create 1 rle with old method : 0.011376142501831055 length of segment : 151 time for calcul the mask position with numpy : 0.00039267539978027344 nb_pixel_total : 4540 time to create 1 rle with old method : 0.005262613296508789 length of segment : 136 time for calcul the mask position with numpy : 0.0005211830139160156 nb_pixel_total : 5363 time to create 1 rle with old method : 0.006209850311279297 length of segment : 80 time for calcul the mask position with numpy : 0.0014760494232177734 nb_pixel_total : 7528 time to create 1 rle with old method : 0.009207010269165039 length of segment : 165 time for calcul the mask position with numpy : 0.0010018348693847656 nb_pixel_total : 15342 time to create 1 rle with old method : 0.019156932830810547 length of segment : 190 time for calcul the mask position with numpy : 0.0016388893127441406 nb_pixel_total : 27376 time to create 1 rle with old method : 0.030692577362060547 length of segment : 168 time for calcul the mask position with numpy : 0.00046133995056152344 nb_pixel_total : 14969 time to create 1 rle with old method : 0.01682138442993164 length of segment : 160 time for calcul the mask position with numpy : 0.009030580520629883 nb_pixel_total : 151445 time to create 1 rle with new method : 0.01538991928100586 length of segment : 586 time for calcul the mask position with numpy : 0.0007297992706298828 nb_pixel_total : 4100 time to create 1 rle with old method : 0.006374359130859375 length of segment : 77 time for calcul the mask position with numpy : 0.0002655982971191406 nb_pixel_total : 2869 time to create 1 rle with old method : 0.00337982177734375 length of segment : 65 time for calcul the mask position with numpy : 0.0009169578552246094 nb_pixel_total : 12121 time to create 1 rle with old method : 0.013690710067749023 length of segment : 155 time for calcul the mask position with numpy : 0.01197671890258789 nb_pixel_total : 313277 time to create 1 rle with new method : 0.015072822570800781 length of segment : 507 time for calcul the mask position with numpy : 0.003440380096435547 nb_pixel_total : 58402 time to create 1 rle with old method : 0.06638431549072266 length of segment : 325 time for calcul the mask position with numpy : 0.000591278076171875 nb_pixel_total : 16159 time to create 1 rle with old method : 0.018329858779907227 length of segment : 173 time for calcul the mask position with numpy : 0.0031919479370117188 nb_pixel_total : 36576 time to create 1 rle with old method : 0.04228472709655762 length of segment : 366 time for calcul the mask position with numpy : 0.0063934326171875 nb_pixel_total : 132768 time to create 1 rle with old method : 0.17136597633361816 length of segment : 441 time for calcul the mask position with numpy : 0.0008053779602050781 nb_pixel_total : 36777 time to create 1 rle with old method : 0.04139566421508789 length of segment : 175 time for calcul the mask position with numpy : 0.0005822181701660156 nb_pixel_total : 7801 time to create 1 rle with old method : 0.008927345275878906 length of segment : 116 time for calcul the mask position with numpy : 0.002193450927734375 nb_pixel_total : 40233 time to create 1 rle with old method : 0.04438424110412598 length of segment : 307 time for calcul the mask position with numpy : 0.0006079673767089844 nb_pixel_total : 17501 time to create 1 rle with old method : 0.020462989807128906 length of segment : 166 time for calcul the mask position with numpy : 0.0033724308013916016 nb_pixel_total : 93883 time to create 1 rle with old method : 0.10273432731628418 length of segment : 337 time for calcul the mask position with numpy : 0.0015416145324707031 nb_pixel_total : 6131 time to create 1 rle with old method : 0.009241819381713867 length of segment : 252 time for calcul the mask position with numpy : 0.003434896469116211 nb_pixel_total : 161057 time to create 1 rle with new method : 0.010410070419311523 length of segment : 538 time for calcul the mask position with numpy : 0.0017743110656738281 nb_pixel_total : 26792 time to create 1 rle with old method : 0.03228759765625 length of segment : 154 time for calcul the mask position with numpy : 0.0011475086212158203 nb_pixel_total : 39336 time to create 1 rle with old method : 0.04728960990905762 length of segment : 305 time for calcul the mask position with numpy : 0.0025010108947753906 nb_pixel_total : 29160 time to create 1 rle with old method : 0.0444941520690918 length of segment : 255 time for calcul the mask position with numpy : 0.0003139972686767578 nb_pixel_total : 1867 time to create 1 rle with old method : 0.004098176956176758 length of segment : 61 time for calcul the mask position with numpy : 0.000926971435546875 nb_pixel_total : 26948 time to create 1 rle with old method : 0.03585457801818848 length of segment : 168 time for calcul the mask position with numpy : 0.0021369457244873047 nb_pixel_total : 42351 time to create 1 rle with old method : 0.04801297187805176 length of segment : 461 time for calcul the mask position with numpy : 0.0008127689361572266 nb_pixel_total : 18965 time to create 1 rle with old method : 0.022382497787475586 length of segment : 170 time for calcul the mask position with numpy : 0.0027704238891601562 nb_pixel_total : 51926 time to create 1 rle with old method : 0.057375431060791016 length of segment : 402 time for calcul the mask position with numpy : 0.002282857894897461 nb_pixel_total : 49573 time to create 1 rle with old method : 0.06089615821838379 length of segment : 442 time for calcul the mask position with numpy : 0.0004093647003173828 nb_pixel_total : 9010 time to create 1 rle with old method : 0.010406255722045898 length of segment : 83 time for calcul the mask position with numpy : 0.0008602142333984375 nb_pixel_total : 13593 time to create 1 rle with old method : 0.015377998352050781 length of segment : 190 time for calcul the mask position with numpy : 0.005040168762207031 nb_pixel_total : 114899 time to create 1 rle with old method : 0.1398143768310547 length of segment : 420 time for calcul the mask position with numpy : 0.0006811618804931641 nb_pixel_total : 5009 time to create 1 rle with old method : 0.006342649459838867 length of segment : 126 time for calcul the mask position with numpy : 0.0028917789459228516 nb_pixel_total : 82055 time to create 1 rle with old method : 0.09915447235107422 length of segment : 331 time for calcul the mask position with numpy : 0.006338834762573242 nb_pixel_total : 69241 time to create 1 rle with old method : 0.07998871803283691 length of segment : 681 time for calcul the mask position with numpy : 0.0017192363739013672 nb_pixel_total : 34733 time to create 1 rle with old method : 0.04071784019470215 length of segment : 307 time for calcul the mask position with numpy : 0.002137422561645508 nb_pixel_total : 29262 time to create 1 rle with old method : 0.03667807579040527 length of segment : 240 time for calcul the mask position with numpy : 0.011801004409790039 nb_pixel_total : 354910 time to create 1 rle with new method : 0.01934671401977539 length of segment : 545 time for calcul the mask position with numpy : 0.000988006591796875 nb_pixel_total : 19314 time to create 1 rle with old method : 0.02260422706604004 length of segment : 170 time for calcul the mask position with numpy : 0.002204418182373047 nb_pixel_total : 49484 time to create 1 rle with old method : 0.05788707733154297 length of segment : 408 time for calcul the mask position with numpy : 0.0006606578826904297 nb_pixel_total : 20541 time to create 1 rle with old method : 0.023059606552124023 length of segment : 241 time for calcul the mask position with numpy : 0.0006854534149169922 nb_pixel_total : 20499 time to create 1 rle with old method : 0.022972583770751953 length of segment : 223 time for calcul the mask position with numpy : 0.0017549991607666016 nb_pixel_total : 34173 time to create 1 rle with old method : 0.03918170928955078 length of segment : 255 time for calcul the mask position with numpy : 0.0018429756164550781 nb_pixel_total : 48607 time to create 1 rle with old method : 0.05612587928771973 length of segment : 322 time for calcul the mask position with numpy : 0.003106355667114258 nb_pixel_total : 46381 time to create 1 rle with old method : 0.05243396759033203 length of segment : 295 time for calcul the mask position with numpy : 0.0061397552490234375 nb_pixel_total : 59030 time to create 1 rle with old method : 0.060991525650024414 length of segment : 361 time for calcul the mask position with numpy : 0.002290487289428711 nb_pixel_total : 51853 time to create 1 rle with old method : 0.05223989486694336 length of segment : 392 time for calcul the mask position with numpy : 0.0007579326629638672 nb_pixel_total : 13875 time to create 1 rle with old method : 0.0171511173248291 length of segment : 189 time for calcul the mask position with numpy : 0.0021495819091796875 nb_pixel_total : 27968 time to create 1 rle with old method : 0.03219938278198242 length of segment : 441 time for calcul the mask position with numpy : 0.0007183551788330078 nb_pixel_total : 14475 time to create 1 rle with old method : 0.019585371017456055 length of segment : 145 time for calcul the mask position with numpy : 0.001219034194946289 nb_pixel_total : 27809 time to create 1 rle with old method : 0.030690670013427734 length of segment : 214 time for calcul the mask position with numpy : 0.0005462169647216797 nb_pixel_total : 8581 time to create 1 rle with old method : 0.011662960052490234 length of segment : 97 time spent for convertir_results : 23.090839624404907 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 186 chid ids of type : 3663 Number RLEs to save : 60584 save missing photos in datou_result : time spend for datou_step_exec : 87.33397388458252 time spend to save output : 3.701106071472168 total time spend for step 1 : 91.03507995605469 step2:crop_condition Tue Feb 11 21:26:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 186 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 65 About to insert : list_path_to_insert length 65 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! 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 [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] Looping around the photos to save general results len do output : 113 /-3670634601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634616Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634613Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634612Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634621Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3670634779Didn'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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 349 time used for this insertion : 0.042647600173950195 save_final save missing photos in datou_result : time spend for datou_step_exec : 49.99024534225464 time spend to save output : 0.04621458053588867 total time spend for step 2 : 50.03645992279053 step3:thcl Tue Feb 11 21:26: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 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.0076406002044677734 time to convert the images to numpy array : 0.15814828872680664 time to import caffe and check if the image exist : 0.01775836944580078 time to convert the images to numpy array : 0.2788214683532715 time to import caffe and check if the image exist : 0.01367640495300293 time to convert the images to numpy array : 0.30679774284362793 time to import caffe and check if the image exist : 0.01647496223449707 time to convert the images to numpy array : 0.30805349349975586 time to import caffe and check if the image exist : 0.01841878890991211 time to convert the images to numpy array : 0.3112447261810303 time to import caffe and check if the image exist : 0.015404701232910156 time to convert the images to numpy array : 0.324582576751709 time to import caffe and check if the image exist : 0.02018880844116211 time to convert the images to numpy array : 0.3358347415924072 time to import caffe and check if the image exist : 0.027702808380126953 time to convert the images to numpy array : 0.33054089546203613 time to import caffe and check if the image exist : 0.015864849090576172 time to convert the images to numpy array : 0.34291744232177734 time to import caffe and check if the image exist : 0.011932373046875 time to convert the images to numpy array : 0.6140556335449219 total time to convert the images to numpy array : 1.0017259120941162 list photo_ids error: [] list photo_ids correct : [-3670634664, -3670634699, -3670634775, -3670634744, -3670634779, -3670634731, -3670634725, -3670634719, -3670634730, -3670634748, -3670634740, -3670634742, -3670634724, -3670634721, -3670634741, -3670634732, -3670634720, -3670634679, -3670634688, -3670634672, -3670634691, -3670634701, -3670634692, -3670634694, -3670634709, -3670634713, -3670634716, -3670634738, -3670634729, -3670634601, -3670634614, -3670634616, -3670634620, -3670634626, -3670634628, -3670634655, -3670634680, -3670634671, -3670634708, -3670634728, -3670634613, -3670634747, -3670634737, -3670634722, -3670634739, -3670634762, -3670634760, -3670634757, -3670634777, -3670634756, -3670634767, -3670634764, -3670634772, -3670634629, -3670634630, -3670634639, -3670634644, -3670634640, -3670634649, -3670634645, -3670634642, -3670634668, -3670634663, -3670634661, -3670634666, -3670634596, -3670634597, -3670634608, -3670634605, -3670634602, -3670634598, -3670634604, -3670634611, -3670634615, -3670634621, -3670634619, -3670634623, -3670634723, -3670634768, -3670634766, -3670634771, -3670634603, -3670634622, -3670634617, -3670634715, -3670634749, -3670634774, -3670634765, -3670634610, -3670634600, -3670634609, -3670634612, -3670634646, -3670634662, -3670634682, -3670634685, -3670634717, -3670634712, -3670634707, -3670634751, -3670634746, -3670634770, -3670634754, -3670634769, -3670634763, -3670634705, -3670634706, -3670634703, -3670634702, -3670634718, -3670634618, -3670634637, -3670634654] number of photos to traite : 113 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 : 5043 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 : 4824 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.4087963104248047 time used to do the prediction : 0.28723621368408203 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 : 4822 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 : 4822 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.4096291065216064 time used to do the prediction : 0.2150583267211914 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.9802322387695312e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.197123289108276 time spend to save output : 0.0009851455688476562 total time spend for step 3 : 11.198108434677124 step4:merge_mask_thcl_custom Tue Feb 11 21:27:02 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 186 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 [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] Looping around the photos to save general results len do output : 10 /1336794462Didn't retrieve data .Didn't retrieve data . /1336793567Didn't retrieve data .Didn't retrieve data . /1336793492Didn't retrieve data .Didn't retrieve data . /1336793423Didn't retrieve data .Didn't retrieve data . /1336793329Didn't retrieve data .Didn't retrieve data . /1336793226Didn't retrieve data .Didn't retrieve data . /1336793112Didn't retrieve data .Didn't retrieve data . /1336792626Didn't retrieve data .Didn't retrieve data . /1336792623Didn't retrieve data .Didn't retrieve data . /1336792620Didn'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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016131162643432617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07871007919311523 time spend to save output : 0.01673436164855957 total time spend for step 4 : 0.0954444408416748 step5:rle_unique_nms_with_priority Tue Feb 11 21:27:02 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 : 19 nb_hashtags : 7 time to prepare the origin masks : 14.283283472061157 time for calcul the mask position with numpy : 0.2436363697052002 nb_pixel_total : 5987154 time to create 1 rle with new method : 1.0465121269226074 time for calcul the mask position with numpy : 0.04008364677429199 nb_pixel_total : 7675 time to create 1 rle with old method : 0.009491682052612305 time for calcul the mask position with numpy : 0.043445587158203125 nb_pixel_total : 50959 time to create 1 rle with old method : 0.05614042282104492 time for calcul the mask position with numpy : 0.04197859764099121 nb_pixel_total : 58817 time to create 1 rle with old method : 0.06492424011230469 time for calcul the mask position with numpy : 0.03681349754333496 nb_pixel_total : 46222 time to create 1 rle with old method : 0.05152726173400879 time for calcul the mask position with numpy : 0.027458667755126953 nb_pixel_total : 4391 time to create 1 rle with old method : 0.005169391632080078 time for calcul the mask position with numpy : 0.0373692512512207 nb_pixel_total : 50235 time to create 1 rle with old method : 0.05551934242248535 time for calcul the mask position with numpy : 0.04178977012634277 nb_pixel_total : 160193 time to create 1 rle with new method : 0.6023950576782227 time for calcul the mask position with numpy : 0.03878426551818848 nb_pixel_total : 101039 time to create 1 rle with old method : 0.12046980857849121 time for calcul the mask position with numpy : 0.034563541412353516 nb_pixel_total : 53570 time to create 1 rle with old method : 0.06036734580993652 time for calcul the mask position with numpy : 0.03345441818237305 nb_pixel_total : 39737 time to create 1 rle with old method : 0.04366278648376465 time for calcul the mask position with numpy : 0.03478837013244629 nb_pixel_total : 4469 time to create 1 rle with old method : 0.004947185516357422 time for calcul the mask position with numpy : 0.03542613983154297 nb_pixel_total : 3636 time to create 1 rle with old method : 0.004378318786621094 time for calcul the mask position with numpy : 0.032714128494262695 nb_pixel_total : 53008 time to create 1 rle with old method : 0.060079097747802734 time for calcul the mask position with numpy : 0.030855417251586914 nb_pixel_total : 30550 time to create 1 rle with old method : 0.03369736671447754 time for calcul the mask position with numpy : 0.0417022705078125 nb_pixel_total : 235120 time to create 1 rle with new method : 0.7332277297973633 time for calcul the mask position with numpy : 0.04017233848571777 nb_pixel_total : 27709 time to create 1 rle with old method : 0.03148460388183594 time for calcul the mask position with numpy : 0.04079103469848633 nb_pixel_total : 51218 time to create 1 rle with old method : 0.057219505310058594 time for calcul the mask position with numpy : 0.035887718200683594 nb_pixel_total : 3017 time to create 1 rle with old method : 0.0034635066986083984 time for calcul the mask position with numpy : 0.0472261905670166 nb_pixel_total : 81521 time to create 1 rle with old method : 0.08938169479370117 create new chi : 4.202857971191406 time to delete rle : 0.010776281356811523 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 13532 TO DO : save crop sub photo not yet done ! save time : 0.8431181907653809 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 7.096151828765869 time for calcul the mask position with numpy : 1.4096028804779053 nb_pixel_total : 6574189 time to create 1 rle with new method : 0.6498959064483643 time for calcul the mask position with numpy : 0.025417566299438477 nb_pixel_total : 4954 time to create 1 rle with old method : 0.00914144515991211 time for calcul the mask position with numpy : 0.04419898986816406 nb_pixel_total : 24123 time to create 1 rle with old method : 0.031412363052368164 time for calcul the mask position with numpy : 0.04037952423095703 nb_pixel_total : 12942 time to create 1 rle with old method : 0.013886213302612305 time for calcul the mask position with numpy : 0.03821897506713867 nb_pixel_total : 72318 time to create 1 rle with old method : 0.08602309226989746 time for calcul the mask position with numpy : 0.039114952087402344 nb_pixel_total : 14999 time to create 1 rle with old method : 0.01772475242614746 time for calcul the mask position with numpy : 0.04312705993652344 nb_pixel_total : 222311 time to create 1 rle with new method : 0.8998379707336426 time for calcul the mask position with numpy : 0.03504610061645508 nb_pixel_total : 9293 time to create 1 rle with old method : 0.010498046875 time for calcul the mask position with numpy : 0.034909725189208984 nb_pixel_total : 27871 time to create 1 rle with old method : 0.03173065185546875 time for calcul the mask position with numpy : 0.03011322021484375 nb_pixel_total : 9091 time to create 1 rle with old method : 0.010227680206298828 time for calcul the mask position with numpy : 0.024145841598510742 nb_pixel_total : 15030 time to create 1 rle with old method : 0.017828702926635742 time for calcul the mask position with numpy : 0.023258686065673828 nb_pixel_total : 63119 time to create 1 rle with old method : 0.06853675842285156 create new chi : 3.709723949432373 time to delete rle : 0.0009188652038574219 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8962 TO DO : save crop sub photo not yet done ! save time : 0.5641920566558838 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 6.1690826416015625 time for calcul the mask position with numpy : 0.8297767639160156 nb_pixel_total : 6623736 time to create 1 rle with new method : 0.9475607872009277 time for calcul the mask position with numpy : 0.04309225082397461 nb_pixel_total : 275641 time to create 1 rle with new method : 0.7092735767364502 time for calcul the mask position with numpy : 0.038942813873291016 nb_pixel_total : 17591 time to create 1 rle with old method : 0.021459579467773438 time for calcul the mask position with numpy : 0.03494381904602051 nb_pixel_total : 9792 time to create 1 rle with old method : 0.010949850082397461 time for calcul the mask position with numpy : 0.037750959396362305 nb_pixel_total : 37340 time to create 1 rle with old method : 0.04705047607421875 time for calcul the mask position with numpy : 0.04165816307067871 nb_pixel_total : 59607 time to create 1 rle with old method : 0.07029390335083008 time for calcul the mask position with numpy : 0.030972719192504883 nb_pixel_total : 2479 time to create 1 rle with old method : 0.0030982494354248047 time for calcul the mask position with numpy : 0.04187178611755371 nb_pixel_total : 13191 time to create 1 rle with old method : 0.015020132064819336 time for calcul the mask position with numpy : 0.041954755783081055 nb_pixel_total : 10863 time to create 1 rle with old method : 0.016640186309814453 create new chi : 3.0779616832733154 time to delete rle : 0.001111745834350586 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 6347 TO DO : save crop sub photo not yet done ! save time : 0.41347670555114746 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 11.78025770187378 time for calcul the mask position with numpy : 0.7604823112487793 nb_pixel_total : 5408099 time to create 1 rle with new method : 0.616276741027832 time for calcul the mask position with numpy : 0.030007123947143555 nb_pixel_total : 429591 time to create 1 rle with new method : 1.0859918594360352 time for calcul the mask position with numpy : 0.04038715362548828 nb_pixel_total : 10401 time to create 1 rle with old method : 0.01128244400024414 time for calcul the mask position with numpy : 0.04237866401672363 nb_pixel_total : 265554 time to create 1 rle with new method : 0.5360705852508545 time for calcul the mask position with numpy : 0.04070782661437988 nb_pixel_total : 492348 time to create 1 rle with new method : 0.5942990779876709 time for calcul the mask position with numpy : 0.04256892204284668 nb_pixel_total : 48856 time to create 1 rle with old method : 0.0641791820526123 time for calcul the mask position with numpy : 0.040508270263671875 nb_pixel_total : 15316 time to create 1 rle with old method : 0.019392967224121094 time for calcul the mask position with numpy : 0.045278072357177734 nb_pixel_total : 7756 time to create 1 rle with old method : 0.008967876434326172 time for calcul the mask position with numpy : 0.04429340362548828 nb_pixel_total : 7734 time to create 1 rle with old method : 0.008765459060668945 time for calcul the mask position with numpy : 0.04165768623352051 nb_pixel_total : 53190 time to create 1 rle with old method : 0.05725502967834473 time for calcul the mask position with numpy : 0.04258608818054199 nb_pixel_total : 3030 time to create 1 rle with old method : 0.0033414363861083984 time for calcul the mask position with numpy : 0.04025626182556152 nb_pixel_total : 81863 time to create 1 rle with old method : 0.08488821983337402 time for calcul the mask position with numpy : 0.041281700134277344 nb_pixel_total : 11490 time to create 1 rle with old method : 0.012361288070678711 time for calcul the mask position with numpy : 0.03880786895751953 nb_pixel_total : 14521 time to create 1 rle with old method : 0.020755529403686523 time for calcul the mask position with numpy : 0.040850162506103516 nb_pixel_total : 16964 time to create 1 rle with old method : 0.0177609920501709 time for calcul the mask position with numpy : 0.04059147834777832 nb_pixel_total : 25571 time to create 1 rle with old method : 0.026812314987182617 time for calcul the mask position with numpy : 0.04283452033996582 nb_pixel_total : 106063 time to create 1 rle with old method : 0.12466311454772949 time for calcul the mask position with numpy : 0.047540903091430664 nb_pixel_total : 51893 time to create 1 rle with old method : 0.05437326431274414 create new chi : 4.943649530410767 time to delete rle : 0.0019605159759521484 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 13854 TO DO : save crop sub photo not yet done ! save time : 0.8530476093292236 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 7.64948296546936 time for calcul the mask position with numpy : 0.7909548282623291 nb_pixel_total : 6543795 time to create 1 rle with new method : 0.8318841457366943 time for calcul the mask position with numpy : 0.027827978134155273 nb_pixel_total : 124772 time to create 1 rle with old method : 0.13135647773742676 time for calcul the mask position with numpy : 0.05604672431945801 nb_pixel_total : 271 time to create 1 rle with old method : 0.0005044937133789062 time for calcul the mask position with numpy : 0.0452580451965332 nb_pixel_total : 55996 time to create 1 rle with old method : 0.06027054786682129 time for calcul the mask position with numpy : 0.0454103946685791 nb_pixel_total : 6393 time to create 1 rle with old method : 0.007223844528198242 time for calcul the mask position with numpy : 0.045302391052246094 nb_pixel_total : 4092 time to create 1 rle with old method : 0.0047054290771484375 time for calcul the mask position with numpy : 0.04224348068237305 nb_pixel_total : 1502 time to create 1 rle with old method : 0.0019376277923583984 time for calcul the mask position with numpy : 0.04213285446166992 nb_pixel_total : 19129 time to create 1 rle with old method : 0.020558595657348633 time for calcul the mask position with numpy : 0.045714378356933594 nb_pixel_total : 6977 time to create 1 rle with old method : 0.008092880249023438 time for calcul the mask position with numpy : 0.04824495315551758 nb_pixel_total : 5174 time to create 1 rle with old method : 0.006089925765991211 time for calcul the mask position with numpy : 0.05050849914550781 nb_pixel_total : 2841 time to create 1 rle with old method : 0.0039179325103759766 time for calcul the mask position with numpy : 0.051904916763305664 nb_pixel_total : 5084 time to create 1 rle with old method : 0.006338596343994141 time for calcul the mask position with numpy : 0.04718470573425293 nb_pixel_total : 10337 time to create 1 rle with old method : 0.012346744537353516 time for calcul the mask position with numpy : 0.04120612144470215 nb_pixel_total : 2827 time to create 1 rle with old method : 0.0032329559326171875 time for calcul the mask position with numpy : 0.04314732551574707 nb_pixel_total : 139264 time to create 1 rle with old method : 0.14466190338134766 time for calcul the mask position with numpy : 0.0429995059967041 nb_pixel_total : 121786 time to create 1 rle with old method : 0.12537169456481934 create new chi : 2.8831515312194824 time to delete rle : 0.0012519359588623047 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 7533 TO DO : save crop sub photo not yet done ! save time : 0.47031617164611816 nb_obj : 17 nb_hashtags : 5 time to prepare the origin masks : 10.020132541656494 time for calcul the mask position with numpy : 0.7909917831420898 nb_pixel_total : 5802991 time to create 1 rle with new method : 0.5958611965179443 time for calcul the mask position with numpy : 0.027562379837036133 nb_pixel_total : 328965 time to create 1 rle with new method : 0.7517905235290527 time for calcul the mask position with numpy : 0.024776458740234375 nb_pixel_total : 59763 time to create 1 rle with old method : 0.06299233436584473 time for calcul the mask position with numpy : 0.02476811408996582 nb_pixel_total : 18842 time to create 1 rle with old method : 0.019072771072387695 time for calcul the mask position with numpy : 0.02452373504638672 nb_pixel_total : 5250 time to create 1 rle with old method : 0.005410432815551758 time for calcul the mask position with numpy : 0.02327275276184082 nb_pixel_total : 5127 time to create 1 rle with old method : 0.005555868148803711 time for calcul the mask position with numpy : 0.022426366806030273 nb_pixel_total : 2451 time to create 1 rle with old method : 0.0025343894958496094 time for calcul the mask position with numpy : 0.02335047721862793 nb_pixel_total : 4219 time to create 1 rle with old method : 0.004323244094848633 time for calcul the mask position with numpy : 0.02848982810974121 nb_pixel_total : 30747 time to create 1 rle with old method : 0.03282737731933594 time for calcul the mask position with numpy : 0.02649831771850586 nb_pixel_total : 143349 time to create 1 rle with old method : 0.15230131149291992 time for calcul the mask position with numpy : 0.0388035774230957 nb_pixel_total : 14379 time to create 1 rle with old method : 0.0163118839263916 time for calcul the mask position with numpy : 0.04111194610595703 nb_pixel_total : 342253 time to create 1 rle with new method : 0.5449352264404297 time for calcul the mask position with numpy : 0.047510623931884766 nb_pixel_total : 2928 time to create 1 rle with old method : 0.0045948028564453125 time for calcul the mask position with numpy : 0.04634737968444824 nb_pixel_total : 394 time to create 1 rle with old method : 0.0005309581756591797 time for calcul the mask position with numpy : 0.048488616943359375 nb_pixel_total : 2397 time to create 1 rle with old method : 0.004503488540649414 time for calcul the mask position with numpy : 0.05397748947143555 nb_pixel_total : 21270 time to create 1 rle with old method : 0.03842473030090332 time for calcul the mask position with numpy : 0.05383133888244629 nb_pixel_total : 115661 time to create 1 rle with old method : 0.23011183738708496 time for calcul the mask position with numpy : 0.059098005294799805 nb_pixel_total : 149254 time to create 1 rle with old method : 0.2075338363647461 create new chi : 4.219726800918579 time to delete rle : 0.0013256072998046875 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 11538 TO DO : save crop sub photo not yet done ! save time : 0.913297176361084 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 8.435822010040283 time for calcul the mask position with numpy : 0.11359596252441406 nb_pixel_total : 2954135 time to create 1 rle with new method : 0.6142151355743408 time for calcul the mask position with numpy : 0.02213907241821289 nb_pixel_total : 3802 time to create 1 rle with old method : 0.004231929779052734 time for calcul the mask position with numpy : 0.03625917434692383 nb_pixel_total : 73430 time to create 1 rle with old method : 0.08692359924316406 time for calcul the mask position with numpy : 0.037375688552856445 nb_pixel_total : 3030 time to create 1 rle with old method : 0.0033295154571533203 time for calcul the mask position with numpy : 0.03873491287231445 nb_pixel_total : 155101 time to create 1 rle with new method : 0.3633229732513428 time for calcul the mask position with numpy : 0.03906106948852539 nb_pixel_total : 8102 time to create 1 rle with old method : 0.009241819381713867 time for calcul the mask position with numpy : 0.037622928619384766 nb_pixel_total : 39878 time to create 1 rle with old method : 0.04393768310546875 time for calcul the mask position with numpy : 0.033477067947387695 nb_pixel_total : 2193 time to create 1 rle with old method : 0.0024614334106445312 time for calcul the mask position with numpy : 0.034212350845336914 nb_pixel_total : 11293 time to create 1 rle with old method : 0.012648582458496094 time for calcul the mask position with numpy : 0.4102287292480469 nb_pixel_total : 3606284 time to create 1 rle with new method : 0.5892112255096436 time for calcul the mask position with numpy : 0.029006004333496094 nb_pixel_total : 41565 time to create 1 rle with old method : 0.04338240623474121 time for calcul the mask position with numpy : 0.023992300033569336 nb_pixel_total : 69069 time to create 1 rle with old method : 0.07758808135986328 time for calcul the mask position with numpy : 0.028742313385009766 nb_pixel_total : 82358 time to create 1 rle with old method : 0.09847187995910645 create new chi : 2.935030937194824 time to delete rle : 0.0018610954284667969 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 15364 TO DO : save crop sub photo not yet done ! save time : 0.9077930450439453 nb_obj : 15 nb_hashtags : 6 time to prepare the origin masks : 9.072418689727783 time for calcul the mask position with numpy : 0.380418062210083 nb_pixel_total : 5140811 time to create 1 rle with new method : 0.9183130264282227 time for calcul the mask position with numpy : 0.027132511138916016 nb_pixel_total : 52540 time to create 1 rle with old method : 0.05608201026916504 time for calcul the mask position with numpy : 0.026573657989501953 nb_pixel_total : 142088 time to create 1 rle with old method : 0.1472032070159912 time for calcul the mask position with numpy : 0.025146484375 nb_pixel_total : 41449 time to create 1 rle with old method : 0.04299449920654297 time for calcul the mask position with numpy : 0.029340505599975586 nb_pixel_total : 35617 time to create 1 rle with old method : 0.05379891395568848 time for calcul the mask position with numpy : 0.025084733963012695 nb_pixel_total : 24725 time to create 1 rle with old method : 0.027390718460083008 time for calcul the mask position with numpy : 0.023830175399780273 nb_pixel_total : 3752 time to create 1 rle with old method : 0.004038572311401367 time for calcul the mask position with numpy : 0.02588820457458496 nb_pixel_total : 7376 time to create 1 rle with old method : 0.00813436508178711 time for calcul the mask position with numpy : 0.02456951141357422 nb_pixel_total : 36252 time to create 1 rle with old method : 0.037317752838134766 time for calcul the mask position with numpy : 0.03828859329223633 nb_pixel_total : 1358073 time to create 1 rle with new method : 0.43921399116516113 time for calcul the mask position with numpy : 0.027505159378051758 nb_pixel_total : 7583 time to create 1 rle with old method : 0.00907754898071289 time for calcul the mask position with numpy : 0.02596879005432129 nb_pixel_total : 34825 time to create 1 rle with old method : 0.037795305252075195 time for calcul the mask position with numpy : 0.03096771240234375 nb_pixel_total : 144958 time to create 1 rle with old method : 0.15146255493164062 time for calcul the mask position with numpy : 0.03043341636657715 nb_pixel_total : 90 time to create 1 rle with old method : 0.0002465248107910156 time for calcul the mask position with numpy : 0.029332637786865234 nb_pixel_total : 3313 time to create 1 rle with old method : 0.004353761672973633 time for calcul the mask position with numpy : 0.027029037475585938 nb_pixel_total : 16788 time to create 1 rle with old method : 0.019761323928833008 create new chi : 2.825084924697876 time to delete rle : 0.0019600391387939453 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 13655 TO DO : save crop sub photo not yet done ! save time : 0.8283288478851318 nb_obj : 32 nb_hashtags : 8 time to prepare the origin masks : 13.519320726394653 time for calcul the mask position with numpy : 0.6200652122497559 nb_pixel_total : 5767571 time to create 1 rle with new method : 0.7636075019836426 time for calcul the mask position with numpy : 0.02991342544555664 nb_pixel_total : 93615 time to create 1 rle with old method : 0.10031700134277344 time for calcul the mask position with numpy : 0.029241561889648438 nb_pixel_total : 4531 time to create 1 rle with old method : 0.00511622428894043 time for calcul the mask position with numpy : 0.029854536056518555 nb_pixel_total : 145796 time to create 1 rle with old method : 0.15565061569213867 time for calcul the mask position with numpy : 0.029060840606689453 nb_pixel_total : 15248 time to create 1 rle with old method : 0.01729297637939453 time for calcul the mask position with numpy : 0.029254436492919922 nb_pixel_total : 36674 time to create 1 rle with old method : 0.03994584083557129 time for calcul the mask position with numpy : 0.029301166534423828 nb_pixel_total : 29088 time to create 1 rle with old method : 0.03226613998413086 time for calcul the mask position with numpy : 0.02919912338256836 nb_pixel_total : 15560 time to create 1 rle with old method : 0.016901493072509766 time for calcul the mask position with numpy : 0.02957630157470703 nb_pixel_total : 40130 time to create 1 rle with old method : 0.043470144271850586 time for calcul the mask position with numpy : 0.02915477752685547 nb_pixel_total : 9735 time to create 1 rle with old method : 0.010584592819213867 time for calcul the mask position with numpy : 0.029383420944213867 nb_pixel_total : 27246 time to create 1 rle with old method : 0.029366016387939453 time for calcul the mask position with numpy : 0.03131747245788574 nb_pixel_total : 26644 time to create 1 rle with old method : 0.02843928337097168 time for calcul the mask position with numpy : 0.029309749603271484 nb_pixel_total : 58114 time to create 1 rle with old method : 0.06239819526672363 time for calcul the mask position with numpy : 0.030560016632080078 nb_pixel_total : 26826 time to create 1 rle with old method : 0.02882099151611328 time for calcul the mask position with numpy : 0.02893209457397461 nb_pixel_total : 5340 time to create 1 rle with old method : 0.00609278678894043 time for calcul the mask position with numpy : 0.029682397842407227 nb_pixel_total : 61947 time to create 1 rle with old method : 0.07736921310424805 time for calcul the mask position with numpy : 0.031171321868896484 nb_pixel_total : 15212 time to create 1 rle with old method : 0.016603708267211914 time for calcul the mask position with numpy : 0.029164552688598633 nb_pixel_total : 19448 time to create 1 rle with old method : 0.020848989486694336 time for calcul the mask position with numpy : 0.0290987491607666 nb_pixel_total : 51056 time to create 1 rle with old method : 0.05655336380004883 time for calcul the mask position with numpy : 0.03299379348754883 nb_pixel_total : 312873 time to create 1 rle with new method : 0.5359461307525635 time for calcul the mask position with numpy : 0.028977394104003906 nb_pixel_total : 16054 time to create 1 rle with old method : 0.01805734634399414 time for calcul the mask position with numpy : 0.028992176055908203 nb_pixel_total : 5498 time to create 1 rle with old method : 0.006441831588745117 time for calcul the mask position with numpy : 0.028800487518310547 nb_pixel_total : 4080 time to create 1 rle with old method : 0.004431724548339844 time for calcul the mask position with numpy : 0.030302047729492188 nb_pixel_total : 14933 time to create 1 rle with old method : 0.01633310317993164 time for calcul the mask position with numpy : 0.027895450592041016 nb_pixel_total : 36606 time to create 1 rle with old method : 0.03892159461975098 time for calcul the mask position with numpy : 0.028242111206054688 nb_pixel_total : 22954 time to create 1 rle with old method : 0.02436542510986328 time for calcul the mask position with numpy : 0.030040502548217773 nb_pixel_total : 32249 time to create 1 rle with old method : 0.03318595886230469 time for calcul the mask position with numpy : 0.029118776321411133 nb_pixel_total : 130221 time to create 1 rle with old method : 0.13887929916381836 time for calcul the mask position with numpy : 0.028722286224365234 nb_pixel_total : 7440 time to create 1 rle with old method : 0.008496522903442383 time for calcul the mask position with numpy : 0.029040813446044922 nb_pixel_total : 8095 time to create 1 rle with old method : 0.009067058563232422 time for calcul the mask position with numpy : 0.029308080673217773 nb_pixel_total : 1865 time to create 1 rle with old method : 0.002112865447998047 time for calcul the mask position with numpy : 0.02870321273803711 nb_pixel_total : 4731 time to create 1 rle with old method : 0.00533294677734375 time for calcul the mask position with numpy : 0.029401540756225586 nb_pixel_total : 2860 time to create 1 rle with old method : 0.0032830238342285156 create new chi : 3.99182391166687 time to delete rle : 0.0015301704406738281 batch 1 Loaded 33 chid ids of type : 3726 Number RLEs to save : 16611 TO DO : save crop sub photo not yet done ! save time : 1.0868332386016846 nb_obj : 23 nb_hashtags : 8 time to prepare the origin masks : 17.058523654937744 time for calcul the mask position with numpy : 0.3468656539916992 nb_pixel_total : 5901709 time to create 1 rle with new method : 1.301990270614624 time for calcul the mask position with numpy : 0.022321224212646484 nb_pixel_total : 34608 time to create 1 rle with old method : 0.036812782287597656 time for calcul the mask position with numpy : 0.022147417068481445 nb_pixel_total : 114621 time to create 1 rle with old method : 0.12149381637573242 time for calcul the mask position with numpy : 0.022104501724243164 nb_pixel_total : 54812 time to create 1 rle with old method : 0.05847430229187012 time for calcul the mask position with numpy : 0.02123856544494629 nb_pixel_total : 20524 time to create 1 rle with old method : 0.022047996520996094 time for calcul the mask position with numpy : 0.021590709686279297 nb_pixel_total : 49310 time to create 1 rle with old method : 0.052437782287597656 time for calcul the mask position with numpy : 0.021593570709228516 nb_pixel_total : 27675 time to create 1 rle with old method : 0.02880239486694336 time for calcul the mask position with numpy : 0.021626949310302734 nb_pixel_total : 2019 time to create 1 rle with old method : 0.0024116039276123047 time for calcul the mask position with numpy : 0.024001359939575195 nb_pixel_total : 352842 time to create 1 rle with new method : 0.6195569038391113 time for calcul the mask position with numpy : 0.02384042739868164 nb_pixel_total : 29141 time to create 1 rle with old method : 0.03146481513977051 time for calcul the mask position with numpy : 0.021463871002197266 nb_pixel_total : 19263 time to create 1 rle with old method : 0.021042585372924805 time for calcul the mask position with numpy : 0.02245187759399414 nb_pixel_total : 27906 time to create 1 rle with old method : 0.03602886199951172 time for calcul the mask position with numpy : 0.03038811683654785 nb_pixel_total : 4973 time to create 1 rle with old method : 0.005968809127807617 time for calcul the mask position with numpy : 0.023630142211914062 nb_pixel_total : 43526 time to create 1 rle with old method : 0.046486616134643555 time for calcul the mask position with numpy : 0.024322986602783203 nb_pixel_total : 13504 time to create 1 rle with old method : 0.015249013900756836 time for calcul the mask position with numpy : 0.02243661880493164 nb_pixel_total : 53200 time to create 1 rle with old method : 0.057494401931762695 time for calcul the mask position with numpy : 0.02486562728881836 nb_pixel_total : 9004 time to create 1 rle with old method : 0.010127067565917969 time for calcul the mask position with numpy : 0.02264857292175293 nb_pixel_total : 48591 time to create 1 rle with old method : 0.05233120918273926 time for calcul the mask position with numpy : 0.021904706954956055 nb_pixel_total : 20343 time to create 1 rle with old method : 0.023453712463378906 time for calcul the mask position with numpy : 0.022042274475097656 nb_pixel_total : 18900 time to create 1 rle with old method : 0.020631074905395508 time for calcul the mask position with numpy : 0.022263526916503906 nb_pixel_total : 1097 time to create 1 rle with old method : 0.001422882080078125 time for calcul the mask position with numpy : 0.03289794921875 nb_pixel_total : 51700 time to create 1 rle with old method : 0.060259342193603516 time for calcul the mask position with numpy : 0.04113602638244629 nb_pixel_total : 69044 time to create 1 rle with old method : 0.1031789779663086 time for calcul the mask position with numpy : 0.03789520263671875 nb_pixel_total : 81928 time to create 1 rle with old method : 0.08875012397766113 create new chi : 3.795440912246704 time to delete rle : 0.0014467239379882812 batch 1 Loaded 24 chid ids of type : 3726 Number RLEs to save : 15725 TO DO : save crop sub photo not yet done ! save time : 0.9168519973754883 map_output_result : {1336794462: (0.0, 'Should be the crop_list due to order', 0.0), 1336793567: (0.0, 'Should be the crop_list due to order', 0.0), 1336793492: (0.0, 'Should be the crop_list due to order', 0.0), 1336793423: (0.0, 'Should be the crop_list due to order', 0.0), 1336793329: (0.0, 'Should be the crop_list due to order', 0.0), 1336793226: (0.0, 'Should be the crop_list due to order', 0.0), 1336793112: (0.0, 'Should be the crop_list due to order', 0.0), 1336792626: (0.0, 'Should be the crop_list due to order', 0.0), 1336792623: (0.0, 'Should be the crop_list due to order', 0.0), 1336792620: (0.0, 'Should be the crop_list due to order', 0.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 [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] Looping around the photos to save general results len do output : 10 /1336794462.Didn't retrieve data . /1336793567.Didn't retrieve data . /1336793492.Didn't retrieve data . /1336793423.Didn't retrieve data . /1336793329.Didn't retrieve data . /1336793226.Didn't retrieve data . /1336793112.Didn't retrieve data . /1336792626.Didn't retrieve data . /1336792623.Didn't retrieve data . /1336792620.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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01618361473083496 save_final save missing photos in datou_result : time spend for datou_step_exec : 150.8161437511444 time spend to save output : 0.01677536964416504 total time spend for step 5 : 150.83291912078857 step6:crop_condition Tue Feb 11 21:29:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 179 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739305777_77643 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.3781111240386963 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/1739305785_77643 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7024033069610596 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/1739305790_77643 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.461766004562378 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739305793_77643 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.3476462364196777 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 ! 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/1739305797_77643 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.213542938232422 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 ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739305805_77643 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7587988376617432 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739305809_77643 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.553990125656128 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 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/1739305812_77643 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7215468883514404 we have finished the crop for the class : metal delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] Looping around the photos to save general results len do output : 37 /1336911523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336911588Didn'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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 121 time used for this insertion : 0.03383326530456543 save_final save missing photos in datou_result : time spend for datou_step_exec : 39.79153227806091 time spend to save output : 0.034921884536743164 total time spend for step 6 : 39.826454162597656 step7:ventilate_hashtags_in_portfolio Tue Feb 11 21:30:13 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 : 20461697 get user id for portfolio 20461697 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`=20461697 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','environnement','autre_refus','Carton_gris','cartonnette','plastique','papier','kraft','Carton_brun','mal_croppe','flou')) 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`=20461697 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','environnement','autre_refus','Carton_gris','cartonnette','plastique','papier','kraft','Carton_brun','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20461978,20461979,20461980,20461981,20461982,20461983,20461984,20461985,20461986,20461987,20461988,20461989?tags=Carton_gris,flou,Teint_Dans_La_Masse,kraft,Carton_brun,cartonnette,autre_refus,environnement,papier,mal_croppe,metal,plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] Looping around the photos to save general results len do output : 1 /20461697. 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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01561737060546875 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4463262557983398 time spend to save output : 0.0159149169921875 total time spend for step 7 : 1.4622411727905273 step8:final Tue Feb 11 21:30:14 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 : {1336794462: ('0.09699840659825476',), 1336793567: ('0.09699840659825476',), 1336793492: ('0.09699840659825476',), 1336793423: ('0.09699840659825476',), 1336793329: ('0.09699840659825476',), 1336793226: ('0.09699840659825476',), 1336793112: ('0.09699840659825476',), 1336792626: ('0.09699840659825476',), 1336792623: ('0.09699840659825476',), 1336792620: ('0.09699840659825476',)} new output for save of step final : {1336794462: ('0.09699840659825476',), 1336793567: ('0.09699840659825476',), 1336793492: ('0.09699840659825476',), 1336793423: ('0.09699840659825476',), 1336793329: ('0.09699840659825476',), 1336793226: ('0.09699840659825476',), 1336793112: ('0.09699840659825476',), 1336792626: ('0.09699840659825476',), 1336792623: ('0.09699840659825476',), 1336792620: ('0.09699840659825476',)} [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] Looping around the photos to save general results len do output : 10 /1336794462.Didn't retrieve data . /1336793567.Didn't retrieve data . /1336793492.Didn't retrieve data . /1336793423.Didn't retrieve data . /1336793329.Didn't retrieve data . /1336793226.Didn't retrieve data . /1336793112.Didn't retrieve data . /1336792626.Didn't retrieve data . /1336792623.Didn't retrieve data . /1336792620.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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013061761856079102 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10768985748291016 time spend to save output : 0.013722419738769531 total time spend for step 8 : 0.12141227722167969 step9:velours_tree Tue Feb 11 21:30:15 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.07417774200439453 time spend to save output : 4.220008850097656e-05 total time spend for step 9 : 0.07421994209289551 step10:send_mail_cod Tue Feb 11 21:30:15 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_P20461697_11-02-2025_21_30_15.pdf 20461979 imagette204619791739305815 20461981 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204619811739305815 20461983 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204619831739305815 20461984 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 .imagette204619841739305815 20461987 imagette204619871739305816 20461988 change filename to text .imagette204619881739305816 20461989 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 .imagette204619891739305816 20461978 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 .imagette204619781739305817 20461980 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 .imagette204619801739305818 20461982 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 .imagette204619821739305818 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20461697 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20461978,20461979,20461980,20461981,20461982,20461983,20461984,20461985,20461986,20461987,20461988,20461989?tags=Carton_gris,flou,Teint_Dans_La_Masse,kraft,Carton_brun,cartonnette,autre_refus,environnement,papier,mal_croppe,metal,plastique your option no_mail is active, we will not send the real mail to your client args[1336794462] : ('0.09699840659825476',) no score found for photo 1336794462 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336793567] : ('0.09699840659825476',) no score found for photo 1336793567 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336793492] : ('0.09699840659825476',) no score found for photo 1336793492 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336793423] : ('0.09699840659825476',) no score found for photo 1336793423 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336793329] : ('0.09699840659825476',) no score found for photo 1336793329 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336793226] : ('0.09699840659825476',) no score found for photo 1336793226 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336793112] : ('0.09699840659825476',) no score found for photo 1336793112 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336792626] : ('0.09699840659825476',) no score found for photo 1336792626 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336792623] : ('0.09699840659825476',) no score found for photo 1336792623 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com args[1336792620] : ('0.09699840659825476',) no score found for photo 1336792620 apple ('0.09699840659825476',) We are sending mail with results at report@fotonower.com refus_total : 0.09699840659825476 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=20461697 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1336797871,1336793226,1336793329,1336793423,1336793492,1336793567,1336794688,1336794754,1336796211,1336794898,1336796103,1336797885,1336792620,1336797806,1336797703,1336794936,1336794462,1336793112,1336792626,1336792623) Found this number of photos: 20 begin to download photo : 1336797871 begin to download photo : 1336793567 begin to download photo : 1336796103 begin to download photo : 1336794936 download finish for photo 1336797871 begin to download photo : 1336793226 download finish for photo 1336794936 begin to download photo : 1336794462 download finish for photo 1336793567 begin to download photo : 1336794688 download finish for photo 1336796103 begin to download photo : 1336797885 download finish for photo 1336793226 begin to download photo : 1336793329 download finish for photo 1336794688 begin to download photo : 1336794754 download finish for photo 1336794462 begin to download photo : 1336793112 download finish for photo 1336797885 begin to download photo : 1336792620 download finish for photo 1336794754 begin to download photo : 1336796211 download finish for photo 1336793329 begin to download photo : 1336793423 download finish for photo 1336793112 begin to download photo : 1336792626 download finish for photo 1336792620 begin to download photo : 1336797806 download finish for photo 1336796211 begin to download photo : 1336794898 download finish for photo 1336792626 begin to download photo : 1336792623 download finish for photo 1336793423 begin to download photo : 1336793492 download finish for photo 1336797806 begin to download photo : 1336797703 download finish for photo 1336793492 download finish for photo 1336794898 download finish for photo 1336792623 download finish for photo 1336797703 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461697_11-02-2025_21_30_15.pdf results_Auto_P20461697_11-02-2025_21_30_15.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461697_11-02-2025_21_30_15.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','20461697','results_Auto_P20461697_11-02-2025_21_30_15.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461697_11-02-2025_21_30_15.pdf','pdf','','1.17','0.09699840659825476') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] 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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013616800308227539 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.881398916244507 time spend to save output : 0.013992071151733398 total time spend for step 10 : 8.89539098739624 step11:split_time_score Tue Feb 11 21:30:24 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'}] (('11', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11022025 20461697 Nombre de photos uploadées : 20 / 23040 (0%) 11022025 20461697 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 11022025 20461697 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 2.193450927734375e-05 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016438961029052734 elapsed_time : insert_dashboard_record_day_entry 0.024937152862548828 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 = 20461688 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461689 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461690 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461691 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461692 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461693 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461694 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461695 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461696 order by id desc limit 1 Qualite : 0.08017768812741913 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461697_11-02-2025_21_30_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461697 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`=20461697 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461698 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461699 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461700 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461701 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461702 order by id desc limit 1 Qualite : 0.027728019800622006 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461703 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`=20461703 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461704 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461705 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461706 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461707 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461708 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461709 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461710 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461711 order by id desc limit 1 Qualite : 0.11839248806077622 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461712_11-02-2025_21_28_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461712 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`=20461712 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461713 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461714 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461715 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461716 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461717 order by id desc limit 1 Qualite : 0.02953539912490668 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461718_11-02-2025_21_26_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461718 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`=20461718 AND mptpi.`type`=4207 To do Qualite : 0.041030917312523105 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20461719_11-02-2025_21_22_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20461719 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`=20461719 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11022025': {'nb_upload': 20, '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 [1336794462, 1336793567, 1336793492, 1336793423, 1336793329, 1336793226, 1336793112, 1336792626, 1336792623, 1336792620] Looping around the photos to save general results len do output : 1 /20461697Didn'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, '2577749') ('3459', None, '1336794462', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793567', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793492', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793423', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793329', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793226', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336793112', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792626', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792623', None, None, None, None, None, '2577749') ('3459', None, None, None, None, None, None, None, '2577749') ('3459', None, '1336792620', None, None, None, None, None, '2577749') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.017256975173950195 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.133599281311035 time spend to save output : 0.01750922203063965 total time spend for step 11 : 22.151108503341675 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 189.35user 155.30system 6:21.80elapsed 90%CPU (0avgtext+0avgdata 4980616maxresident)k 803096inputs+167472outputs (4429major+14734139minor)pagefaults 0swaps