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 : 3801421 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 : 40>10 please execute split_portfolio.py -i 20881926 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2619746'] with mtr_portfolio_ids : ['20881926'] and first list_photo_ids : [] new path : /proc/3801421/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.975961685180664 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Thu Feb 27 14:26: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 : 5304 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-27 14:26:33.353586: 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-27 14:26:33.379061: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-27 14:26:33.381188: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe01c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-27 14:26:33.381258: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-27 14:26:33.385334: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-27 14:26:33.542876: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x28b0a960 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-27 14:26:33.542945: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-27 14:26:33.543634: 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-27 14:26:33.544156: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:26:33.547536: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:26:33.550092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 14:26:33.550500: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 14:26:33.554207: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 14:26:33.555393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 14:26:33.562916: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 14:26:33.564463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 14:26:33.564623: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:26:33.565319: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-27 14:26:33.565342: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-27 14:26:33.565355: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-27 14:26:33.566579: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4843 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-27 14:26:33.971730: 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-27 14:26:33.971819: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:26:33.971836: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:26:33.971852: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 14:26:33.971866: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 14:26:33.971881: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 14:26:33.971903: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 14:26:33.971918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 14:26:33.972984: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 14:26:33.974191: 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-27 14:26:33.974292: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:26:33.974321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:26:33.974344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 14:26:33.974366: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 14:26:33.974389: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 14:26:33.974411: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 14:26:33.974439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 14:26:33.975630: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 14:26:33.975669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-27 14:26:33.975679: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-27 14:26:33.975687: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-27 14:26:33.976794: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4843 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-27 14:26:47.088752: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:26:47.303994: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 14:26:48.903805: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 : 1 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 : 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 : 15 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 : 17 Detection mask done ! Trying to reset tf kernel 3801836 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 423 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 : 5304 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.001255035400390625 nb_pixel_total : 35538 time to create 1 rle with old method : 0.043005943298339844 length of segment : 264 time for calcul the mask position with numpy : 0.0001068115234375 nb_pixel_total : 1588 time to create 1 rle with old method : 0.0021092891693115234 length of segment : 51 time for calcul the mask position with numpy : 0.002096414566040039 nb_pixel_total : 84228 time to create 1 rle with old method : 0.11272549629211426 length of segment : 413 time for calcul the mask position with numpy : 1.079174280166626 nb_pixel_total : 618139 time to create 1 rle with new method : 0.08793187141418457 length of segment : 1458 time for calcul the mask position with numpy : 0.00046539306640625 nb_pixel_total : 15585 time to create 1 rle with old method : 0.0189211368560791 length of segment : 128 time for calcul the mask position with numpy : 0.0015761852264404297 nb_pixel_total : 77007 time to create 1 rle with old method : 0.09523558616638184 length of segment : 530 time for calcul the mask position with numpy : 0.0015149116516113281 nb_pixel_total : 61434 time to create 1 rle with old method : 0.07804441452026367 length of segment : 127 time for calcul the mask position with numpy : 0.0034766197204589844 nb_pixel_total : 109171 time to create 1 rle with old method : 0.13316893577575684 length of segment : 392 time for calcul the mask position with numpy : 0.0011928081512451172 nb_pixel_total : 52858 time to create 1 rle with old method : 0.06502342224121094 length of segment : 215 time for calcul the mask position with numpy : 0.000522613525390625 nb_pixel_total : 17701 time to create 1 rle with old method : 0.02165699005126953 length of segment : 213 time for calcul the mask position with numpy : 0.001422882080078125 nb_pixel_total : 59780 time to create 1 rle with old method : 0.07001137733459473 length of segment : 263 time for calcul the mask position with numpy : 0.0006449222564697266 nb_pixel_total : 25302 time to create 1 rle with old method : 0.027642011642456055 length of segment : 162 time for calcul the mask position with numpy : 0.00026416778564453125 nb_pixel_total : 7667 time to create 1 rle with old method : 0.008880138397216797 length of segment : 145 time for calcul the mask position with numpy : 0.0014159679412841797 nb_pixel_total : 55356 time to create 1 rle with old method : 0.05935835838317871 length of segment : 343 time for calcul the mask position with numpy : 0.0025119781494140625 nb_pixel_total : 113038 time to create 1 rle with old method : 0.18787360191345215 length of segment : 451 time for calcul the mask position with numpy : 0.001680612564086914 nb_pixel_total : 57475 time to create 1 rle with old method : 0.08619523048400879 length of segment : 375 time for calcul the mask position with numpy : 0.0014011859893798828 nb_pixel_total : 14749 time to create 1 rle with old method : 0.017763853073120117 length of segment : 252 time for calcul the mask position with numpy : 0.00038743019104003906 nb_pixel_total : 13969 time to create 1 rle with old method : 0.0160677433013916 length of segment : 141 time for calcul the mask position with numpy : 0.0005300045013427734 nb_pixel_total : 24636 time to create 1 rle with old method : 0.03328371047973633 length of segment : 177 time for calcul the mask position with numpy : 0.0013172626495361328 nb_pixel_total : 58964 time to create 1 rle with old method : 0.0690159797668457 length of segment : 299 time for calcul the mask position with numpy : 0.0006096363067626953 nb_pixel_total : 15512 time to create 1 rle with old method : 0.023171424865722656 length of segment : 169 time for calcul the mask position with numpy : 0.0011229515075683594 nb_pixel_total : 56681 time to create 1 rle with old method : 0.06593632698059082 length of segment : 304 time for calcul the mask position with numpy : 0.0006473064422607422 nb_pixel_total : 11981 time to create 1 rle with old method : 0.020005464553833008 length of segment : 144 time for calcul the mask position with numpy : 0.003919124603271484 nb_pixel_total : 139217 time to create 1 rle with old method : 0.175520658493042 length of segment : 623 time for calcul the mask position with numpy : 0.0018548965454101562 nb_pixel_total : 57563 time to create 1 rle with old method : 0.06803560256958008 length of segment : 289 time for calcul the mask position with numpy : 0.0023505687713623047 nb_pixel_total : 77256 time to create 1 rle with old method : 0.08751797676086426 length of segment : 539 time for calcul the mask position with numpy : 0.0002319812774658203 nb_pixel_total : 5479 time to create 1 rle with old method : 0.006591081619262695 length of segment : 72 time for calcul the mask position with numpy : 0.00014781951904296875 nb_pixel_total : 3241 time to create 1 rle with old method : 0.004068851470947266 length of segment : 44 time for calcul the mask position with numpy : 0.0003390312194824219 nb_pixel_total : 9345 time to create 1 rle with old method : 0.011201620101928711 length of segment : 141 time for calcul the mask position with numpy : 0.0010476112365722656 nb_pixel_total : 38054 time to create 1 rle with old method : 0.0466306209564209 length of segment : 187 time for calcul the mask position with numpy : 0.003924846649169922 nb_pixel_total : 163207 time to create 1 rle with new method : 0.006412506103515625 length of segment : 502 time for calcul the mask position with numpy : 0.002930164337158203 nb_pixel_total : 108240 time to create 1 rle with old method : 0.1217041015625 length of segment : 443 time for calcul the mask position with numpy : 0.00039696693420410156 nb_pixel_total : 4323 time to create 1 rle with old method : 0.006235837936401367 length of segment : 105 time for calcul the mask position with numpy : 0.0015382766723632812 nb_pixel_total : 49734 time to create 1 rle with old method : 0.05634903907775879 length of segment : 246 time for calcul the mask position with numpy : 0.0007698535919189453 nb_pixel_total : 14261 time to create 1 rle with old method : 0.026329517364501953 length of segment : 183 time for calcul the mask position with numpy : 0.0026280879974365234 nb_pixel_total : 122144 time to create 1 rle with old method : 0.135817289352417 length of segment : 458 time for calcul the mask position with numpy : 0.0017845630645751953 nb_pixel_total : 129062 time to create 1 rle with old method : 0.1421811580657959 length of segment : 488 time for calcul the mask position with numpy : 0.0034363269805908203 nb_pixel_total : 124269 time to create 1 rle with old method : 0.1419210433959961 length of segment : 467 time for calcul the mask position with numpy : 0.0021216869354248047 nb_pixel_total : 69493 time to create 1 rle with old method : 0.07678437232971191 length of segment : 397 time for calcul the mask position with numpy : 0.004071474075317383 nb_pixel_total : 198086 time to create 1 rle with new method : 0.008692264556884766 length of segment : 347 time for calcul the mask position with numpy : 0.0030922889709472656 nb_pixel_total : 198639 time to create 1 rle with new method : 0.007530689239501953 length of segment : 347 time for calcul the mask position with numpy : 0.0030031204223632812 nb_pixel_total : 127912 time to create 1 rle with old method : 0.1428821086883545 length of segment : 455 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 4739 time to create 1 rle with old method : 0.005625247955322266 length of segment : 48 time for calcul the mask position with numpy : 0.002269268035888672 nb_pixel_total : 94899 time to create 1 rle with old method : 0.11162447929382324 length of segment : 423 time for calcul the mask position with numpy : 0.02104473114013672 nb_pixel_total : 650985 time to create 1 rle with new method : 0.09635639190673828 length of segment : 1335 time for calcul the mask position with numpy : 0.0005295276641845703 nb_pixel_total : 4931 time to create 1 rle with old method : 0.008288860321044922 length of segment : 121 time for calcul the mask position with numpy : 0.15883278846740723 nb_pixel_total : 1352477 time to create 1 rle with new method : 0.11038446426391602 length of segment : 1727 time for calcul the mask position with numpy : 0.0014994144439697266 nb_pixel_total : 41829 time to create 1 rle with old method : 0.04748225212097168 length of segment : 459 time for calcul the mask position with numpy : 0.0006527900695800781 nb_pixel_total : 16100 time to create 1 rle with old method : 0.018319129943847656 length of segment : 181 time for calcul the mask position with numpy : 0.0028243064880371094 nb_pixel_total : 179789 time to create 1 rle with new method : 0.006412982940673828 length of segment : 570 time for calcul the mask position with numpy : 0.004029750823974609 nb_pixel_total : 211223 time to create 1 rle with new method : 0.0077588558197021484 length of segment : 682 time for calcul the mask position with numpy : 0.0003387928009033203 nb_pixel_total : 2566 time to create 1 rle with old method : 0.0032889842987060547 length of segment : 84 time for calcul the mask position with numpy : 0.0018894672393798828 nb_pixel_total : 83457 time to create 1 rle with old method : 0.12356162071228027 length of segment : 476 time for calcul the mask position with numpy : 0.00015592575073242188 nb_pixel_total : 1253 time to create 1 rle with old method : 0.001605987548828125 length of segment : 45 time for calcul the mask position with numpy : 0.00011587142944335938 nb_pixel_total : 727 time to create 1 rle with old method : 0.0009679794311523438 length of segment : 29 time for calcul the mask position with numpy : 0.0017974376678466797 nb_pixel_total : 55427 time to create 1 rle with old method : 0.06183576583862305 length of segment : 397 time for calcul the mask position with numpy : 0.22077703475952148 nb_pixel_total : 4430310 time to create 1 rle with new method : 0.3805673122406006 length of segment : 4217 time for calcul the mask position with numpy : 0.006879329681396484 nb_pixel_total : 218068 time to create 1 rle with new method : 0.01141214370727539 length of segment : 600 time for calcul the mask position with numpy : 0.0010712146759033203 nb_pixel_total : 35282 time to create 1 rle with old method : 0.039658546447753906 length of segment : 236 time for calcul the mask position with numpy : 0.0023605823516845703 nb_pixel_total : 183249 time to create 1 rle with new method : 0.005480527877807617 length of segment : 583 time for calcul the mask position with numpy : 0.0017440319061279297 nb_pixel_total : 47159 time to create 1 rle with old method : 0.07041239738464355 length of segment : 298 time for calcul the mask position with numpy : 0.0012314319610595703 nb_pixel_total : 37638 time to create 1 rle with old method : 0.041565656661987305 length of segment : 267 time for calcul the mask position with numpy : 0.0013387203216552734 nb_pixel_total : 45387 time to create 1 rle with old method : 0.05184149742126465 length of segment : 209 time for calcul the mask position with numpy : 0.024172544479370117 nb_pixel_total : 789001 time to create 1 rle with new method : 0.04205822944641113 length of segment : 1521 time for calcul the mask position with numpy : 0.0008904933929443359 nb_pixel_total : 35568 time to create 1 rle with old method : 0.040411949157714844 length of segment : 233 time for calcul the mask position with numpy : 0.010475397109985352 nb_pixel_total : 392479 time to create 1 rle with new method : 0.019666433334350586 length of segment : 1073 time for calcul the mask position with numpy : 0.002680063247680664 nb_pixel_total : 87853 time to create 1 rle with old method : 0.0985105037689209 length of segment : 317 time for calcul the mask position with numpy : 0.00022125244140625 nb_pixel_total : 5715 time to create 1 rle with old method : 0.006714820861816406 length of segment : 84 time for calcul the mask position with numpy : 0.001012563705444336 nb_pixel_total : 39618 time to create 1 rle with old method : 0.05939674377441406 length of segment : 188 time for calcul the mask position with numpy : 0.010055780410766602 nb_pixel_total : 365917 time to create 1 rle with new method : 0.013357400894165039 length of segment : 1029 time for calcul the mask position with numpy : 0.0006818771362304688 nb_pixel_total : 23038 time to create 1 rle with old method : 0.02648186683654785 length of segment : 226 time for calcul the mask position with numpy : 0.05457019805908203 nb_pixel_total : 2899123 time to create 1 rle with new method : 2.540966272354126 length of segment : 2532 time for calcul the mask position with numpy : 0.0005509853363037109 nb_pixel_total : 20193 time to create 1 rle with old method : 0.027054548263549805 length of segment : 157 time for calcul the mask position with numpy : 0.00016164779663085938 nb_pixel_total : 2156 time to create 1 rle with old method : 0.002602815628051758 length of segment : 65 time for calcul the mask position with numpy : 0.0007317066192626953 nb_pixel_total : 34478 time to create 1 rle with old method : 0.038826704025268555 length of segment : 169 time for calcul the mask position with numpy : 0.0002543926239013672 nb_pixel_total : 5457 time to create 1 rle with old method : 0.006128549575805664 length of segment : 115 time for calcul the mask position with numpy : 0.0011742115020751953 nb_pixel_total : 73089 time to create 1 rle with old method : 0.08130431175231934 length of segment : 360 time for calcul the mask position with numpy : 0.0012791156768798828 nb_pixel_total : 80747 time to create 1 rle with old method : 0.08902859687805176 length of segment : 381 time for calcul the mask position with numpy : 0.0030493736267089844 nb_pixel_total : 88955 time to create 1 rle with old method : 0.10273146629333496 length of segment : 437 time for calcul the mask position with numpy : 0.0007889270782470703 nb_pixel_total : 26837 time to create 1 rle with old method : 0.03097677230834961 length of segment : 221 time for calcul the mask position with numpy : 0.0016069412231445312 nb_pixel_total : 80010 time to create 1 rle with old method : 0.08964943885803223 length of segment : 526 time for calcul the mask position with numpy : 0.0008835792541503906 nb_pixel_total : 35911 time to create 1 rle with old method : 0.043144941329956055 length of segment : 216 time for calcul the mask position with numpy : 0.0008995532989501953 nb_pixel_total : 25198 time to create 1 rle with old method : 0.02883434295654297 length of segment : 185 time for calcul the mask position with numpy : 0.002507448196411133 nb_pixel_total : 154136 time to create 1 rle with new method : 0.0048944950103759766 length of segment : 496 time for calcul the mask position with numpy : 0.0006291866302490234 nb_pixel_total : 29052 time to create 1 rle with old method : 0.033751726150512695 length of segment : 225 time for calcul the mask position with numpy : 7.62939453125e-05 nb_pixel_total : 781 time to create 1 rle with old method : 0.0010311603546142578 length of segment : 62 time for calcul the mask position with numpy : 0.0013391971588134766 nb_pixel_total : 74362 time to create 1 rle with old method : 0.08346986770629883 length of segment : 243 time for calcul the mask position with numpy : 0.009111404418945312 nb_pixel_total : 401899 time to create 1 rle with new method : 0.016751766204833984 length of segment : 1079 time for calcul the mask position with numpy : 9.751319885253906e-05 nb_pixel_total : 1142 time to create 1 rle with old method : 0.0014085769653320312 length of segment : 47 time for calcul the mask position with numpy : 0.0005033016204833984 nb_pixel_total : 17690 time to create 1 rle with old method : 0.019119739532470703 length of segment : 296 time for calcul the mask position with numpy : 0.00020432472229003906 nb_pixel_total : 8118 time to create 1 rle with old method : 0.0094146728515625 length of segment : 115 time for calcul the mask position with numpy : 0.00015115737915039062 nb_pixel_total : 5477 time to create 1 rle with old method : 0.0064165592193603516 length of segment : 87 time for calcul the mask position with numpy : 0.0004088878631591797 nb_pixel_total : 11898 time to create 1 rle with old method : 0.01443028450012207 length of segment : 230 time for calcul the mask position with numpy : 0.0013186931610107422 nb_pixel_total : 74318 time to create 1 rle with old method : 0.08176684379577637 length of segment : 458 time for calcul the mask position with numpy : 0.002433300018310547 nb_pixel_total : 92888 time to create 1 rle with old method : 0.10006570816040039 length of segment : 552 time for calcul the mask position with numpy : 0.0018315315246582031 nb_pixel_total : 72307 time to create 1 rle with old method : 0.07846927642822266 length of segment : 429 time for calcul the mask position with numpy : 0.0002636909484863281 nb_pixel_total : 2488 time to create 1 rle with old method : 0.0030565261840820312 length of segment : 113 time for calcul the mask position with numpy : 0.00044155120849609375 nb_pixel_total : 10550 time to create 1 rle with old method : 0.012345314025878906 length of segment : 152 time for calcul the mask position with numpy : 0.00014781951904296875 nb_pixel_total : 3017 time to create 1 rle with old method : 0.003713846206665039 length of segment : 72 time for calcul the mask position with numpy : 0.0009484291076660156 nb_pixel_total : 29592 time to create 1 rle with old method : 0.03404855728149414 length of segment : 208 time for calcul the mask position with numpy : 0.00016927719116210938 nb_pixel_total : 5810 time to create 1 rle with old method : 0.007100105285644531 length of segment : 79 time for calcul the mask position with numpy : 0.0001919269561767578 nb_pixel_total : 8056 time to create 1 rle with old method : 0.009253740310668945 length of segment : 171 time for calcul the mask position with numpy : 0.0009453296661376953 nb_pixel_total : 14854 time to create 1 rle with old method : 0.016719579696655273 length of segment : 242 time for calcul the mask position with numpy : 0.0067598819732666016 nb_pixel_total : 283468 time to create 1 rle with new method : 0.010376214981079102 length of segment : 547 time for calcul the mask position with numpy : 0.00024771690368652344 nb_pixel_total : 5960 time to create 1 rle with old method : 0.0074651241302490234 length of segment : 63 time for calcul the mask position with numpy : 0.0004374980926513672 nb_pixel_total : 12026 time to create 1 rle with old method : 0.015141010284423828 length of segment : 136 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 4084 time to create 1 rle with old method : 0.0051119327545166016 length of segment : 86 time for calcul the mask position with numpy : 0.0005087852478027344 nb_pixel_total : 9230 time to create 1 rle with old method : 0.011029958724975586 length of segment : 139 time for calcul the mask position with numpy : 0.001848459243774414 nb_pixel_total : 78435 time to create 1 rle with old method : 0.0906836986541748 length of segment : 401 time for calcul the mask position with numpy : 0.24583005905151367 nb_pixel_total : 2845717 time to create 1 rle with new method : 0.3510448932647705 length of segment : 3190 time for calcul the mask position with numpy : 0.0006647109985351562 nb_pixel_total : 21146 time to create 1 rle with old method : 0.0339205265045166 length of segment : 266 time for calcul the mask position with numpy : 0.00011682510375976562 nb_pixel_total : 2962 time to create 1 rle with old method : 0.003579854965209961 length of segment : 45 time for calcul the mask position with numpy : 0.0008511543273925781 nb_pixel_total : 51479 time to create 1 rle with old method : 0.061890363693237305 length of segment : 275 time for calcul the mask position with numpy : 0.0022475719451904297 nb_pixel_total : 63229 time to create 1 rle with old method : 0.0865929126739502 length of segment : 650 time for calcul the mask position with numpy : 0.000759124755859375 nb_pixel_total : 24822 time to create 1 rle with old method : 0.02873063087463379 length of segment : 156 time for calcul the mask position with numpy : 0.000982046127319336 nb_pixel_total : 57143 time to create 1 rle with old method : 0.06359195709228516 length of segment : 246 time for calcul the mask position with numpy : 0.0016655921936035156 nb_pixel_total : 57759 time to create 1 rle with old method : 0.07302737236022949 length of segment : 297 time for calcul the mask position with numpy : 0.002740144729614258 nb_pixel_total : 63096 time to create 1 rle with old method : 0.07137823104858398 length of segment : 296 time for calcul the mask position with numpy : 0.0009274482727050781 nb_pixel_total : 14452 time to create 1 rle with old method : 0.01749897003173828 length of segment : 223 time for calcul the mask position with numpy : 0.0007474422454833984 nb_pixel_total : 15707 time to create 1 rle with old method : 0.018249034881591797 length of segment : 179 time for calcul the mask position with numpy : 0.00968623161315918 nb_pixel_total : 360465 time to create 1 rle with new method : 0.015449762344360352 length of segment : 918 time for calcul the mask position with numpy : 0.0021359920501708984 nb_pixel_total : 40383 time to create 1 rle with old method : 0.05889701843261719 length of segment : 471 time for calcul the mask position with numpy : 0.00025963783264160156 nb_pixel_total : 3490 time to create 1 rle with old method : 0.004614353179931641 length of segment : 46 time for calcul the mask position with numpy : 0.0013513565063476562 nb_pixel_total : 49968 time to create 1 rle with old method : 0.05914616584777832 length of segment : 273 time for calcul the mask position with numpy : 0.0010862350463867188 nb_pixel_total : 31303 time to create 1 rle with old method : 0.03490138053894043 length of segment : 222 time for calcul the mask position with numpy : 0.004746675491333008 nb_pixel_total : 197424 time to create 1 rle with new method : 0.008986711502075195 length of segment : 492 time for calcul the mask position with numpy : 0.022344589233398438 nb_pixel_total : 787615 time to create 1 rle with new method : 0.1130068302154541 length of segment : 1326 time for calcul the mask position with numpy : 0.01571941375732422 nb_pixel_total : 739882 time to create 1 rle with new method : 0.030375957489013672 length of segment : 1283 time for calcul the mask position with numpy : 0.001581430435180664 nb_pixel_total : 39970 time to create 1 rle with old method : 0.04873156547546387 length of segment : 376 time for calcul the mask position with numpy : 0.00012135505676269531 nb_pixel_total : 4134 time to create 1 rle with old method : 0.0048520565032958984 length of segment : 70 time for calcul the mask position with numpy : 0.0029137134552001953 nb_pixel_total : 98180 time to create 1 rle with old method : 0.1101067066192627 length of segment : 546 time for calcul the mask position with numpy : 0.0008385181427001953 nb_pixel_total : 55085 time to create 1 rle with old method : 0.06104445457458496 length of segment : 322 time for calcul the mask position with numpy : 0.003545522689819336 nb_pixel_total : 247229 time to create 1 rle with new method : 0.009326934814453125 length of segment : 573 time for calcul the mask position with numpy : 0.002536296844482422 nb_pixel_total : 86009 time to create 1 rle with old method : 0.09389281272888184 length of segment : 399 time for calcul the mask position with numpy : 0.0015497207641601562 nb_pixel_total : 85299 time to create 1 rle with old method : 0.09763979911804199 length of segment : 598 time for calcul the mask position with numpy : 0.0012371540069580078 nb_pixel_total : 74551 time to create 1 rle with old method : 0.08237504959106445 length of segment : 381 time for calcul the mask position with numpy : 0.005003929138183594 nb_pixel_total : 317974 time to create 1 rle with new method : 0.0124053955078125 length of segment : 1233 time for calcul the mask position with numpy : 0.0015377998352050781 nb_pixel_total : 36076 time to create 1 rle with old method : 0.04144740104675293 length of segment : 290 time spent for convertir_results : 22.110642194747925 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 138 chid ids of type : 3663 Number RLEs to save : 58741 save missing photos in datou_result : time spend for datou_step_exec : 74.76022028923035 time spend to save output : 3.3131284713745117 total time spend for step 1 : 78.07334876060486 step2:crop_condition Thu Feb 27 14:27:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 138 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 38 About to insert : list_path_to_insert length 38 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 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 [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] Looping around the photos to save general results len do output : 82 /-3688686936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687048Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686943Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686993Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686981Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687003Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687060Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686992Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687027Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686985Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687008Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687004Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687019Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687026Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687023Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687061Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687057Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687000Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687049Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688686983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687014Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688687055Didn'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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 256 time used for this insertion : 0.034723520278930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.883474349975586 time spend to save output : 0.037259578704833984 total time spend for step 2 : 41.92073392868042 step3:thcl Thu Feb 27 14:28: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 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.007564067840576172 time to convert the images to numpy array : 0.018296241760253906 time to import caffe and check if the image exist : 0.011837959289550781 time to convert the images to numpy array : 0.3103203773498535 time to import caffe and check if the image exist : 0.010483026504516602 time to convert the images to numpy array : 0.3143031597137451 time to import caffe and check if the image exist : 0.018740415573120117 time to convert the images to numpy array : 0.31430721282958984 time to import caffe and check if the image exist : 0.018520593643188477 time to convert the images to numpy array : 0.33155226707458496 time to import caffe and check if the image exist : 0.01149749755859375 time to convert the images to numpy array : 0.34235692024230957 time to import caffe and check if the image exist : 0.018563032150268555 time to convert the images to numpy array : 0.3359382152557373 time to import caffe and check if the image exist : 0.01574540138244629 time to convert the images to numpy array : 0.593315601348877 time to import caffe and check if the image exist : 0.01799178123474121 time to convert the images to numpy array : 0.6059596538543701 time to import caffe and check if the image exist : 0.01572704315185547 time to convert the images to numpy array : 0.9336607456207275 total time to convert the images to numpy array : 1.2598769664764404 list photo_ids error: [] list photo_ids correct : [-3688687055, -3688687008, -3688687004, -3688687002, -3688687006, -3688686998, -3688687019, -3688687018, -3688687026, -3688687023, -3688686936, -3688686932, -3688686954, -3688686967, -3688686969, -3688686971, -3688687001, -3688687032, -3688687036, -3688687041, -3688687045, -3688687037, -3688687039, -3688687058, -3688687061, -3688687057, -3688687047, -3688686935, -3688686992, -3688687007, -3688687005, -3688687027, -3688687040, -3688687054, -3688686940, -3688686933, -3688686924, -3688686926, -3688686938, -3688686934, -3688686945, -3688686953, -3688686959, -3688686962, -3688686955, -3688686961, -3688686928, -3688686982, -3688687000, -3688687049, -3688686937, -3688686948, -3688686983, -3688687017, -3688687014, -3688687038, -3688687048, -3688686939, -3688686943, -3688686960, -3688686993, -3688686986, -3688686981, -3688687003, -3688687010, -3688687060, -3688686929, -3688686931, -3688686947, -3688686964, -3688686965, -3688686979, -3688686988, -3688686957, -3688686973, -3688686974, -3688686990, -3688686984, -3688686987, -3688686985, -3688686989, -3688686994] number of photos to traite : 82 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 : 10593 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 : 10374 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.4052343368530273 time used to do the prediction : 0.22600388526916504 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 : 10205 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 : 9829 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.1908743381500244 time used to do the prediction : 0.16958379745483398 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 : 1.811981201171875e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.18086314201355 time spend to save output : 0.0006043910980224609 total time spend for step 3 : 11.181467533111572 step4:merge_mask_thcl_custom Thu Feb 27 14:28:41 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 138 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 [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] Looping around the photos to save general results len do output : 10 /1339838132Didn't retrieve data .Didn't retrieve data . /1339838108Didn't retrieve data .Didn't retrieve data . /1339838104Didn't retrieve data .Didn't retrieve data . /1339838100Didn't retrieve data .Didn't retrieve data . /1339837792Didn't retrieve data .Didn't retrieve data . /1339837779Didn't retrieve data .Didn't retrieve data . /1339728706Didn't retrieve data .Didn't retrieve data . /1339728702Didn't retrieve data .Didn't retrieve data . /1339728699Didn't retrieve data .Didn't retrieve data . /1339728688Didn'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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014927148818969727 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06797480583190918 time spend to save output : 0.015657424926757812 total time spend for step 4 : 0.08363223075866699 step5:rle_unique_nms_with_priority Thu Feb 27 14:28:41 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 : 18 nb_hashtags : 6 time to prepare the origin masks : 12.840391397476196 time for calcul the mask position with numpy : 0.36505746841430664 nb_pixel_total : 5866121 time to create 1 rle with new method : 0.6717376708984375 time for calcul the mask position with numpy : 0.024216651916503906 nb_pixel_total : 6919 time to create 1 rle with old method : 0.00938105583190918 time for calcul the mask position with numpy : 0.026524782180786133 nb_pixel_total : 52787 time to create 1 rle with old method : 0.0628201961517334 time for calcul the mask position with numpy : 0.023827075958251953 nb_pixel_total : 2016 time to create 1 rle with old method : 0.002512216567993164 time for calcul the mask position with numpy : 0.02274155616760254 nb_pixel_total : 17649 time to create 1 rle with old method : 0.021068572998046875 time for calcul the mask position with numpy : 0.021854400634765625 nb_pixel_total : 7647 time to create 1 rle with old method : 0.010953187942504883 time for calcul the mask position with numpy : 0.024685144424438477 nb_pixel_total : 25164 time to create 1 rle with old method : 0.03058791160583496 time for calcul the mask position with numpy : 0.022826433181762695 nb_pixel_total : 1584 time to create 1 rle with old method : 0.002746105194091797 time for calcul the mask position with numpy : 0.025357961654663086 nb_pixel_total : 14856 time to create 1 rle with old method : 0.01887202262878418 time for calcul the mask position with numpy : 0.025377273559570312 nb_pixel_total : 61091 time to create 1 rle with old method : 0.08532118797302246 time for calcul the mask position with numpy : 0.024183034896850586 nb_pixel_total : 35527 time to create 1 rle with old method : 0.03842759132385254 time for calcul the mask position with numpy : 0.024599075317382812 nb_pixel_total : 76908 time to create 1 rle with old method : 0.08971261978149414 time for calcul the mask position with numpy : 0.02353978157043457 nb_pixel_total : 57186 time to create 1 rle with old method : 0.06538701057434082 time for calcul the mask position with numpy : 0.03144049644470215 nb_pixel_total : 618629 time to create 1 rle with new method : 0.6435408592224121 time for calcul the mask position with numpy : 0.024270296096801758 nb_pixel_total : 15501 time to create 1 rle with old method : 0.021071195602416992 time for calcul the mask position with numpy : 0.024359703063964844 nb_pixel_total : 2644 time to create 1 rle with old method : 0.003465414047241211 time for calcul the mask position with numpy : 0.024302959442138672 nb_pixel_total : 1583 time to create 1 rle with old method : 0.002913236618041992 time for calcul the mask position with numpy : 0.027191638946533203 nb_pixel_total : 73621 time to create 1 rle with old method : 0.0826883316040039 time for calcul the mask position with numpy : 0.030180931091308594 nb_pixel_total : 112807 time to create 1 rle with old method : 0.1289677619934082 create new chi : 2.874664783477783 time to delete rle : 0.01772785186767578 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 12717 TO DO : save crop sub photo not yet done ! save time : 1.4004266262054443 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 5.19568133354187 time for calcul the mask position with numpy : 0.946967601776123 nb_pixel_total : 6726392 time to create 1 rle with new method : 0.4002268314361572 time for calcul the mask position with numpy : 0.04072237014770508 nb_pixel_total : 37907 time to create 1 rle with old method : 0.045304059982299805 time for calcul the mask position with numpy : 0.043535470962524414 nb_pixel_total : 3223 time to create 1 rle with old method : 0.0035791397094726562 time for calcul the mask position with numpy : 0.03253030776977539 nb_pixel_total : 56562 time to create 1 rle with old method : 0.06294846534729004 time for calcul the mask position with numpy : 0.029479026794433594 nb_pixel_total : 139238 time to create 1 rle with old method : 0.15209650993347168 time for calcul the mask position with numpy : 0.025899171829223633 nb_pixel_total : 11947 time to create 1 rle with old method : 0.012657403945922852 time for calcul the mask position with numpy : 0.02747821807861328 nb_pixel_total : 15389 time to create 1 rle with old method : 0.0185394287109375 time for calcul the mask position with numpy : 0.026128530502319336 nb_pixel_total : 763 time to create 1 rle with old method : 0.0012314319610595703 time for calcul the mask position with numpy : 0.029180049896240234 nb_pixel_total : 58819 time to create 1 rle with old method : 0.07450151443481445 create new chi : 2.0238847732543945 time to delete rle : 0.0008251667022705078 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 5961 TO DO : save crop sub photo not yet done ! save time : 0.378511905670166 nb_obj : 11 nb_hashtags : 7 time to prepare the origin masks : 6.959744930267334 time for calcul the mask position with numpy : 0.29282116889953613 nb_pixel_total : 6184066 time to create 1 rle with new method : 1.7565557956695557 time for calcul the mask position with numpy : 0.030413150787353516 nb_pixel_total : 69398 time to create 1 rle with old method : 0.0757913589477539 time for calcul the mask position with numpy : 0.030425310134887695 nb_pixel_total : 2085 time to create 1 rle with old method : 0.0027790069580078125 time for calcul the mask position with numpy : 0.0343167781829834 nb_pixel_total : 8020 time to create 1 rle with old method : 0.011600017547607422 time for calcul the mask position with numpy : 0.042609453201293945 nb_pixel_total : 122086 time to create 1 rle with old method : 0.13632583618164062 time for calcul the mask position with numpy : 0.03276681900024414 nb_pixel_total : 127367 time to create 1 rle with old method : 0.13025546073913574 time for calcul the mask position with numpy : 0.029673099517822266 nb_pixel_total : 198280 time to create 1 rle with new method : 0.8225822448730469 time for calcul the mask position with numpy : 0.026132583618164062 nb_pixel_total : 108027 time to create 1 rle with old method : 0.12735509872436523 time for calcul the mask position with numpy : 0.026993989944458008 nb_pixel_total : 14224 time to create 1 rle with old method : 0.015681028366088867 time for calcul the mask position with numpy : 0.02684307098388672 nb_pixel_total : 4288 time to create 1 rle with old method : 0.0047588348388671875 time for calcul the mask position with numpy : 0.026146411895751953 nb_pixel_total : 162895 time to create 1 rle with new method : 1.0945942401885986 time for calcul the mask position with numpy : 0.026186227798461914 nb_pixel_total : 49504 time to create 1 rle with old method : 0.05623793601989746 create new chi : 4.960870265960693 time to delete rle : 0.0012443065643310547 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 9501 TO DO : save crop sub photo not yet done ! save time : 1.1690380573272705 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 9.714450120925903 time for calcul the mask position with numpy : 0.29427623748779297 nb_pixel_total : 4443204 time to create 1 rle with new method : 0.945673942565918 time for calcul the mask position with numpy : 0.03090691566467285 nb_pixel_total : 41725 time to create 1 rle with old method : 0.05149722099304199 time for calcul the mask position with numpy : 0.03188657760620117 nb_pixel_total : 719 time to create 1 rle with old method : 0.0011017322540283203 time for calcul the mask position with numpy : 0.02779984474182129 nb_pixel_total : 1250 time to create 1 rle with old method : 0.0014374256134033203 time for calcul the mask position with numpy : 0.025431156158447266 nb_pixel_total : 2536 time to create 1 rle with old method : 0.002854585647583008 time for calcul the mask position with numpy : 0.02557063102722168 nb_pixel_total : 16045 time to create 1 rle with old method : 0.017143964767456055 time for calcul the mask position with numpy : 0.02451014518737793 nb_pixel_total : 4917 time to create 1 rle with old method : 0.005485057830810547 time for calcul the mask position with numpy : 0.04286527633666992 nb_pixel_total : 1349886 time to create 1 rle with new method : 0.5388262271881104 time for calcul the mask position with numpy : 0.03446078300476074 nb_pixel_total : 650057 time to create 1 rle with new method : 0.41559696197509766 time for calcul the mask position with numpy : 0.025800704956054688 nb_pixel_total : 179540 time to create 1 rle with new method : 0.6646316051483154 time for calcul the mask position with numpy : 0.025246858596801758 nb_pixel_total : 94787 time to create 1 rle with old method : 0.10206127166748047 time for calcul the mask position with numpy : 0.02410125732421875 nb_pixel_total : 210654 time to create 1 rle with new method : 0.7984414100646973 time for calcul the mask position with numpy : 0.025527477264404297 nb_pixel_total : 54920 time to create 1 rle with old method : 0.0613551139831543 create new chi : 4.421717882156372 time to delete rle : 0.002081155776977539 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 14143 TO DO : save crop sub photo not yet done ! save time : 0.8104538917541504 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 2.007509469985962 time for calcul the mask position with numpy : 0.038637399673461914 nb_pixel_total : 2623214 time to create 1 rle with new method : 1.057037115097046 time for calcul the mask position with numpy : 0.4785315990447998 nb_pixel_total : 4427026 time to create 1 rle with new method : 0.5156304836273193 create new chi : 2.1548612117767334 time to delete rle : 0.0009808540344238281 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 10152 TO DO : save crop sub photo not yet done ! save time : 0.6130430698394775 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 12.033706903457642 time for calcul the mask position with numpy : 0.16884350776672363 nb_pixel_total : 3428277 time to create 1 rle with new method : 0.7196142673492432 time for calcul the mask position with numpy : 0.021471500396728516 nb_pixel_total : 4495 time to create 1 rle with old method : 0.005548000335693359 time for calcul the mask position with numpy : 0.021554231643676758 nb_pixel_total : 36309 time to create 1 rle with old method : 0.04345226287841797 time for calcul the mask position with numpy : 0.022127151489257812 nb_pixel_total : 256 time to create 1 rle with old method : 0.0004987716674804688 time for calcul the mask position with numpy : 0.024862051010131836 nb_pixel_total : 87629 time to create 1 rle with old method : 0.0973806381225586 time for calcul the mask position with numpy : 0.027032852172851562 nb_pixel_total : 191392 time to create 1 rle with new method : 1.0772740840911865 time for calcul the mask position with numpy : 0.02170538902282715 nb_pixel_total : 27711 time to create 1 rle with old method : 0.03200840950012207 time for calcul the mask position with numpy : 0.022634029388427734 nb_pixel_total : 87419 time to create 1 rle with old method : 0.09619641304016113 time for calcul the mask position with numpy : 0.23727035522460938 nb_pixel_total : 2851917 time to create 1 rle with new method : 0.9436416625976562 time for calcul the mask position with numpy : 0.022679567337036133 nb_pixel_total : 5654 time to create 1 rle with old method : 0.0066394805908203125 time for calcul the mask position with numpy : 0.022604703903198242 nb_pixel_total : 39580 time to create 1 rle with old method : 0.04679083824157715 time for calcul the mask position with numpy : 0.022490501403808594 nb_pixel_total : 45261 time to create 1 rle with old method : 0.05138969421386719 time for calcul the mask position with numpy : 0.021312236785888672 nb_pixel_total : 38454 time to create 1 rle with old method : 0.04461526870727539 time for calcul the mask position with numpy : 0.022490262985229492 nb_pixel_total : 182861 time to create 1 rle with new method : 0.6793720722198486 time for calcul the mask position with numpy : 0.025968313217163086 nb_pixel_total : 23025 time to create 1 rle with old method : 0.039098501205444336 create new chi : 4.71199369430542 time to delete rle : 0.0018725395202636719 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 14939 TO DO : save crop sub photo not yet done ! save time : 0.8603658676147461 nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 14.64254641532898 time for calcul the mask position with numpy : 0.7595598697662354 nb_pixel_total : 6021968 time to create 1 rle with new method : 0.6273536682128906 time for calcul the mask position with numpy : 0.020549297332763672 nb_pixel_total : 5275 time to create 1 rle with old method : 0.005910634994506836 time for calcul the mask position with numpy : 0.021765947341918945 nb_pixel_total : 80264 time to create 1 rle with old method : 0.0869755744934082 time for calcul the mask position with numpy : 0.024392127990722656 nb_pixel_total : 2619 time to create 1 rle with old method : 0.00327301025390625 time for calcul the mask position with numpy : 0.021221399307250977 nb_pixel_total : 79833 time to create 1 rle with old method : 0.09183502197265625 time for calcul the mask position with numpy : 0.02268075942993164 nb_pixel_total : 5456 time to create 1 rle with old method : 0.006082296371459961 time for calcul the mask position with numpy : 0.022251605987548828 nb_pixel_total : 35759 time to create 1 rle with old method : 0.045192718505859375 time for calcul the mask position with numpy : 0.028626441955566406 nb_pixel_total : 1137 time to create 1 rle with old method : 0.0014133453369140625 time for calcul the mask position with numpy : 0.030817031860351562 nb_pixel_total : 402178 time to create 1 rle with new method : 0.8365676403045654 time for calcul the mask position with numpy : 0.022421836853027344 nb_pixel_total : 725 time to create 1 rle with old method : 0.0008418560028076172 time for calcul the mask position with numpy : 0.028867244720458984 nb_pixel_total : 25113 time to create 1 rle with old method : 0.027806997299194336 time for calcul the mask position with numpy : 0.03606557846069336 nb_pixel_total : 34297 time to create 1 rle with old method : 0.03864336013793945 time for calcul the mask position with numpy : 0.03436756134033203 nb_pixel_total : 26711 time to create 1 rle with old method : 0.029353618621826172 time for calcul the mask position with numpy : 0.03482341766357422 nb_pixel_total : 73960 time to create 1 rle with old method : 0.07995128631591797 time for calcul the mask position with numpy : 0.034554243087768555 nb_pixel_total : 74062 time to create 1 rle with old method : 0.08593988418579102 time for calcul the mask position with numpy : 0.03820991516113281 nb_pixel_total : 5426 time to create 1 rle with old method : 0.0059850215911865234 time for calcul the mask position with numpy : 0.03584742546081543 nb_pixel_total : 88864 time to create 1 rle with old method : 0.09668326377868652 time for calcul the mask position with numpy : 0.034088134765625 nb_pixel_total : 3860 time to create 1 rle with old method : 0.004552364349365234 time for calcul the mask position with numpy : 0.03394651412963867 nb_pixel_total : 80588 time to create 1 rle with old method : 0.0931081771850586 time for calcul the mask position with numpy : 0.030260324478149414 nb_pixel_total : 2145 time to create 1 rle with old method : 0.0024366378784179688 create new chi : 3.5498640537261963 time to delete rle : 0.001222372055053711 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 12707 TO DO : save crop sub photo not yet done ! save time : 0.852670431137085 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 7.889955282211304 time for calcul the mask position with numpy : 2.238051176071167 nb_pixel_total : 6524644 time to create 1 rle with new method : 0.5469355583190918 time for calcul the mask position with numpy : 0.03598618507385254 nb_pixel_total : 282586 time to create 1 rle with new method : 0.7472944259643555 time for calcul the mask position with numpy : 0.04553866386413574 nb_pixel_total : 14798 time to create 1 rle with old method : 0.028903722763061523 time for calcul the mask position with numpy : 0.05245852470397949 nb_pixel_total : 72061 time to create 1 rle with old method : 0.08472061157226562 time for calcul the mask position with numpy : 0.04142308235168457 nb_pixel_total : 4067 time to create 1 rle with old method : 0.004857063293457031 time for calcul the mask position with numpy : 0.04498934745788574 nb_pixel_total : 8029 time to create 1 rle with old method : 0.009584665298461914 time for calcul the mask position with numpy : 0.039507389068603516 nb_pixel_total : 5774 time to create 1 rle with old method : 0.006810903549194336 time for calcul the mask position with numpy : 0.039139747619628906 nb_pixel_total : 2988 time to create 1 rle with old method : 0.0034189224243164062 time for calcul the mask position with numpy : 0.0413057804107666 nb_pixel_total : 92833 time to create 1 rle with old method : 0.10327911376953125 time for calcul the mask position with numpy : 0.048483848571777344 nb_pixel_total : 10502 time to create 1 rle with old method : 0.017199993133544922 time for calcul the mask position with numpy : 0.052918195724487305 nb_pixel_total : 2472 time to create 1 rle with old method : 0.004103183746337891 time for calcul the mask position with numpy : 0.05049943923950195 nb_pixel_total : 29486 time to create 1 rle with old method : 0.03580331802368164 create new chi : 4.388232469558716 time to delete rle : 0.0012545585632324219 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7428 TO DO : save crop sub photo not yet done ! save time : 0.4555323123931885 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 11.963309526443481 time for calcul the mask position with numpy : 0.2662699222564697 nb_pixel_total : 3509695 time to create 1 rle with new method : 1.7524027824401855 time for calcul the mask position with numpy : 0.034185171127319336 nb_pixel_total : 359718 time to create 1 rle with new method : 1.3784053325653076 time for calcul the mask position with numpy : 0.023628711700439453 nb_pixel_total : 42466 time to create 1 rle with old method : 0.06301426887512207 time for calcul the mask position with numpy : 0.025725126266479492 nb_pixel_total : 63039 time to create 1 rle with old method : 0.07606744766235352 time for calcul the mask position with numpy : 0.024785757064819336 nb_pixel_total : 24762 time to create 1 rle with old method : 0.02945685386657715 time for calcul the mask position with numpy : 0.024541854858398438 nb_pixel_total : 2946 time to create 1 rle with old method : 0.0035490989685058594 time for calcul the mask position with numpy : 0.022542238235473633 nb_pixel_total : 3399 time to create 1 rle with old method : 0.004866123199462891 time for calcul the mask position with numpy : 0.02313232421875 nb_pixel_total : 76405 time to create 1 rle with old method : 0.0843505859375 time for calcul the mask position with numpy : 0.02393031120300293 nb_pixel_total : 21083 time to create 1 rle with old method : 0.02461552619934082 time for calcul the mask position with numpy : 0.1490917205810547 nb_pixel_total : 2830208 time to create 1 rle with new method : 1.626361608505249 time for calcul the mask position with numpy : 0.024601221084594727 nb_pixel_total : 24924 time to create 1 rle with old method : 0.034949541091918945 time for calcul the mask position with numpy : 0.02562856674194336 nb_pixel_total : 40248 time to create 1 rle with old method : 0.04703330993652344 time for calcul the mask position with numpy : 0.030622005462646484 nb_pixel_total : 51347 time to create 1 rle with old method : 0.06477499008178711 create new chi : 5.982309818267822 time to delete rle : 0.001775503158569336 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 15504 TO DO : save crop sub photo not yet done ! save time : 0.8833284378051758 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 11.129976511001587 time for calcul the mask position with numpy : 0.5452373027801514 nb_pixel_total : 4550040 time to create 1 rle with new method : 0.7772603034973145 time for calcul the mask position with numpy : 0.029814481735229492 nb_pixel_total : 13922 time to create 1 rle with old method : 0.01686835289001465 time for calcul the mask position with numpy : 0.03387117385864258 nb_pixel_total : 300244 time to create 1 rle with new method : 0.48298025131225586 time for calcul the mask position with numpy : 0.02981257438659668 nb_pixel_total : 49887 time to create 1 rle with old method : 0.07661843299865723 time for calcul the mask position with numpy : 0.02550792694091797 nb_pixel_total : 36030 time to create 1 rle with old method : 0.04023408889770508 time for calcul the mask position with numpy : 0.025012493133544922 nb_pixel_total : 11533 time to create 1 rle with old method : 0.015607595443725586 time for calcul the mask position with numpy : 0.033499717712402344 nb_pixel_total : 98181 time to create 1 rle with old method : 0.11626362800598145 time for calcul the mask position with numpy : 0.022232532501220703 nb_pixel_total : 74408 time to create 1 rle with old method : 0.08129286766052246 time for calcul the mask position with numpy : 0.0224759578704834 nb_pixel_total : 60160 time to create 1 rle with old method : 0.07011556625366211 time for calcul the mask position with numpy : 0.021938323974609375 nb_pixel_total : 54850 time to create 1 rle with old method : 0.07274746894836426 time for calcul the mask position with numpy : 0.023854970932006836 nb_pixel_total : 30974 time to create 1 rle with old method : 0.04270505905151367 time for calcul the mask position with numpy : 0.023474693298339844 nb_pixel_total : 3773 time to create 1 rle with old method : 0.004191160202026367 time for calcul the mask position with numpy : 0.02415323257446289 nb_pixel_total : 39807 time to create 1 rle with old method : 0.044381141662597656 time for calcul the mask position with numpy : 0.03115367889404297 nb_pixel_total : 739999 time to create 1 rle with new method : 0.3966059684753418 time for calcul the mask position with numpy : 0.04107260704040527 nb_pixel_total : 785822 time to create 1 rle with new method : 0.44333815574645996 time for calcul the mask position with numpy : 0.029328107833862305 nb_pixel_total : 3440 time to create 1 rle with old method : 0.003919839859008789 time for calcul the mask position with numpy : 0.03190302848815918 nb_pixel_total : 197170 time to create 1 rle with new method : 0.5653338432312012 create new chi : 4.393594980239868 time to delete rle : 0.0019450187683105469 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 15925 TO DO : save crop sub photo not yet done ! save time : 0.8937907218933105 map_output_result : {1339838132: (0.0, 'Should be the crop_list due to order', 0), 1339838108: (0.0, 'Should be the crop_list due to order', 0), 1339838104: (0.0, 'Should be the crop_list due to order', 0), 1339838100: (0.0, 'Should be the crop_list due to order', 0), 1339837792: (0.0, 'Should be the crop_list due to order', 0), 1339837779: (0.0, 'Should be the crop_list due to order', 0), 1339728706: (0.0, 'Should be the crop_list due to order', 0), 1339728702: (0.0, 'Should be the crop_list due to order', 0), 1339728699: (0.0, 'Should be the crop_list due to order', 0), 1339728688: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] Looping around the photos to save general results len do output : 10 /1339838132.Didn't retrieve data . /1339838108.Didn't retrieve data . /1339838104.Didn't retrieve data . /1339838100.Didn't retrieve data . /1339837792.Didn't retrieve data . /1339837779.Didn't retrieve data . /1339728706.Didn't retrieve data . /1339728702.Didn't retrieve data . /1339728699.Didn't retrieve data . /1339728688.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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01528310775756836 save_final save missing photos in datou_result : time spend for datou_step_exec : 143.3345377445221 time spend to save output : 0.01689314842224121 total time spend for step 5 : 143.35143089294434 step6:crop_condition Thu Feb 27 14:31:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 132 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/1740663069_3801421 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.8633015155792236 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 ! 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/1740663074_3801421 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6296215057373047 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/1740663078_3801421 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7871251106262207 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/1740663082_3801421 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.599862575531006 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 4869462 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740663090_3801421 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.5472285747528076 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 ! 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/1740663098_3801421 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.858891487121582 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740663102_3801421 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2147371768951416 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 [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] Looping around the photos to save general results len do output : 29 /1339920662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339920703Didn'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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 97 time used for this insertion : 0.029443740844726562 save_final save missing photos in datou_result : time spend for datou_step_exec : 39.62670302391052 time spend to save output : 0.04097485542297363 total time spend for step 6 : 39.667677879333496 step7:ventilate_hashtags_in_portfolio Thu Feb 27 14:31:44 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 : 20881926 get user id for portfolio 20881926 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`=20881926 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','kraft','metal','plastique','cartonnette','Teint_Dans_La_Masse','flou','mal_croppe','papier','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20881926 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','kraft','metal','plastique','cartonnette','Teint_Dans_La_Masse','flou','mal_croppe','papier','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do 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`=20881926 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','kraft','metal','plastique','cartonnette','Teint_Dans_La_Masse','flou','mal_croppe','papier','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20882026,20882027,20882028,20882029,20882030,20882031,20882032,20882033,20882034,20882035,20882036,20882037?tags=environnement,Carton_gris,kraft,metal,plastique,cartonnette,Teint_Dans_La_Masse,flou,mal_croppe,papier,autre_refus,Carton_brun Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] Looping around the photos to save general results len do output : 1 /20881926. 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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014410257339477539 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7379031181335449 time spend to save output : 0.014769792556762695 total time spend for step 7 : 0.7526729106903076 step8:final Thu Feb 27 14:31:45 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 : {1339838132: ('0.08484356722847543',), 1339838108: ('0.08484356722847543',), 1339838104: ('0.08484356722847543',), 1339838100: ('0.08484356722847543',), 1339837792: ('0.08484356722847543',), 1339837779: ('0.08484356722847543',), 1339728706: ('0.08484356722847543',), 1339728702: ('0.08484356722847543',), 1339728699: ('0.08484356722847543',), 1339728688: ('0.08484356722847543',)} new output for save of step final : {1339838132: ('0.08484356722847543',), 1339838108: ('0.08484356722847543',), 1339838104: ('0.08484356722847543',), 1339838100: ('0.08484356722847543',), 1339837792: ('0.08484356722847543',), 1339837779: ('0.08484356722847543',), 1339728706: ('0.08484356722847543',), 1339728702: ('0.08484356722847543',), 1339728699: ('0.08484356722847543',), 1339728688: ('0.08484356722847543',)} [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] Looping around the photos to save general results len do output : 10 /1339838132.Didn't retrieve data . /1339838108.Didn't retrieve data . /1339838104.Didn't retrieve data . /1339838100.Didn't retrieve data . /1339837792.Didn't retrieve data . /1339837779.Didn't retrieve data . /1339728706.Didn't retrieve data . /1339728702.Didn't retrieve data . /1339728699.Didn't retrieve data . /1339728688.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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012334108352661133 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11008834838867188 time spend to save output : 0.013004064559936523 total time spend for step 8 : 0.1230924129486084 step9:velours_tree Thu Feb 27 14:31:45 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.12862443923950195 time spend to save output : 7.843971252441406e-05 total time spend for step 9 : 0.12870287895202637 step10:send_mail_cod Thu Feb 27 14:31:45 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_P20881926_27-02-2025_14_31_45.pdf 20882028 change filename to text .imagette208820281740663105 20882029 imagette208820291740663105 20882030 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208820301740663105 20882031 change filename to text .change filename to text .change filename to text .change filename to text .imagette208820311740663106 20882033 imagette208820331740663106 20882034 imagette208820341740663106 20882036 change filename to text .imagette208820361740663106 20882027 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208820271740663106 20882032 change filename to text .change filename to text .change filename to text .change filename to text .imagette208820321740663106 20882037 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 .imagette208820371740663107 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20881926 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20882026,20882027,20882028,20882029,20882030,20882031,20882032,20882033,20882034,20882035,20882036,20882037?tags=environnement,Carton_gris,kraft,metal,plastique,cartonnette,Teint_Dans_La_Masse,flou,mal_croppe,papier,autre_refus,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1339838132] : ('0.08484356722847543',) no score found for photo 1339838132 We are sending mail with results at report@fotonower.com args[1339838108] : ('0.08484356722847543',) no score found for photo 1339838108 We are sending mail with results at report@fotonower.com args[1339838104] : ('0.08484356722847543',) no score found for photo 1339838104 We are sending mail with results at report@fotonower.com args[1339838100] : ('0.08484356722847543',) no score found for photo 1339838100 We are sending mail with results at report@fotonower.com args[1339837792] : ('0.08484356722847543',) no score found for photo 1339837792 We are sending mail with results at report@fotonower.com args[1339837779] : ('0.08484356722847543',) no score found for photo 1339837779 We are sending mail with results at report@fotonower.com args[1339728706] : ('0.08484356722847543',) no score found for photo 1339728706 We are sending mail with results at report@fotonower.com args[1339728702] : ('0.08484356722847543',) no score found for photo 1339728702 We are sending mail with results at report@fotonower.com args[1339728699] : ('0.08484356722847543',) no score found for photo 1339728699 We are sending mail with results at report@fotonower.com args[1339728688] : ('0.08484356722847543',) no score found for photo 1339728688 We are sending mail with results at report@fotonower.com refus_total : 0.08484356722847543 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=20881926 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339726076,1339724177,1339724183,1339838108,1339724192,1339724388,1339724226,1339724228,1339838104,1339838100,1339724323,1339724386,1339725935,1339728702,1339728706,1339726038,1339724327,1339724214,1339728699,1339726081) Found this number of photos: 20 begin to download photo : 1339726076 begin to download photo : 1339724388 begin to download photo : 1339724323 begin to download photo : 1339726038 download finish for photo 1339726076 begin to download photo : 1339724177 download finish for photo 1339724323 begin to download photo : 1339724386 download finish for photo 1339724388 begin to download photo : 1339724226 download finish for photo 1339726038 begin to download photo : 1339724327 download finish for photo 1339724386 begin to download photo : 1339725935 download finish for photo 1339724177 begin to download photo : 1339724183 download finish for photo 1339724226 begin to download photo : 1339724228 download finish for photo 1339724327 begin to download photo : 1339724214 download finish for photo 1339725935 begin to download photo : 1339728702 download finish for photo 1339724228 begin to download photo : 1339838104 download finish for photo 1339724183 begin to download photo : 1339838108 download finish for photo 1339838104 begin to download photo : 1339838100 download finish for photo 1339728702 begin to download photo : 1339728706 download finish for photo 1339838100 download finish for photo 1339838108 begin to download photo : 1339724192 download finish for photo 1339728706 download finish for photo 1339724192 download finish for photo 1339724214 begin to download photo : 1339728699 download finish for photo 1339728699 begin to download photo : 1339726081 download finish for photo 1339726081 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881926_27-02-2025_14_31_45.pdf results_Auto_P20881926_27-02-2025_14_31_45.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881926_27-02-2025_14_31_45.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','20881926','results_Auto_P20881926_27-02-2025_14_31_45.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881926_27-02-2025_14_31_45.pdf','pdf','','0.82','0.08484356722847543') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] 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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013594627380371094 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.606354236602783 time spend to save output : 0.013879776000976562 total time spend for step 10 : 8.62023401260376 step11:split_time_score Thu Feb 27 14:31:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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'}] (('13', 40),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20881926 Nombre de photos uploadées : 40 / 23040 (0%) 26022025 20881926 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 26022025 20881926 Nombre de photos taguées (volume) : 0 / 40 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.1920928955078125e-05 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003860950469970703 elapsed_time : insert_dashboard_record_day_entry 0.026961088180541992 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 = 20881903 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881904 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881905 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881906 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881907 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881908 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881909 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881910 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881911 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881912 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881913 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881914 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881915 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881916 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881917 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881918 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881919 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881920 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881921 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881922 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881923 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881924 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881925 order by id desc limit 1 Qualite : 0.08484356722847543 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881926_27-02-2025_14_31_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881926 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`=20881926 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881927 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881928 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881929 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881930 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881931 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881932 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881933 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881934 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881935 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881936 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881937 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881938 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881939 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881940 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881941 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881942 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881943 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881944 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881945 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881946 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881947 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881948 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881949 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881950 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881951 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881952 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881953 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881954 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 40, '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 [1339838132, 1339838108, 1339838104, 1339838100, 1339837792, 1339837779, 1339728706, 1339728702, 1339728699, 1339728688] Looping around the photos to save general results len do output : 1 /20881926Didn'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, '2619746') ('3459', '20881926', '1339838132', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838108', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838104', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339838100', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837792', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339837779', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728706', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728702', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728699', None, None, None, None, None, '2619746') ('3459', None, None, None, None, None, None, None, '2619746') ('3459', '20881926', '1339728688', None, None, None, None, None, '2619746') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014271736145019531 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.1831693649292 time spend to save output : 0.16544651985168457 total time spend for step 11 : 41.348615884780884 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 150.70user 153.35system 6:11.58elapsed 81%CPU (0avgtext+0avgdata 4181636maxresident)k 620640inputs+137944outputs (19383major+11666349minor)pagefaults 0swaps