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 : 1533059 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 : 22>10 please execute split_portfolio.py -i 20277508 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2557190'] with mtr_portfolio_ids : ['20277508'] and first list_photo_ids : [] new path : /proc/1533059/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.864964723587036 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 6 00:48:31 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 : 3594 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-06 00:48:34.783396: 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-06 00:48:34.811281: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-06 00:48:34.813384: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2dec000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-06 00:48:34.813437: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-06 00:48:34.817397: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-06 00:48:35.077114: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x153de6c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-06 00:48:35.077208: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-06 00:48:35.078560: 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-06 00:48:35.079080: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:48:35.082328: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:48:35.085577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 00:48:35.086131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 00:48:35.089826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 00:48:35.091310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 00:48:35.097908: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:48:35.099621: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 00:48:35.099864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:48:35.100747: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 00:48:35.100777: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 00:48:35.100790: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 00:48:35.102337: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3142 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-06 00:48:35.387257: 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-06 00:48:35.387413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:48:35.387458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:48:35.387497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 00:48:35.387536: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 00:48:35.387573: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 00:48:35.387609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 00:48:35.387646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:48:35.388757: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 00:48:35.389856: 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-06 00:48:35.389904: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:48:35.389923: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:48:35.389940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 00:48:35.389958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 00:48:35.389975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 00:48:35.389993: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 00:48:35.390010: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:48:35.391046: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 00:48:35.391080: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 00:48:35.391090: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 00:48:35.391100: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 00:48:35.392465: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3142 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-06 00:48:48.626443: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:48:48.804305: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:48:50.240803: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.241406: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.31G (2483748864 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.456414: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-02-06 00:48:50.512572: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.512644: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.513249: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.513268: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.515132: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.515153: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 292.30MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.515740: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.515756: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 292.30MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.553209: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.553235: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.553800: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.553829: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.555775: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.555793: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.556326: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.556340: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.581221: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.581251: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 564.38MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.581838: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.581853: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 564.38MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:48:50.583377: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.583936: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.589322: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.589913: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.591581: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.592150: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.597668: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.598216: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.599764: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.600354: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.626250: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.626812: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.627359: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.627899: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.631415: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.632007: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.647185: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.647778: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.648333: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.648873: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.661051: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.661597: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.662138: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.662676: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.666904: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.667499: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.672047: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.672592: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.684438: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.685048: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.689150: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.689741: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.690326: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.690934: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.691681: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.692253: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.702951: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.703538: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.704135: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.704679: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.705223: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.705764: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.720524: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.721116: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.743881: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.743912: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-02-06 00:48:50.744488: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.745045: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.752726: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.753312: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.758406: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.759015: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.766759: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.767356: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.785838: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.786631: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.787430: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.788160: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.792182: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.792740: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.793280: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.793819: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.794733: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.804820: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.805359: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.814180: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.814774: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.815389: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.815977: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.816546: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:48:50.817165: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 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 : 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 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 Detection mask done ! Trying to reset tf kernel 1533578 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2180 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 : 3373 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.004040718078613281 nb_pixel_total : 122922 time to create 1 rle with old method : 0.14010930061340332 length of segment : 407 time for calcul the mask position with numpy : 0.001142263412475586 nb_pixel_total : 37062 time to create 1 rle with old method : 0.042536258697509766 length of segment : 400 time for calcul the mask position with numpy : 0.0007131099700927734 nb_pixel_total : 13558 time to create 1 rle with old method : 0.015940427780151367 length of segment : 227 time for calcul the mask position with numpy : 0.0002677440643310547 nb_pixel_total : 4786 time to create 1 rle with old method : 0.00877690315246582 length of segment : 102 time for calcul the mask position with numpy : 0.007052898406982422 nb_pixel_total : 201069 time to create 1 rle with new method : 0.013245820999145508 length of segment : 339 time for calcul the mask position with numpy : 0.0004200935363769531 nb_pixel_total : 10045 time to create 1 rle with old method : 0.012992382049560547 length of segment : 87 time for calcul the mask position with numpy : 0.00023674964904785156 nb_pixel_total : 3633 time to create 1 rle with old method : 0.004378557205200195 length of segment : 99 time for calcul the mask position with numpy : 0.004834175109863281 nb_pixel_total : 231152 time to create 1 rle with new method : 0.013963699340820312 length of segment : 592 time for calcul the mask position with numpy : 0.0010366439819335938 nb_pixel_total : 31936 time to create 1 rle with old method : 0.0395052433013916 length of segment : 328 time for calcul the mask position with numpy : 0.0006744861602783203 nb_pixel_total : 35432 time to create 1 rle with old method : 0.04041719436645508 length of segment : 312 time for calcul the mask position with numpy : 0.0013191699981689453 nb_pixel_total : 53057 time to create 1 rle with old method : 0.060433387756347656 length of segment : 481 time for calcul the mask position with numpy : 0.0012295246124267578 nb_pixel_total : 35243 time to create 1 rle with old method : 0.04204726219177246 length of segment : 270 time for calcul the mask position with numpy : 0.0024793148040771484 nb_pixel_total : 126752 time to create 1 rle with old method : 0.14736008644104004 length of segment : 399 time for calcul the mask position with numpy : 0.005507946014404297 nb_pixel_total : 185252 time to create 1 rle with new method : 0.014322996139526367 length of segment : 825 time for calcul the mask position with numpy : 0.0016772747039794922 nb_pixel_total : 57796 time to create 1 rle with old method : 0.06768298149108887 length of segment : 307 time for calcul the mask position with numpy : 0.0032196044921875 nb_pixel_total : 127403 time to create 1 rle with old method : 0.15663814544677734 length of segment : 470 time for calcul the mask position with numpy : 0.0006961822509765625 nb_pixel_total : 14650 time to create 1 rle with old method : 0.017136812210083008 length of segment : 233 time for calcul the mask position with numpy : 0.002747058868408203 nb_pixel_total : 123882 time to create 1 rle with old method : 0.140794038772583 length of segment : 404 time for calcul the mask position with numpy : 0.0009024143218994141 nb_pixel_total : 29861 time to create 1 rle with old method : 0.03606390953063965 length of segment : 382 time for calcul the mask position with numpy : 0.0004329681396484375 nb_pixel_total : 10448 time to create 1 rle with old method : 0.01241612434387207 length of segment : 89 time for calcul the mask position with numpy : 0.000244140625 nb_pixel_total : 4635 time to create 1 rle with old method : 0.006966590881347656 length of segment : 101 time for calcul the mask position with numpy : 0.006268739700317383 nb_pixel_total : 213500 time to create 1 rle with new method : 0.013368368148803711 length of segment : 328 time for calcul the mask position with numpy : 1.0805542469024658 nb_pixel_total : 274524 time to create 1 rle with new method : 0.019953250885009766 length of segment : 451 time for calcul the mask position with numpy : 0.0001766681671142578 nb_pixel_total : 3601 time to create 1 rle with old method : 0.004508495330810547 length of segment : 97 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 2023 time to create 1 rle with old method : 0.0025017261505126953 length of segment : 73 time for calcul the mask position with numpy : 0.0002377033233642578 nb_pixel_total : 4116 time to create 1 rle with old method : 0.0051844120025634766 length of segment : 66 time for calcul the mask position with numpy : 0.0010170936584472656 nb_pixel_total : 43992 time to create 1 rle with old method : 0.05301022529602051 length of segment : 311 time for calcul the mask position with numpy : 0.0009582042694091797 nb_pixel_total : 42205 time to create 1 rle with old method : 0.04796123504638672 length of segment : 287 time for calcul the mask position with numpy : 2.030620574951172 nb_pixel_total : 1754392 time to create 1 rle with new method : 0.44430994987487793 length of segment : 2937 time for calcul the mask position with numpy : 0.00011944770812988281 nb_pixel_total : 1803 time to create 1 rle with old method : 0.0022766590118408203 length of segment : 49 time for calcul the mask position with numpy : 0.004765510559082031 nb_pixel_total : 293264 time to create 1 rle with new method : 0.009357929229736328 length of segment : 725 time for calcul the mask position with numpy : 0.0005469322204589844 nb_pixel_total : 28818 time to create 1 rle with old method : 0.032929420471191406 length of segment : 233 time for calcul the mask position with numpy : 0.00018978118896484375 nb_pixel_total : 7497 time to create 1 rle with old method : 0.00918126106262207 length of segment : 125 time for calcul the mask position with numpy : 0.0021605491638183594 nb_pixel_total : 156139 time to create 1 rle with new method : 0.0038156509399414062 length of segment : 385 time for calcul the mask position with numpy : 0.00031280517578125 nb_pixel_total : 8683 time to create 1 rle with old method : 0.010175704956054688 length of segment : 156 time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 5512 time to create 1 rle with old method : 0.006592273712158203 length of segment : 61 time for calcul the mask position with numpy : 0.0028188228607177734 nb_pixel_total : 141738 time to create 1 rle with old method : 0.16164255142211914 length of segment : 854 time for calcul the mask position with numpy : 0.0015435218811035156 nb_pixel_total : 69602 time to create 1 rle with old method : 0.07843446731567383 length of segment : 628 time for calcul the mask position with numpy : 0.044254302978515625 nb_pixel_total : 1549657 time to create 1 rle with new method : 1.2011079788208008 length of segment : 2694 time for calcul the mask position with numpy : 0.016083240509033203 nb_pixel_total : 646619 time to create 1 rle with new method : 0.040825843811035156 length of segment : 1079 time for calcul the mask position with numpy : 0.0005698204040527344 nb_pixel_total : 10732 time to create 1 rle with old method : 0.012609720230102539 length of segment : 226 time for calcul the mask position with numpy : 0.023830413818359375 nb_pixel_total : 1216829 time to create 1 rle with new method : 0.4922494888305664 length of segment : 1815 time for calcul the mask position with numpy : 0.00021886825561523438 nb_pixel_total : 2189 time to create 1 rle with old method : 0.003798246383666992 length of segment : 85 time for calcul the mask position with numpy : 0.0035376548767089844 nb_pixel_total : 181410 time to create 1 rle with new method : 0.005820512771606445 length of segment : 530 time for calcul the mask position with numpy : 0.001129150390625 nb_pixel_total : 58556 time to create 1 rle with old method : 0.06746625900268555 length of segment : 314 time for calcul the mask position with numpy : 0.0009670257568359375 nb_pixel_total : 33764 time to create 1 rle with old method : 0.03884458541870117 length of segment : 337 time for calcul the mask position with numpy : 0.00047206878662109375 nb_pixel_total : 9449 time to create 1 rle with old method : 0.011328697204589844 length of segment : 162 time for calcul the mask position with numpy : 0.0004444122314453125 nb_pixel_total : 15495 time to create 1 rle with old method : 0.01839923858642578 length of segment : 111 time for calcul the mask position with numpy : 0.00046253204345703125 nb_pixel_total : 12277 time to create 1 rle with old method : 0.014852523803710938 length of segment : 171 time for calcul the mask position with numpy : 0.004126787185668945 nb_pixel_total : 146199 time to create 1 rle with old method : 0.1663961410522461 length of segment : 566 time for calcul the mask position with numpy : 0.0033092498779296875 nb_pixel_total : 136669 time to create 1 rle with old method : 0.15554308891296387 length of segment : 489 time for calcul the mask position with numpy : 0.0002162456512451172 nb_pixel_total : 3401 time to create 1 rle with old method : 0.004037141799926758 length of segment : 93 time for calcul the mask position with numpy : 0.0005309581756591797 nb_pixel_total : 15926 time to create 1 rle with old method : 0.018552780151367188 length of segment : 160 time for calcul the mask position with numpy : 0.0006000995635986328 nb_pixel_total : 19088 time to create 1 rle with old method : 0.022136449813842773 length of segment : 233 time for calcul the mask position with numpy : 0.0003516674041748047 nb_pixel_total : 6363 time to create 1 rle with old method : 0.007838964462280273 length of segment : 144 time for calcul the mask position with numpy : 0.003072977066040039 nb_pixel_total : 120042 time to create 1 rle with old method : 0.13642096519470215 length of segment : 552 time for calcul the mask position with numpy : 0.0009446144104003906 nb_pixel_total : 33770 time to create 1 rle with old method : 0.037107229232788086 length of segment : 337 time for calcul the mask position with numpy : 0.0003654956817626953 nb_pixel_total : 9450 time to create 1 rle with old method : 0.010503768920898438 length of segment : 162 time for calcul the mask position with numpy : 0.00040602684020996094 nb_pixel_total : 15493 time to create 1 rle with old method : 0.017205476760864258 length of segment : 111 time for calcul the mask position with numpy : 0.0004413127899169922 nb_pixel_total : 12275 time to create 1 rle with old method : 0.014254570007324219 length of segment : 171 time for calcul the mask position with numpy : 0.003918647766113281 nb_pixel_total : 146186 time to create 1 rle with old method : 0.16124343872070312 length of segment : 566 time for calcul the mask position with numpy : 0.0031790733337402344 nb_pixel_total : 136661 time to create 1 rle with old method : 0.15213966369628906 length of segment : 489 time for calcul the mask position with numpy : 0.00020623207092285156 nb_pixel_total : 3403 time to create 1 rle with old method : 0.0040760040283203125 length of segment : 93 time for calcul the mask position with numpy : 0.0005075931549072266 nb_pixel_total : 15934 time to create 1 rle with old method : 0.019464492797851562 length of segment : 160 time for calcul the mask position with numpy : 0.0005881786346435547 nb_pixel_total : 19088 time to create 1 rle with old method : 0.021611928939819336 length of segment : 233 time for calcul the mask position with numpy : 0.00032401084899902344 nb_pixel_total : 6363 time to create 1 rle with old method : 0.007513761520385742 length of segment : 144 time for calcul the mask position with numpy : 0.0027565956115722656 nb_pixel_total : 119754 time to create 1 rle with old method : 0.1361558437347412 length of segment : 549 time for calcul the mask position with numpy : 0.0017790794372558594 nb_pixel_total : 79598 time to create 1 rle with old method : 0.09830188751220703 length of segment : 348 time for calcul the mask position with numpy : 0.0006439685821533203 nb_pixel_total : 19968 time to create 1 rle with old method : 0.023865938186645508 length of segment : 203 time for calcul the mask position with numpy : 0.0010752677917480469 nb_pixel_total : 27948 time to create 1 rle with old method : 0.03520846366882324 length of segment : 478 time for calcul the mask position with numpy : 0.004014492034912109 nb_pixel_total : 196481 time to create 1 rle with new method : 0.00636601448059082 length of segment : 542 time for calcul the mask position with numpy : 0.00011157989501953125 nb_pixel_total : 2738 time to create 1 rle with old method : 0.003489971160888672 length of segment : 53 time for calcul the mask position with numpy : 0.00038909912109375 nb_pixel_total : 7891 time to create 1 rle with old method : 0.009033441543579102 length of segment : 217 time for calcul the mask position with numpy : 0.0012793540954589844 nb_pixel_total : 48664 time to create 1 rle with old method : 0.058379173278808594 length of segment : 318 time for calcul the mask position with numpy : 0.0003445148468017578 nb_pixel_total : 9142 time to create 1 rle with old method : 0.013170242309570312 length of segment : 134 time for calcul the mask position with numpy : 0.005621433258056641 nb_pixel_total : 281536 time to create 1 rle with new method : 0.009430408477783203 length of segment : 698 time for calcul the mask position with numpy : 0.0003142356872558594 nb_pixel_total : 7096 time to create 1 rle with old method : 0.008501768112182617 length of segment : 111 time for calcul the mask position with numpy : 0.0035729408264160156 nb_pixel_total : 289891 time to create 1 rle with new method : 0.01107168197631836 length of segment : 733 time for calcul the mask position with numpy : 0.0019404888153076172 nb_pixel_total : 79602 time to create 1 rle with old method : 0.08421802520751953 length of segment : 348 time for calcul the mask position with numpy : 0.0007679462432861328 nb_pixel_total : 19970 time to create 1 rle with old method : 0.021792173385620117 length of segment : 203 time for calcul the mask position with numpy : 0.0012385845184326172 nb_pixel_total : 27932 time to create 1 rle with old method : 0.031084537506103516 length of segment : 477 time for calcul the mask position with numpy : 0.004583835601806641 nb_pixel_total : 196497 time to create 1 rle with new method : 0.01093912124633789 length of segment : 542 time for calcul the mask position with numpy : 0.0001361370086669922 nb_pixel_total : 2737 time to create 1 rle with old method : 0.0031409263610839844 length of segment : 53 time for calcul the mask position with numpy : 0.00043487548828125 nb_pixel_total : 7644 time to create 1 rle with old method : 0.008541584014892578 length of segment : 217 time for calcul the mask position with numpy : 0.001554250717163086 nb_pixel_total : 48675 time to create 1 rle with old method : 0.05369758605957031 length of segment : 318 time for calcul the mask position with numpy : 0.0003643035888671875 nb_pixel_total : 9141 time to create 1 rle with old method : 0.01027679443359375 length of segment : 134 time for calcul the mask position with numpy : 0.0060961246490478516 nb_pixel_total : 281477 time to create 1 rle with new method : 0.012470245361328125 length of segment : 698 time for calcul the mask position with numpy : 0.00042629241943359375 nb_pixel_total : 7097 time to create 1 rle with old method : 0.007919549942016602 length of segment : 111 time for calcul the mask position with numpy : 0.003875732421875 nb_pixel_total : 289856 time to create 1 rle with new method : 0.010038375854492188 length of segment : 733 time for calcul the mask position with numpy : 0.00020074844360351562 nb_pixel_total : 2407 time to create 1 rle with old method : 0.0028069019317626953 length of segment : 73 time for calcul the mask position with numpy : 0.0004527568817138672 nb_pixel_total : 10957 time to create 1 rle with old method : 0.012502670288085938 length of segment : 97 time for calcul the mask position with numpy : 0.000240325927734375 nb_pixel_total : 3956 time to create 1 rle with old method : 0.0045163631439208984 length of segment : 68 time for calcul the mask position with numpy : 0.0012049674987792969 nb_pixel_total : 35495 time to create 1 rle with old method : 0.03817605972290039 length of segment : 235 time for calcul the mask position with numpy : 0.0016851425170898438 nb_pixel_total : 41883 time to create 1 rle with old method : 0.047186851501464844 length of segment : 215 time for calcul the mask position with numpy : 0.0007462501525878906 nb_pixel_total : 16202 time to create 1 rle with old method : 0.01737046241760254 length of segment : 214 time for calcul the mask position with numpy : 0.00023698806762695312 nb_pixel_total : 2997 time to create 1 rle with old method : 0.0033135414123535156 length of segment : 74 time for calcul the mask position with numpy : 0.000179290771484375 nb_pixel_total : 2065 time to create 1 rle with old method : 0.0025315284729003906 length of segment : 46 time for calcul the mask position with numpy : 0.002441883087158203 nb_pixel_total : 55524 time to create 1 rle with old method : 0.06001877784729004 length of segment : 700 time for calcul the mask position with numpy : 0.00018024444580078125 nb_pixel_total : 2072 time to create 1 rle with old method : 0.0022897720336914062 length of segment : 68 time for calcul the mask position with numpy : 0.002432584762573242 nb_pixel_total : 90109 time to create 1 rle with old method : 0.09836268424987793 length of segment : 259 time for calcul the mask position with numpy : 0.004088878631591797 nb_pixel_total : 162273 time to create 1 rle with new method : 0.009589195251464844 length of segment : 344 time for calcul the mask position with numpy : 0.0013501644134521484 nb_pixel_total : 28676 time to create 1 rle with old method : 0.03208565711975098 length of segment : 305 time for calcul the mask position with numpy : 0.0017244815826416016 nb_pixel_total : 32173 time to create 1 rle with old method : 0.03446197509765625 length of segment : 376 time for calcul the mask position with numpy : 0.0009293556213378906 nb_pixel_total : 12452 time to create 1 rle with old method : 0.013628244400024414 length of segment : 484 time for calcul the mask position with numpy : 0.00029206275939941406 nb_pixel_total : 2365 time to create 1 rle with old method : 0.002684354782104492 length of segment : 84 time for calcul the mask position with numpy : 0.0014045238494873047 nb_pixel_total : 87777 time to create 1 rle with old method : 0.09394335746765137 length of segment : 258 time for calcul the mask position with numpy : 0.00012087821960449219 nb_pixel_total : 2140 time to create 1 rle with old method : 0.0024900436401367188 length of segment : 75 time for calcul the mask position with numpy : 0.004334211349487305 nb_pixel_total : 105011 time to create 1 rle with old method : 0.11132645606994629 length of segment : 465 time for calcul the mask position with numpy : 0.0013952255249023438 nb_pixel_total : 34651 time to create 1 rle with old method : 0.03779244422912598 length of segment : 492 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 2407 time to create 1 rle with old method : 0.002752065658569336 length of segment : 73 time for calcul the mask position with numpy : 0.0004336833953857422 nb_pixel_total : 10961 time to create 1 rle with old method : 0.012232303619384766 length of segment : 97 time for calcul the mask position with numpy : 0.0002567768096923828 nb_pixel_total : 3956 time to create 1 rle with old method : 0.004662513732910156 length of segment : 68 time for calcul the mask position with numpy : 0.001279592514038086 nb_pixel_total : 35486 time to create 1 rle with old method : 0.04027867317199707 length of segment : 235 time for calcul the mask position with numpy : 0.0017046928405761719 nb_pixel_total : 41898 time to create 1 rle with old method : 0.0460667610168457 length of segment : 215 time for calcul the mask position with numpy : 0.0007042884826660156 nb_pixel_total : 16201 time to create 1 rle with old method : 0.01740860939025879 length of segment : 214 time for calcul the mask position with numpy : 0.0002560615539550781 nb_pixel_total : 2997 time to create 1 rle with old method : 0.0035414695739746094 length of segment : 74 time for calcul the mask position with numpy : 0.00019478797912597656 nb_pixel_total : 2065 time to create 1 rle with old method : 0.0026092529296875 length of segment : 46 time for calcul the mask position with numpy : 0.0024869441986083984 nb_pixel_total : 55447 time to create 1 rle with old method : 0.05965113639831543 length of segment : 701 time for calcul the mask position with numpy : 0.00020003318786621094 nb_pixel_total : 2069 time to create 1 rle with old method : 0.002480030059814453 length of segment : 68 time for calcul the mask position with numpy : 0.002457141876220703 nb_pixel_total : 90103 time to create 1 rle with old method : 0.0971217155456543 length of segment : 259 time for calcul the mask position with numpy : 0.0036649703979492188 nb_pixel_total : 162280 time to create 1 rle with new method : 0.006948232650756836 length of segment : 344 time for calcul the mask position with numpy : 0.0013537406921386719 nb_pixel_total : 28678 time to create 1 rle with old method : 0.030413150787353516 length of segment : 305 time for calcul the mask position with numpy : 0.001741647720336914 nb_pixel_total : 32200 time to create 1 rle with old method : 0.03443646430969238 length of segment : 376 time for calcul the mask position with numpy : 0.0009365081787109375 nb_pixel_total : 12530 time to create 1 rle with old method : 0.01457524299621582 length of segment : 487 time for calcul the mask position with numpy : 0.00031065940856933594 nb_pixel_total : 2368 time to create 1 rle with old method : 0.0027256011962890625 length of segment : 84 time for calcul the mask position with numpy : 0.0013818740844726562 nb_pixel_total : 87774 time to create 1 rle with old method : 0.09748649597167969 length of segment : 258 time for calcul the mask position with numpy : 0.00013065338134765625 nb_pixel_total : 2140 time to create 1 rle with old method : 0.002572774887084961 length of segment : 75 time for calcul the mask position with numpy : 0.004327058792114258 nb_pixel_total : 105000 time to create 1 rle with old method : 0.12848258018493652 length of segment : 464 time for calcul the mask position with numpy : 0.0020771026611328125 nb_pixel_total : 34745 time to create 1 rle with old method : 0.06510639190673828 length of segment : 491 time spent for convertir_results : 18.651294469833374 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 129 chid ids of type : 3663 Number RLEs to save : 44931 save missing photos in datou_result : time spend for datou_step_exec : 89.8473744392395 time spend to save output : 5.594760179519653 total time spend for step 1 : 95.44213461875916 step2:crop_condition Thu Feb 6 00:50:07 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 129 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! 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_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 ! map_result returned by crop_photo_return_map_crop : length : 34 About to insert : list_path_to_insert length 34 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] Looping around the photos to save general results len do output : 75 /-3656791781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791908Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791909Didn'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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 235 time used for this insertion : 0.10877037048339844 save_final save missing photos in datou_result : time spend for datou_step_exec : 44.43646502494812 time spend to save output : 0.11091446876525879 total time spend for step 2 : 44.54737949371338 step3:thcl Thu Feb 6 00:50:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.010887622833251953 time to convert the images to numpy array : 0.4942789077758789 time to import caffe and check if the image exist : 0.0067272186279296875 time to convert the images to numpy array : 0.5415492057800293 time to import caffe and check if the image exist : 0.005484819412231445 time to convert the images to numpy array : 0.6062617301940918 time to import caffe and check if the image exist : 0.010907888412475586 time to convert the images to numpy array : 0.6069588661193848 time to import caffe and check if the image exist : 0.010382413864135742 time to convert the images to numpy array : 0.6083900928497314 time to import caffe and check if the image exist : 0.010383844375610352 time to convert the images to numpy array : 0.9225869178771973 time to import caffe and check if the image exist : 0.010635614395141602 time to convert the images to numpy array : 0.9738457202911377 time to import caffe and check if the image exist : 0.015482187271118164 time to convert the images to numpy array : 0.9734344482421875 time to import caffe and check if the image exist : 0.009068012237548828 time to convert the images to numpy array : 1.0030608177185059 time to import caffe and check if the image exist : 0.014587640762329102 time to convert the images to numpy array : 1.9199740886688232 total time to convert the images to numpy array : 2.216278553009033 list photo_ids error: [] list photo_ids correct : [-3656791808, -3656791829, -3656791840, -3656791852, -3656791863, -3656791875, -3656791876, -3656791883, -3656791847, -3656791889, -3656791909, -3656791781, -3656791798, -3656791879, -3656791899, -3656791792, -3656791790, -3656791815, -3656791830, -3656791884, -3656791878, -3656791886, -3656791873, -3656791882, -3656791881, -3656791874, -3656791904, -3656791898, -3656791906, -3656791893, -3656791902, -3656791901, -3656791894, -3656791782, -3656791799, -3656791844, -3656791842, -3656791856, -3656791848, -3656791850, -3656791867, -3656791859, -3656791861, -3656791841, -3656791851, -3656791854, -3656791862, -3656791865, -3656791888, -3656791908, -3656791807, -3656791895, -3656791896, -3656791903, -3656791788, -3656791796, -3656791791, -3656791803, -3656791836, -3656791858, -3656791869, -3656791880, -3656791900, -3656791793, -3656791795, -3656791785, -3656791794, -3656791802, -3656791817, -3656791811, -3656791812, -3656791814, -3656791820, -3656791833, -3656791831] number of photos to traite : 75 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 2180 wait 20 seconds l 3637 free memory gpu now : 2180 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1162 wait 20 seconds l 3637 free memory gpu now : 1162 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.4541640281677246 time used to do the prediction : 0.35878753662109375 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 987 wait 20 seconds l 3637 free memory gpu now : 987 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 766 wait 20 seconds l 3637 free memory gpu now : 766 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.7243258953094482 time used to do the prediction : 0.27846574783325195 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 2.6702880859375e-05 save missing photos in datou_result : time spend for datou_step_exec : 93.34526467323303 time spend to save output : 0.0011146068572998047 total time spend for step 3 : 93.34637928009033 step4:merge_mask_thcl_custom Thu Feb 6 00:52:25 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 129 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 [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] Looping around the photos to save general results len do output : 10 /1334880241Didn't retrieve data .Didn't retrieve data . /1334880236Didn't retrieve data .Didn't retrieve data . /1334880231Didn't retrieve data .Didn't retrieve data . /1334880227Didn't retrieve data .Didn't retrieve data . /1334879956Didn't retrieve data .Didn't retrieve data . /1334879932Didn't retrieve data .Didn't retrieve data . /1334879898Didn't retrieve data .Didn't retrieve data . /1334879871Didn't retrieve data .Didn't retrieve data . /1334879812Didn't retrieve data .Didn't retrieve data . /1334879795Didn'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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.017566442489624023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06708478927612305 time spend to save output : 0.018063068389892578 total time spend for step 4 : 0.08514785766601562 step5:rle_unique_nms_with_priority Thu Feb 6 00:52:25 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 : 15 nb_hashtags : 6 time to prepare the origin masks : 13.317696332931519 time for calcul the mask position with numpy : 0.288830041885376 nb_pixel_total : 5813547 time to create 1 rle with new method : 1.3655972480773926 time for calcul the mask position with numpy : 0.041869401931762695 nb_pixel_total : 195217 time to create 1 rle with new method : 0.5291464328765869 time for calcul the mask position with numpy : 0.03737592697143555 nb_pixel_total : 57974 time to create 1 rle with old method : 0.06527590751647949 time for calcul the mask position with numpy : 0.031096220016479492 nb_pixel_total : 122643 time to create 1 rle with old method : 0.13850045204162598 time for calcul the mask position with numpy : 0.035594940185546875 nb_pixel_total : 52976 time to create 1 rle with old method : 0.05949592590332031 time for calcul the mask position with numpy : 0.03476309776306152 nb_pixel_total : 3619 time to create 1 rle with old method : 0.00467681884765625 time for calcul the mask position with numpy : 0.03726482391357422 nb_pixel_total : 9973 time to create 1 rle with old method : 0.011493444442749023 time for calcul the mask position with numpy : 0.04077649116516113 nb_pixel_total : 35226 time to create 1 rle with old method : 0.052962303161621094 time for calcul the mask position with numpy : 0.040111541748046875 nb_pixel_total : 36836 time to create 1 rle with old method : 0.0415043830871582 time for calcul the mask position with numpy : 0.03702998161315918 nb_pixel_total : 35293 time to create 1 rle with old method : 0.04061174392700195 time for calcul the mask position with numpy : 0.038016557693481445 nb_pixel_total : 4766 time to create 1 rle with old method : 0.005802631378173828 time for calcul the mask position with numpy : 0.03845977783203125 nb_pixel_total : 13460 time to create 1 rle with old method : 0.016047000885009766 time for calcul the mask position with numpy : 0.036653995513916016 nb_pixel_total : 184984 time to create 1 rle with new method : 0.7382433414459229 time for calcul the mask position with numpy : 0.03808736801147461 nb_pixel_total : 127077 time to create 1 rle with old method : 0.14949464797973633 time for calcul the mask position with numpy : 0.02428460121154785 nb_pixel_total : 230501 time to create 1 rle with new method : 0.5436043739318848 time for calcul the mask position with numpy : 0.025209426879882812 nb_pixel_total : 126148 time to create 1 rle with old method : 0.14101815223693848 create new chi : 4.858751058578491 time to delete rle : 0.0219576358795166 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 12616 TO DO : save crop sub photo not yet done ! save time : 1.4955363273620605 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 13.626233339309692 time for calcul the mask position with numpy : 1.0383634567260742 nb_pixel_total : 6327651 time to create 1 rle with new method : 0.869171142578125 time for calcul the mask position with numpy : 0.03844475746154785 nb_pixel_total : 212917 time to create 1 rle with new method : 0.6015408039093018 time for calcul the mask position with numpy : 0.03682255744934082 nb_pixel_total : 43784 time to create 1 rle with old method : 0.05138659477233887 time for calcul the mask position with numpy : 0.03725242614746094 nb_pixel_total : 4076 time to create 1 rle with old method : 0.004964590072631836 time for calcul the mask position with numpy : 0.03693366050720215 nb_pixel_total : 2017 time to create 1 rle with old method : 0.002476215362548828 time for calcul the mask position with numpy : 0.0373377799987793 nb_pixel_total : 3599 time to create 1 rle with old method : 0.004357576370239258 time for calcul the mask position with numpy : 0.03479599952697754 nb_pixel_total : 123473 time to create 1 rle with old method : 0.14333748817443848 time for calcul the mask position with numpy : 0.03666114807128906 nb_pixel_total : 29624 time to create 1 rle with old method : 0.03630423545837402 time for calcul the mask position with numpy : 0.03702831268310547 nb_pixel_total : 4600 time to create 1 rle with old method : 0.0055506229400634766 time for calcul the mask position with numpy : 0.03749895095825195 nb_pixel_total : 10414 time to create 1 rle with old method : 0.011731147766113281 time for calcul the mask position with numpy : 0.024050235748291016 nb_pixel_total : 14543 time to create 1 rle with old method : 0.018685579299926758 time for calcul the mask position with numpy : 0.02696990966796875 nb_pixel_total : 273542 time to create 1 rle with new method : 0.5669121742248535 create new chi : 3.8486948013305664 time to delete rle : 0.0010783672332763672 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7250 TO DO : save crop sub photo not yet done ! save time : 1.9977116584777832 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 8.286198139190674 time for calcul the mask position with numpy : 0.3105320930480957 nb_pixel_total : 4625806 time to create 1 rle with new method : 0.654975414276123 time for calcul the mask position with numpy : 0.04727935791015625 nb_pixel_total : 284098 time to create 1 rle with new method : 0.8352181911468506 time for calcul the mask position with numpy : 0.045668601989746094 nb_pixel_total : 8661 time to create 1 rle with old method : 0.010275125503540039 time for calcul the mask position with numpy : 0.04436683654785156 nb_pixel_total : 155071 time to create 1 rle with new method : 1.4820077419281006 time for calcul the mask position with numpy : 0.04906201362609863 nb_pixel_total : 5495 time to create 1 rle with old method : 0.006729841232299805 time for calcul the mask position with numpy : 0.04738759994506836 nb_pixel_total : 7400 time to create 1 rle with old method : 0.008496999740600586 time for calcul the mask position with numpy : 0.044190406799316406 nb_pixel_total : 42108 time to create 1 rle with old method : 0.04748392105102539 time for calcul the mask position with numpy : 0.040833473205566406 nb_pixel_total : 1789 time to create 1 rle with old method : 0.002165079116821289 time for calcul the mask position with numpy : 0.06870603561401367 nb_pixel_total : 1750139 time to create 1 rle with new method : 0.829960823059082 time for calcul the mask position with numpy : 0.0406951904296875 nb_pixel_total : 28643 time to create 1 rle with old method : 0.030663490295410156 time for calcul the mask position with numpy : 0.04852414131164551 nb_pixel_total : 141030 time to create 1 rle with old method : 0.15070629119873047 create new chi : 4.987713813781738 time to delete rle : 0.0014681816101074219 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 13592 TO DO : save crop sub photo not yet done ! save time : 1.633502721786499 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 6.81330680847168 time for calcul the mask position with numpy : 0.2191457748413086 nb_pixel_total : 4178720 time to create 1 rle with new method : 0.5052011013031006 time for calcul the mask position with numpy : 0.03919720649719238 nb_pixel_total : 58425 time to create 1 rle with old method : 0.22646212577819824 time for calcul the mask position with numpy : 0.04180908203125 nb_pixel_total : 181348 time to create 1 rle with new method : 0.4136784076690674 time for calcul the mask position with numpy : 0.03789377212524414 nb_pixel_total : 2179 time to create 1 rle with old method : 0.002677440643310547 time for calcul the mask position with numpy : 0.04656815528869629 nb_pixel_total : 887118 time to create 1 rle with new method : 0.35935068130493164 time for calcul the mask position with numpy : 0.03595280647277832 nb_pixel_total : 10708 time to create 1 rle with old method : 0.016472578048706055 time for calcul the mask position with numpy : 0.049443960189819336 nb_pixel_total : 114524 time to create 1 rle with old method : 0.12920832633972168 time for calcul the mask position with numpy : 0.049654483795166016 nb_pixel_total : 1547851 time to create 1 rle with new method : 0.4234192371368408 time for calcul the mask position with numpy : 0.03830265998840332 nb_pixel_total : 69367 time to create 1 rle with old method : 0.07935595512390137 create new chi : 2.844844102859497 time to delete rle : 0.0019426345825195312 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 15811 TO DO : save crop sub photo not yet done ! save time : 3.2029411792755127 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 11.422368049621582 time for calcul the mask position with numpy : 0.3511795997619629 nb_pixel_total : 6530308 time to create 1 rle with new method : 0.39326906204223633 time for calcul the mask position with numpy : 0.045583486557006836 nb_pixel_total : 6338 time to create 1 rle with old method : 0.009246587753295898 time for calcul the mask position with numpy : 0.02316117286682129 nb_pixel_total : 146015 time to create 1 rle with old method : 0.16128063201904297 time for calcul the mask position with numpy : 0.021901369094848633 nb_pixel_total : 19068 time to create 1 rle with old method : 0.023215293884277344 time for calcul the mask position with numpy : 0.022954940795898438 nb_pixel_total : 3400 time to create 1 rle with old method : 0.004022836685180664 time for calcul the mask position with numpy : 0.022068023681640625 nb_pixel_total : 12251 time to create 1 rle with old method : 0.01564955711364746 time for calcul the mask position with numpy : 0.022227764129638672 nb_pixel_total : 16088 time to create 1 rle with old method : 0.018116235733032227 time for calcul the mask position with numpy : 0.02306842803955078 nb_pixel_total : 136494 time to create 1 rle with old method : 0.15259385108947754 time for calcul the mask position with numpy : 0.02223825454711914 nb_pixel_total : 15457 time to create 1 rle with old method : 0.018601179122924805 time for calcul the mask position with numpy : 0.023062705993652344 nb_pixel_total : 9381 time to create 1 rle with old method : 0.0110931396484375 time for calcul the mask position with numpy : 0.021683216094970703 nb_pixel_total : 119547 time to create 1 rle with old method : 0.13567852973937988 time for calcul the mask position with numpy : 0.022801876068115234 nb_pixel_total : 35893 time to create 1 rle with old method : 0.03969573974609375 create new chi : 1.6591448783874512 time to delete rle : 0.0008873939514160156 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8100 TO DO : save crop sub photo not yet done ! save time : 1.8131847381591797 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 12.206043481826782 time for calcul the mask position with numpy : 0.7498102188110352 nb_pixel_total : 6530420 time to create 1 rle with new method : 0.8804504871368408 time for calcul the mask position with numpy : 0.020477294921875 nb_pixel_total : 6339 time to create 1 rle with old method : 0.0075075626373291016 time for calcul the mask position with numpy : 0.021206378936767578 nb_pixel_total : 146006 time to create 1 rle with old method : 0.19023990631103516 time for calcul the mask position with numpy : 0.032122135162353516 nb_pixel_total : 19068 time to create 1 rle with old method : 0.03437495231628418 time for calcul the mask position with numpy : 0.027347087860107422 nb_pixel_total : 3404 time to create 1 rle with old method : 0.0041272640228271484 time for calcul the mask position with numpy : 0.026415109634399414 nb_pixel_total : 16076 time to create 1 rle with old method : 0.02284383773803711 time for calcul the mask position with numpy : 0.024911880493164062 nb_pixel_total : 12246 time to create 1 rle with old method : 0.014163017272949219 time for calcul the mask position with numpy : 0.02266526222229004 nb_pixel_total : 136552 time to create 1 rle with old method : 0.1587369441986084 time for calcul the mask position with numpy : 0.021929502487182617 nb_pixel_total : 15456 time to create 1 rle with old method : 0.017821073532104492 time for calcul the mask position with numpy : 0.022581815719604492 nb_pixel_total : 9383 time to create 1 rle with old method : 0.011589765548706055 time for calcul the mask position with numpy : 0.022049903869628906 nb_pixel_total : 119396 time to create 1 rle with old method : 0.13736772537231445 time for calcul the mask position with numpy : 0.022005558013916016 nb_pixel_total : 35894 time to create 1 rle with old method : 0.03996109962463379 create new chi : 2.578740358352661 time to delete rle : 0.0007374286651611328 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8094 TO DO : save crop sub photo not yet done ! save time : 1.5324485301971436 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 9.296598434448242 time for calcul the mask position with numpy : 1.8864333629608154 nb_pixel_total : 6356869 time to create 1 rle with new method : 1.3115627765655518 time for calcul the mask position with numpy : 0.029046058654785156 nb_pixel_total : 2727 time to create 1 rle with old method : 0.0033283233642578125 time for calcul the mask position with numpy : 0.038596153259277344 nb_pixel_total : 196103 time to create 1 rle with new method : 1.6672205924987793 time for calcul the mask position with numpy : 0.024357318878173828 nb_pixel_total : 27859 time to create 1 rle with old method : 0.029186725616455078 time for calcul the mask position with numpy : 0.024428129196166992 nb_pixel_total : 7061 time to create 1 rle with old method : 0.007828474044799805 time for calcul the mask position with numpy : 0.025990009307861328 nb_pixel_total : 9129 time to create 1 rle with old method : 0.010313987731933594 time for calcul the mask position with numpy : 0.02537226676940918 nb_pixel_total : 5543 time to create 1 rle with old method : 0.006554365158081055 time for calcul the mask position with numpy : 0.026296377182006836 nb_pixel_total : 7872 time to create 1 rle with old method : 0.009025335311889648 time for calcul the mask position with numpy : 0.02959609031677246 nb_pixel_total : 289209 time to create 1 rle with new method : 1.4054954051971436 time for calcul the mask position with numpy : 0.02521371841430664 nb_pixel_total : 79409 time to create 1 rle with old method : 0.08798885345458984 time for calcul the mask position with numpy : 0.027768611907958984 nb_pixel_total : 48586 time to create 1 rle with old method : 0.07616734504699707 time for calcul the mask position with numpy : 0.027279138565063477 nb_pixel_total : 19873 time to create 1 rle with old method : 0.02243947982788086 create new chi : 6.930897235870361 time to delete rle : 0.0009608268737792969 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8846 TO DO : save crop sub photo not yet done ! save time : 1.7428512573242188 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 9.280637502670288 time for calcul the mask position with numpy : 0.758983850479126 nb_pixel_total : 6357046 time to create 1 rle with new method : 1.183934211730957 time for calcul the mask position with numpy : 0.031183958053588867 nb_pixel_total : 2722 time to create 1 rle with old method : 0.0032508373260498047 time for calcul the mask position with numpy : 0.0356144905090332 nb_pixel_total : 27809 time to create 1 rle with old method : 0.03136730194091797 time for calcul the mask position with numpy : 0.031950950622558594 nb_pixel_total : 196342 time to create 1 rle with new method : 1.098120927810669 time for calcul the mask position with numpy : 0.03731942176818848 nb_pixel_total : 7074 time to create 1 rle with old method : 0.008328676223754883 time for calcul the mask position with numpy : 0.04362607002258301 nb_pixel_total : 9120 time to create 1 rle with old method : 0.015347957611083984 time for calcul the mask position with numpy : 0.045606374740600586 nb_pixel_total : 5621 time to create 1 rle with old method : 0.010637044906616211 time for calcul the mask position with numpy : 0.04213142395019531 nb_pixel_total : 7626 time to create 1 rle with old method : 0.009059429168701172 time for calcul the mask position with numpy : 0.0401458740234375 nb_pixel_total : 289000 time to create 1 rle with new method : 1.2322652339935303 time for calcul the mask position with numpy : 0.04101276397705078 nb_pixel_total : 79418 time to create 1 rle with old method : 0.11557912826538086 time for calcul the mask position with numpy : 0.037146806716918945 nb_pixel_total : 48565 time to create 1 rle with old method : 0.05558037757873535 time for calcul the mask position with numpy : 0.035840749740600586 nb_pixel_total : 19897 time to create 1 rle with old method : 0.022413969039916992 create new chi : 5.063241004943848 time to delete rle : 0.0012850761413574219 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8826 TO DO : save crop sub photo not yet done ! save time : 1.7970151901245117 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 19.974451541900635 time for calcul the mask position with numpy : 0.8140077590942383 nb_pixel_total : 6460851 time to create 1 rle with new method : 0.8454346656799316 time for calcul the mask position with numpy : 0.02139115333557129 nb_pixel_total : 3916 time to create 1 rle with old method : 0.004824161529541016 time for calcul the mask position with numpy : 0.03396725654602051 nb_pixel_total : 86879 time to create 1 rle with old method : 0.0933685302734375 time for calcul the mask position with numpy : 0.0343325138092041 nb_pixel_total : 2115 time to create 1 rle with old method : 0.0026803016662597656 time for calcul the mask position with numpy : 0.03448963165283203 nb_pixel_total : 8026 time to create 1 rle with old method : 0.009531736373901367 time for calcul the mask position with numpy : 0.0334317684173584 nb_pixel_total : 28617 time to create 1 rle with old method : 0.03139472007751465 time for calcul the mask position with numpy : 0.03377509117126465 nb_pixel_total : 2129 time to create 1 rle with old method : 0.002478361129760742 time for calcul the mask position with numpy : 0.033171892166137695 nb_pixel_total : 2349 time to create 1 rle with old method : 0.002702474594116211 time for calcul the mask position with numpy : 0.035470008850097656 nb_pixel_total : 164083 time to create 1 rle with new method : 0.8858737945556641 time for calcul the mask position with numpy : 0.03593134880065918 nb_pixel_total : 35370 time to create 1 rle with old method : 0.04049420356750488 time for calcul the mask position with numpy : 0.03730320930480957 nb_pixel_total : 2985 time to create 1 rle with old method : 0.003629922866821289 time for calcul the mask position with numpy : 0.03393077850341797 nb_pixel_total : 2063 time to create 1 rle with old method : 0.0026221275329589844 time for calcul the mask position with numpy : 0.03475189208984375 nb_pixel_total : 16181 time to create 1 rle with old method : 0.018088102340698242 time for calcul the mask position with numpy : 0.022203683853149414 nb_pixel_total : 2051 time to create 1 rle with old method : 0.002329111099243164 time for calcul the mask position with numpy : 0.027312040328979492 nb_pixel_total : 34390 time to create 1 rle with old method : 0.03956866264343262 time for calcul the mask position with numpy : 0.02206873893737793 nb_pixel_total : 3916 time to create 1 rle with old method : 0.004572868347167969 time for calcul the mask position with numpy : 0.021939992904663086 nb_pixel_total : 104903 time to create 1 rle with old method : 0.11346292495727539 time for calcul the mask position with numpy : 0.021363496780395508 nb_pixel_total : 10877 time to create 1 rle with old method : 0.011779546737670898 time for calcul the mask position with numpy : 0.021160125732421875 nb_pixel_total : 2393 time to create 1 rle with old method : 0.0027348995208740234 time for calcul the mask position with numpy : 0.02189469337463379 nb_pixel_total : 63647 time to create 1 rle with old method : 0.07011127471923828 time for calcul the mask position with numpy : 0.021962404251098633 nb_pixel_total : 12499 time to create 1 rle with old method : 0.013885021209716797 create new chi : 3.6718266010284424 time to delete rle : 0.0011479854583740234 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 10519 TO DO : save crop sub photo not yet done ! save time : 1.1589198112487793 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 16.483595609664917 time for calcul the mask position with numpy : 0.5337038040161133 nb_pixel_total : 6460529 time to create 1 rle with new method : 1.5942163467407227 time for calcul the mask position with numpy : 0.027028322219848633 nb_pixel_total : 3945 time to create 1 rle with old method : 0.0052640438079833984 time for calcul the mask position with numpy : 0.04248857498168945 nb_pixel_total : 86931 time to create 1 rle with old method : 0.09284210205078125 time for calcul the mask position with numpy : 0.041861772537231445 nb_pixel_total : 2153 time to create 1 rle with old method : 0.002674579620361328 time for calcul the mask position with numpy : 0.041452884674072266 nb_pixel_total : 8005 time to create 1 rle with old method : 0.009515047073364258 time for calcul the mask position with numpy : 0.04184770584106445 nb_pixel_total : 28617 time to create 1 rle with old method : 0.03164553642272949 time for calcul the mask position with numpy : 0.03778076171875 nb_pixel_total : 2129 time to create 1 rle with old method : 0.0024755001068115234 time for calcul the mask position with numpy : 0.03768420219421387 nb_pixel_total : 2351 time to create 1 rle with old method : 0.00286865234375 time for calcul the mask position with numpy : 0.03960394859313965 nb_pixel_total : 164087 time to create 1 rle with new method : 1.1533098220825195 time for calcul the mask position with numpy : 0.04084920883178711 nb_pixel_total : 35414 time to create 1 rle with old method : 0.040149688720703125 time for calcul the mask position with numpy : 0.036533355712890625 nb_pixel_total : 2985 time to create 1 rle with old method : 0.0033702850341796875 time for calcul the mask position with numpy : 0.023271560668945312 nb_pixel_total : 2057 time to create 1 rle with old method : 0.00240325927734375 time for calcul the mask position with numpy : 0.023664474487304688 nb_pixel_total : 16167 time to create 1 rle with old method : 0.01735663414001465 time for calcul the mask position with numpy : 0.026145219802856445 nb_pixel_total : 2051 time to create 1 rle with old method : 0.0023963451385498047 time for calcul the mask position with numpy : 0.023975610733032227 nb_pixel_total : 34498 time to create 1 rle with old method : 0.03744864463806152 time for calcul the mask position with numpy : 0.02886795997619629 nb_pixel_total : 3916 time to create 1 rle with old method : 0.004565715789794922 time for calcul the mask position with numpy : 0.025071144104003906 nb_pixel_total : 104833 time to create 1 rle with old method : 0.11169981956481934 time for calcul the mask position with numpy : 0.03871607780456543 nb_pixel_total : 10876 time to create 1 rle with old method : 0.012404680252075195 time for calcul the mask position with numpy : 0.03734302520751953 nb_pixel_total : 2393 time to create 1 rle with old method : 0.0026900768280029297 time for calcul the mask position with numpy : 0.03796505928039551 nb_pixel_total : 63687 time to create 1 rle with old method : 0.06716060638427734 time for calcul the mask position with numpy : 0.03776693344116211 nb_pixel_total : 12616 time to create 1 rle with old method : 0.013614177703857422 create new chi : 4.526763677597046 time to delete rle : 0.0011630058288574219 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 10528 TO DO : save crop sub photo not yet done ! save time : 1.1857764720916748 map_output_result : {1334880241: (0.0, 'Should be the crop_list due to order', 0.0), 1334880236: (0.0, 'Should be the crop_list due to order', 0.0), 1334880231: (0.0, 'Should be the crop_list due to order', 0.0), 1334880227: (0.0, 'Should be the crop_list due to order', 0.0), 1334879956: (0.0, 'Should be the crop_list due to order', 0.0), 1334879932: (0.0, 'Should be the crop_list due to order', 0.0), 1334879898: (0.0, 'Should be the crop_list due to order', 0.0), 1334879871: (0.0, 'Should be the crop_list due to order', 0.0), 1334879812: (0.0, 'Should be the crop_list due to order', 0.0), 1334879795: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] Looping around the photos to save general results len do output : 10 /1334880241.Didn't retrieve data . /1334880236.Didn't retrieve data . /1334880231.Didn't retrieve data . /1334880227.Didn't retrieve data . /1334879956.Didn't retrieve data . /1334879932.Didn't retrieve data . /1334879898.Didn't retrieve data . /1334879871.Didn't retrieve data . /1334879812.Didn't retrieve data . /1334879795.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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016134023666381836 save_final save missing photos in datou_result : time spend for datou_step_exec : 180.94338297843933 time spend to save output : 0.01888298988342285 total time spend for step 5 : 180.96226596832275 step6:crop_condition Thu Feb 6 00:55:26 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 138 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 begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! 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/1738799730_1533059 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4376542568206787 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738799734_1533059 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9686441421508789 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738799736_1533059 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7623844146728516 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/1738799742_1533059 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.988896131515503 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 ! 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/1738799748_1533059 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.807370901107788 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 [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] Looping around the photos to save general results len do output : 21 /1335061033Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061102Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061104Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335061123Didn'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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 73 time used for this insertion : 0.04335165023803711 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.0103542804718 time spend to save output : 0.044148921966552734 total time spend for step 6 : 26.054503202438354 step7:ventilate_hashtags_in_portfolio Thu Feb 6 00:55:52 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 : 20277508 get user id for portfolio 20277508 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`=20277508 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Carton_brun','mal_croppe','environnement','autre_refus','kraft','plastique','metal','Teint_Dans_La_Masse','cartonnette','Carton_gris')) 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`=20277508 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Carton_brun','mal_croppe','environnement','autre_refus','kraft','plastique','metal','Teint_Dans_La_Masse','cartonnette','Carton_gris')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20277508 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Carton_brun','mal_croppe','environnement','autre_refus','kraft','plastique','metal','Teint_Dans_La_Masse','cartonnette','Carton_gris')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20277609,20277610,20277611,20277612,20277613,20277614,20277615,20277616,20277617,20277618,20277619,20277620?tags=flou,papier,Carton_brun,mal_croppe,environnement,autre_refus,kraft,plastique,metal,Teint_Dans_La_Masse,cartonnette,Carton_gris Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] Looping around the photos to save general results len do output : 1 /20277508. 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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.020048856735229492 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.955536127090454 time spend to save output : 0.02038264274597168 total time spend for step 7 : 1.9759187698364258 step8:final Thu Feb 6 00:55:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1334880241: ('0.06442282072148928',), 1334880236: ('0.06442282072148928',), 1334880231: ('0.06442282072148928',), 1334880227: ('0.06442282072148928',), 1334879956: ('0.06442282072148928',), 1334879932: ('0.06442282072148928',), 1334879898: ('0.06442282072148928',), 1334879871: ('0.06442282072148928',), 1334879812: ('0.06442282072148928',), 1334879795: ('0.06442282072148928',)} new output for save of step final : {1334880241: ('0.06442282072148928',), 1334880236: ('0.06442282072148928',), 1334880231: ('0.06442282072148928',), 1334880227: ('0.06442282072148928',), 1334879956: ('0.06442282072148928',), 1334879932: ('0.06442282072148928',), 1334879898: ('0.06442282072148928',), 1334879871: ('0.06442282072148928',), 1334879812: ('0.06442282072148928',), 1334879795: ('0.06442282072148928',)} [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] Looping around the photos to save general results len do output : 10 /1334880241.Didn't retrieve data . /1334880236.Didn't retrieve data . /1334880231.Didn't retrieve data . /1334880227.Didn't retrieve data . /1334879956.Didn't retrieve data . /1334879932.Didn't retrieve data . /1334879898.Didn't retrieve data . /1334879871.Didn't retrieve data . /1334879812.Didn't retrieve data . /1334879795.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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.019378185272216797 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1191718578338623 time spend to save output : 0.01993727684020996 total time spend for step 8 : 0.13910913467407227 step9:velours_tree Thu Feb 6 00:55:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.21028399467468262 time spend to save output : 3.719329833984375e-05 total time spend for step 9 : 0.21032118797302246 step10:send_mail_cod Thu Feb 6 00:55:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P20277508_06-02-2025_00_55_54.pdf 20277609 imagette202776091738799754 20277612 imagette202776121738799754 20277614 change filename to text .change filename to text .change filename to text .change filename to text .imagette202776141738799754 20277615 imagette202776151738799754 20277616 change filename to text .change filename to text .change filename to text .change filename to text .imagette202776161738799754 20277617 imagette202776171738799755 20277619 change filename to text .change filename to text .imagette202776191738799755 20277611 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 .imagette202776111738799755 20277618 imagette202776181738799755 20277620 change filename to text .change filename to text .change filename to text .imagette202776201738799755 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20277508 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20277609,20277610,20277611,20277612,20277613,20277614,20277615,20277616,20277617,20277618,20277619,20277620?tags=flou,papier,Carton_brun,mal_croppe,environnement,autre_refus,kraft,plastique,metal,Teint_Dans_La_Masse,cartonnette,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1334880241] : ('0.06442282072148928',) no score found for photo 1334880241 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334880236] : ('0.06442282072148928',) no score found for photo 1334880236 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334880231] : ('0.06442282072148928',) no score found for photo 1334880231 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334880227] : ('0.06442282072148928',) no score found for photo 1334880227 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334879956] : ('0.06442282072148928',) no score found for photo 1334879956 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334879932] : ('0.06442282072148928',) no score found for photo 1334879932 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334879898] : ('0.06442282072148928',) no score found for photo 1334879898 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334879871] : ('0.06442282072148928',) no score found for photo 1334879871 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334879812] : ('0.06442282072148928',) no score found for photo 1334879812 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com args[1334879795] : ('0.06442282072148928',) no score found for photo 1334879795 apple ('0.06442282072148928',) We are sending mail with results at report@fotonower.com refus_total : 0.06442282072148928 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=20277508 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1334879303,1334880241,1334879956,1334879932,1334879898,1334879871,1334879812,1334879795,1334879648,1334879642,1334879631,1334879629,1334879533,1334879425,1334879352,1334879249,1334879706,1334879719,1334879557,1334880227) Found this number of photos: 20 begin to download photo : 1334879303 begin to download photo : 1334879871 begin to download photo : 1334879631 begin to download photo : 1334879249 download finish for photo 1334879303 begin to download photo : 1334880241 download finish for photo 1334879249 begin to download photo : 1334879706 download finish for photo 1334879871 begin to download photo : 1334879812 download finish for photo 1334879631 begin to download photo : 1334879629 download finish for photo 1334880241 begin to download photo : 1334879956 download finish for photo 1334879706 begin to download photo : 1334879719 download finish for photo 1334879629 begin to download photo : 1334879533 download finish for photo 1334879812 begin to download photo : 1334879795 download finish for photo 1334879719 begin to download photo : 1334879557 download finish for photo 1334879956 begin to download photo : 1334879932 download finish for photo 1334879533 begin to download photo : 1334879425 download finish for photo 1334879795 begin to download photo : 1334879648 download finish for photo 1334879557 begin to download photo : 1334880227 download finish for photo 1334879932 begin to download photo : 1334879898 download finish for photo 1334879648 begin to download photo : 1334879642 download finish for photo 1334879425 begin to download photo : 1334879352 download finish for photo 1334880227 download finish for photo 1334879898 download finish for photo 1334879352 download finish for photo 1334879642 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277508_06-02-2025_00_55_54.pdf results_Auto_P20277508_06-02-2025_00_55_54.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277508_06-02-2025_00_55_54.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','20277508','results_Auto_P20277508_06-02-2025_00_55_54.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277508_06-02-2025_00_55_54.pdf','pdf','','0.74','0.06442282072148928') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] 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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.018283843994140625 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.459026336669922 time spend to save output : 0.018502473831176758 total time spend for step 10 : 5.477528810501099 step11:split_time_score Thu Feb 6 00:56:00 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'}] (('10', 22),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05022025 20277508 Nombre de photos uploadées : 22 / 23040 (0%) 05022025 20277508 Nombre de photos taguées (types de déchets): 0 / 22 (0%) 05022025 20277508 Nombre de photos taguées (volume) : 0 / 22 (0%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013730525970458984 elapsed_time : insert_dashboard_record_day_entry 0.03162884712219238 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 = 20277499 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277500 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277501 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277502 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277503 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277504 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277505 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277506 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277507 order by id desc limit 1 Qualite : 0.06442282072148928 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277508_06-02-2025_00_55_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277508 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`=20277508 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277509 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277510 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277511 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277512 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277513 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277514 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277515 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277516 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277517 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277518 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277519 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277520 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277521 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277522 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277523 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277524 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277525 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277526 order by id desc limit 1 Qualite : 0.06769655641860853 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277527_06-02-2025_00_53_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277527 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`=20277527 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277528 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277529 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277530 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277531 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277532 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277533 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277534 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277535 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277548 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277549 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277550 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277551 order by id desc limit 1 Qualite : 0.06784738675129119 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277552_06-02-2025_00_56_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277552 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20277552 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05022025': {'nb_upload': 22, '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 [1334880241, 1334880236, 1334880231, 1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795] Looping around the photos to save general results len do output : 1 /20277508Didn'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, '2557190') ('3459', '20277508', '1334880241', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880236', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880231', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334880227', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879956', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879932', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879898', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879871', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879812', None, None, None, None, None, '2557190') ('3459', None, None, None, None, None, None, None, '2557190') ('3459', '20277508', '1334879795', None, None, None, None, None, '2557190') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.16045689582824707 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.35244345664978 time spend to save output : 0.16070890426635742 total time spend for step 11 : 30.513152360916138 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 142.37user 201.14system 8:08.13elapsed 70%CPU (0avgtext+0avgdata 4001488maxresident)k 738648inputs+131840outputs (22045major+12455011minor)pagefaults 0swaps