python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -a 4433' -s traitement_sts -M 0 -S 0 -U 100,80,95 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/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', '/home/admin/workarea/git/apy', '/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 : 80698 load datou : 4433 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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 ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 ? 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 ? 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 : (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 : 2896 in CacheModelConfig load pdts add pdt : 4999 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 list_input_json: [] Current got : datou_id : 4433, datou_cur_ids : ['3772635'] with mtr_portfolio_ids : ['27193431'] and first list_photo_ids : [] new path : /proc/80698/ 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, brightness, blur_detection, crop_condition, thcl, tfhub_classification2, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 15 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 4.618486642837524 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 : 14 step1:mask_detect Fri Sep 26 11:38:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 3021 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-26 11:38:14.793657: 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-09-26 11:38:14.824572: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-26 11:38:14.826710: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3918000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:38:14.826756: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-26 11:38:14.831991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-26 11:38:15.006084: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5fa91d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:38:15.006144: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-26 11:38:15.007499: 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-09-26 11:38:15.009254: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:38:15.041042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:38:15.060643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:38:15.064876: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:38:15.097589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:38:15.102010: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:38:15.157713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:38:15.159142: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:38:15.159660: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:38:15.160940: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:38:15.160970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:38:15.160984: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:38:15.163150: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2569 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-09-26 11:38:15.589179: 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-09-26 11:38:15.589303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:38:15.589331: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:38:15.589357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:38:15.589381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:38:15.589404: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:38:15.589425: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:38:15.589447: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:38:15.590501: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:38:15.591797: 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-09-26 11:38:15.591889: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:38:15.591915: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:38:15.591938: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:38:15.591960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:38:15.591985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:38:15.592012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:38:15.592038: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:38:15.593136: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:38:15.593176: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:38:15.593203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:38:15.593216: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:38:15.594363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2569 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-09-26 11:38:32.340595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:38:32.721168: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:38:34.874720: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-26 11:38:34.874965: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-26 11:38:34.881473: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-26 11:38:34.881501: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-26 11:38:34.935819: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-26 11:38:34.935894: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-09-26 11:38:34.978456: 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-09-26 11:38:34.978522: 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-09-26 11:38:35.029923: 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-09-26 11:38:35.029969: 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-09-26 11:38:35.032662: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.51G (1621688320 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.033233: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.36G (1459519488 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.364020: 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-09-26 11:38:35.406832: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.407841: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.409103: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.410071: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.420808: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.421762: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.422741: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.423672: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.424634: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.425485: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.440285: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.440904: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.475281: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.475359: 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-09-26 11:38:35.475965: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.476587: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.484129: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.484764: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.493117: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.493755: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.514826: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.515651: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.516478: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.517253: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.521933: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.522740: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.523512: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.524278: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.526621: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.536175: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.536879: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.546670: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.547341: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.547970: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.548606: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.549251: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:38:35.549884: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 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 : 14 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 5.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: 4056.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 5.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: 4056.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 4.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: 4056.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 1.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: 4056.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 4.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: 4056.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 1.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: 4056.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 6.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: 4056.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 6.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: 4056.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 10.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: 4056.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 80923 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1828 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 3021 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 : 1.7583775520324707 nb_pixel_total : 10133255 time to create 1 rle with new method : 1.3534908294677734 length of segment : 2674 time for calcul the mask position with numpy : 0.6399848461151123 nb_pixel_total : 10133264 time to create 1 rle with new method : 0.9555747509002686 length of segment : 2674 time for calcul the mask position with numpy : 0.9169456958770752 nb_pixel_total : 10431861 time to create 1 rle with new method : 0.9825365543365479 length of segment : 2738 time for calcul the mask position with numpy : 1.4148590564727783 nb_pixel_total : 10094151 time to create 1 rle with new method : 1.105607509613037 length of segment : 3753 time for calcul the mask position with numpy : 0.01384878158569336 nb_pixel_total : 606947 time to create 1 rle with new method : 0.04551506042480469 length of segment : 1093 time for calcul the mask position with numpy : 0.6372494697570801 nb_pixel_total : 9162883 time to create 1 rle with new method : 1.072056531906128 length of segment : 5196 time for calcul the mask position with numpy : 0.0028228759765625 nb_pixel_total : 155554 time to create 1 rle with new method : 0.00573277473449707 length of segment : 369 time for calcul the mask position with numpy : 0.6987366676330566 nb_pixel_total : 9506155 time to create 1 rle with new method : 1.0946910381317139 length of segment : 3545 time for calcul the mask position with numpy : 0.00541377067565918 nb_pixel_total : 214860 time to create 1 rle with new method : 0.02160167694091797 length of segment : 1292 time for calcul the mask position with numpy : 0.49448180198669434 nb_pixel_total : 5680932 time to create 1 rle with new method : 0.9376006126403809 length of segment : 5515 time for calcul the mask position with numpy : 0.007673978805541992 nb_pixel_total : 454755 time to create 1 rle with new method : 0.012911796569824219 length of segment : 789 time for calcul the mask position with numpy : 0.004597187042236328 nb_pixel_total : 291955 time to create 1 rle with new method : 0.007010459899902344 length of segment : 410 time for calcul the mask position with numpy : 0.010969400405883789 nb_pixel_total : 647554 time to create 1 rle with new method : 0.01773858070373535 length of segment : 1107 time for calcul the mask position with numpy : 0.00037169456481933594 nb_pixel_total : 21294 time to create 1 rle with old method : 0.024839162826538086 length of segment : 157 time for calcul the mask position with numpy : 0.7277967929840088 nb_pixel_total : 6216794 time to create 1 rle with new method : 0.8256046772003174 length of segment : 4512 time for calcul the mask position with numpy : 0.004464387893676758 nb_pixel_total : 242579 time to create 1 rle with new method : 0.011429309844970703 length of segment : 1161 time for calcul the mask position with numpy : 0.5156879425048828 nb_pixel_total : 7553079 time to create 1 rle with new method : 0.7048146724700928 length of segment : 3825 time for calcul the mask position with numpy : 0.004803895950317383 nb_pixel_total : 271210 time to create 1 rle with new method : 0.007333993911743164 length of segment : 349 time for calcul the mask position with numpy : 0.0002560615539550781 nb_pixel_total : 4963 time to create 1 rle with old method : 0.006608009338378906 length of segment : 84 time for calcul the mask position with numpy : 0.18958497047424316 nb_pixel_total : 2695580 time to create 1 rle with new method : 0.7335817813873291 length of segment : 4575 time for calcul the mask position with numpy : 0.003652811050415039 nb_pixel_total : 224065 time to create 1 rle with new method : 0.008527040481567383 length of segment : 611 time for calcul the mask position with numpy : 0.4559140205383301 nb_pixel_total : 4613009 time to create 1 rle with new method : 1.2782604694366455 length of segment : 3932 time for calcul the mask position with numpy : 0.006690025329589844 nb_pixel_total : 329052 time to create 1 rle with new method : 0.018274307250976562 length of segment : 580 time for calcul the mask position with numpy : 0.0002551078796386719 nb_pixel_total : 9314 time to create 1 rle with old method : 0.011617183685302734 length of segment : 89 time for calcul the mask position with numpy : 0.00046563148498535156 nb_pixel_total : 20411 time to create 1 rle with old method : 0.024495601654052734 length of segment : 192 time for calcul the mask position with numpy : 0.0009284019470214844 nb_pixel_total : 59771 time to create 1 rle with old method : 0.07177948951721191 length of segment : 258 time for calcul the mask position with numpy : 0.006740093231201172 nb_pixel_total : 369985 time to create 1 rle with new method : 0.010554790496826172 length of segment : 645 time for calcul the mask position with numpy : 0.003890514373779297 nb_pixel_total : 123232 time to create 1 rle with old method : 0.1469120979309082 length of segment : 658 time for calcul the mask position with numpy : 0.4953305721282959 nb_pixel_total : 3390214 time to create 1 rle with new method : 0.5862691402435303 length of segment : 4472 time for calcul the mask position with numpy : 0.005288600921630859 nb_pixel_total : 280163 time to create 1 rle with new method : 0.01276397705078125 length of segment : 715 time for calcul the mask position with numpy : 0.010164976119995117 nb_pixel_total : 640921 time to create 1 rle with new method : 0.03455209732055664 length of segment : 1095 time for calcul the mask position with numpy : 0.00027823448181152344 nb_pixel_total : 5637 time to create 1 rle with old method : 0.007325172424316406 length of segment : 70 time for calcul the mask position with numpy : 0.029799938201904297 nb_pixel_total : 1997936 time to create 1 rle with new method : 1.1222307682037354 length of segment : 2037 time for calcul the mask position with numpy : 0.3605835437774658 nb_pixel_total : 4470276 time to create 1 rle with new method : 0.8737330436706543 length of segment : 4338 time for calcul the mask position with numpy : 0.0004918575286865234 nb_pixel_total : 18532 time to create 1 rle with old method : 0.022976398468017578 length of segment : 95 time for calcul the mask position with numpy : 0.005415916442871094 nb_pixel_total : 179651 time to create 1 rle with new method : 0.01176309585571289 length of segment : 458 time for calcul the mask position with numpy : 0.0006201267242431641 nb_pixel_total : 21807 time to create 1 rle with old method : 0.026186227798461914 length of segment : 195 time for calcul the mask position with numpy : 0.0007445812225341797 nb_pixel_total : 27411 time to create 1 rle with old method : 0.03363370895385742 length of segment : 223 time for calcul the mask position with numpy : 0.4965035915374756 nb_pixel_total : 5589574 time to create 1 rle with new method : 0.9280064105987549 length of segment : 5611 time for calcul the mask position with numpy : 0.0013005733489990234 nb_pixel_total : 90960 time to create 1 rle with old method : 0.13283038139343262 length of segment : 587 time for calcul the mask position with numpy : 0.0008223056793212891 nb_pixel_total : 45508 time to create 1 rle with old method : 0.05442929267883301 length of segment : 353 time for calcul the mask position with numpy : 0.0023314952850341797 nb_pixel_total : 125727 time to create 1 rle with old method : 0.14729022979736328 length of segment : 634 time spent for convertir_results : 50.119640588760376 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 47 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 73666 save missing photos in datou_result : time spend for datou_step_exec : 126.56065607070923 time spend to save output : 3.9746079444885254 total time spend for step 1 : 130.53526401519775 step2:brightness Fri Sep 26 11:40:21 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 inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 14 time used for this insertion : 0.008909940719604492 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 14 time used for this insertion : 0.014934301376342773 save missing photos in datou_result : time spend for datou_step_exec : 0.029252052307128906 time spend to save output : 0.02838301658630371 total time spend for step 2 : 0.05763506889343262 step3:blur_detection Fri Sep 26 11:40:21 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 inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 14 time used for this insertion : 0.008793830871582031 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 14 time used for this insertion : 0.009070873260498047 save missing photos in datou_result : time spend for datou_step_exec : 0.021576642990112305 time spend to save output : 0.022401809692382812 total time spend for step 3 : 0.04397845268249512 step4:crop_condition Fri Sep 26 11:40:21 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 : 14 ! batch 1 Loaded 47 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 20 /-3973074903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976661960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074921Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973157251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074912Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074919Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074920Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973157253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976661961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3973074908Didn'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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 74 time used for this insertion : 0.026778459548950195 save_final save missing photos in datou_result : time spend for datou_step_exec : 43.07344651222229 time spend to save output : 0.10535454750061035 total time spend for step 4 : 43.1788010597229 step5:thcl Fri Sep 26 11:41:04 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 : 1 we are using the classfication for multi_thcl [2456] time to import caffe and check if the image exist : 0.01156926155090332 time to convert the images to numpy array : 0.008950471878051758 time to import caffe and check if the image exist : 0.012968301773071289 time to convert the images to numpy array : 0.015234708786010742 time to import caffe and check if the image exist : 0.01552438735961914 time to convert the images to numpy array : 0.06737542152404785 time to import caffe and check if the image exist : 0.012770652770996094 time to convert the images to numpy array : 0.0775146484375 time to import caffe and check if the image exist : 0.011948823928833008 time to convert the images to numpy array : 0.10885930061340332 time to import caffe and check if the image exist : 0.007655620574951172 time to convert the images to numpy array : 0.19269561767578125 time to import caffe and check if the image exist : 0.007306814193725586 time to convert the images to numpy array : 0.21572566032409668 time to import caffe and check if the image exist : 0.010601520538330078 time to convert the images to numpy array : 0.21547341346740723 time to import caffe and check if the image exist : 0.013251543045043945 time to convert the images to numpy array : 0.30870485305786133 time to import caffe and check if the image exist : 0.010100603103637695 time to convert the images to numpy array : 0.3254101276397705 total time to convert the images to numpy array : 0.6227548122406006 list photo_ids error: [] list photo_ids correct : [-3973074918, -3973074908, -3973074919, -3973074920, -3973074935, -3973074936, -3973074930, -3973074934, -3976661961, -3973074924, -3973074910, -3973074912, -3973074903, -3976661960, -3973157253, -3973074907, -3973074929, -3973157251, -3973074921, -3973074925] number of photos to traite : 20 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5290 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/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/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5071 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.714165210723877 time used to do the prediction : 0.10513758659362793 we don't save the descriptors for this thcl 2456 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.239776611328125e-05 save missing photos in datou_result : time spend for datou_step_exec : 5.193634986877441 time spend to save output : 0.00023865699768066406 total time spend for step 5 : 5.193873643875122 step6:tfhub_classification2 Fri Sep 26 11:41:09 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 TFHub with tf2 ! we are using the classfication for only one thcl 3501 begin to check gpu status inside check gpu memory 2025-09-26 11:41:12.424317: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-26 11:41:12.425022: 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-09-26 11:41:12.425089: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:12.425138: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:12.427001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:12.427091: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:12.429320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:12.430384: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:12.434649: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:12.435851: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:12.436323: 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-09-26 11:41:12.464796: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-26 11:41:12.466854: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3870000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:41:12.466907: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-26 11:41:12.470859: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x11e7d3c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:41:12.470891: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-26 11:41:12.472150: 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-09-26 11:41:12.472225: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:12.472253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:12.472331: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:12.472374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:12.472419: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:12.472461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:12.472501: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:12.474158: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:12.474233: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:12.474295: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:41:12.474318: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:41:12.474337: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:41:12.476034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3096 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) l 3637 free memory gpu now : 5069 max_wait_temp : 1 max_wait : 5 1 Physical GPUs, 1 Logical GPUs tagging for thcl : 3501 To do loadFromThcl(), then load ParamDescType : thcl3501 thcls : [{'id': 3501, 'mtr_user_id': 31, 'name': 'learn_papier_mixte_centre_tf_b4_220223_3', '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': '9087724,9087727,9087725,9087729,9087726,9087723,9087722,9087720,9087721,9087728', 'photo_hashtag_type': 4539, 'photo_desc_type': 5759, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 3501, 'mtr_user_id': 31, 'name': 'learn_papier_mixte_centre_tf_b4_220223_3', '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': '9087724,9087727,9087725,9087729,9087726,9087723,9087722,9087720,9087721,9087728', 'photo_hashtag_type': 4539, 'photo_desc_type': 5759, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5759 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5759, 'learn_papier_mixte_centre_tf_b4_220223_3', 1792, 1792, 'learn_papier_mixte_centre_tf_b4_220223_3', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2023, 2, 22, 13, 54, 32), datetime.datetime(2023, 2, 22, 13, 54, 32)) model_name : learn_papier_mixte_centre_tf_b4_220223_3 model_param file didn't exist model_name : learn_papier_mixte_centre_tf_b4_220223_3 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_Carton_brun.jpg', 'Precision_Recall_Carton_gris.jpg', 'Precision_Recall_Teint_Dans_La_Masse.jpg', 'Precision_Recall_autre_refus.jpg', 'Precision_Recall_cartonnette.jpg', 'Precision_Recall_environnement.jpg', 'Precision_Recall_kraft.jpg', 'Precision_Recall_metal.jpg', 'Precision_Recall_papier.jpg', 'Precision_Recall_plastique.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_Carton_brun.jpg', 'Precision_Recall_Carton_gris.jpg', 'Precision_Recall_Teint_Dans_La_Masse.jpg', 'Precision_Recall_autre_refus.jpg', 'Precision_Recall_cartonnette.jpg', 'Precision_Recall_environnement.jpg', 'Precision_Recall_kraft.jpg', 'Precision_Recall_metal.jpg', 'Precision_Recall_papier.jpg', 'Precision_Recall_plastique.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3 /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Confusion_Matrix.png size_local : 121269 size in s3 : 121269 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:17 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_Carton_brun.jpg size_local : 76104 size in s3 : 76104 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_Carton_brun.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_Carton_gris.jpg size_local : 82912 size in s3 : 82912 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_Carton_gris.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_Teint_Dans_La_Masse.jpg size_local : 75423 size in s3 : 75423 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:25 Precision_Recall_Teint_Dans_La_Masse.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_autre_refus.jpg size_local : 78883 size in s3 : 78883 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_autre_refus.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_cartonnette.jpg size_local : 81791 size in s3 : 81791 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:30 Precision_Recall_cartonnette.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_environnement.jpg size_local : 59936 size in s3 : 59936 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:17 Precision_Recall_environnement.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_kraft.jpg size_local : 80280 size in s3 : 80280 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:25 Precision_Recall_kraft.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_metal.jpg size_local : 77736 size in s3 : 77736 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_metal.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_papier.jpg size_local : 69041 size in s3 : 69041 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_papier.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_plastique.jpg size_local : 70770 size in s3 : 70770 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:17 Precision_Recall_plastique.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Result_Summary.txt size_local : 1092 size in s3 : 1092 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/checkpoint size_local : 99 size in s3 : 99 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 checkpoint already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_checkpoint.ckpt.data-00000-of-00002 size_local : 429801 size in s3 : 429801 create time local : 2023-03-03 12:26:16 create time in s3 : 2023-02-22 12:54:30 model_checkpoint.ckpt.data-00000-of-00002 already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_checkpoint.ckpt.data-00001-of-00002 size_local : 141033188 size in s3 : 141033188 create time local : 2023-03-03 12:26:17 create time in s3 : 2023-02-22 12:54:25 model_checkpoint.ckpt.data-00001-of-00002 already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_checkpoint.ckpt.index size_local : 85618 size in s3 : 85618 create time local : 2023-03-03 12:26:17 create time in s3 : 2023-02-22 12:54:30 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_weights.h5 size_local : 71289448 size in s3 : 71289448 create time local : 2023-03-03 12:26:18 create time in s3 : 2023-02-22 12:54:17 model_weights.h5 already exist and didn't need to update desc size : 1792 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 1792) 17673816 _________________________________________________________________ learn_papier_mixte_centre_tf (None, 10) 17930 ================================================================= Total params: 17,691,746 Trainable params: 17,930 Non-trainable params: 17,673,816 _________________________________________________________________ Loading Weights... time used to create the model : 18.305659770965576 time used to load_weights : 0.32036709785461426 0it [00:00, ?it/s] 20it [00:00, 675.09it/s]2025-09-26 11:41:34.347065: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:34.354842: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1758879486_80698_1385840654_1d160bbcdd858d2e78ae3f55cc6e7e6f_rle_crop_3973074903_0.png temp/1758879486_80698_1385840585_cdb11d42cd7454c09dead89b2e7040c2_rle_crop_3976661960_0.png temp/1758879486_80698_1385837133_231bd1c0d8392ab33991039f38844562_rle_crop_3973074921_0.png temp/1758879486_80698_1385837133_231bd1c0d8392ab33991039f38844562_rle_crop_3973074925_0.png temp/1758879486_80698_1385837061_5c34f19e40dbb1e7d738fe4dca68a290_rle_crop_3973074929_0.png temp/1758879486_80698_1385874636_63810aa407007d949f8e16e9cde48f2c_rle_crop_3973157251_0.png temp/1758879486_80698_1385840526_e5c472f84a4a1c73c1d6eb4dbd0c6e82_rle_crop_3973074910_0.png temp/1758879486_80698_1385837273_93e5e8c9a0e9e892ead17dcf25a9ed3a_rle_crop_3973074912_0.png temp/1758879486_80698_1385837175_22e16f4b24ac070af336bc63dd9c6ac3_rle_crop_3973074919_0.png temp/1758879486_80698_1385837175_22e16f4b24ac070af336bc63dd9c6ac3_rle_crop_3973074920_0.png temp/1758879486_80698_1385874170_50b39632dcb8ad2662f807f79d149c1f_rle_crop_3973157253_0.png temp/1758879486_80698_1385840585_cdb11d42cd7454c09dead89b2e7040c2_rle_crop_3973074907_0.png temp/1758879486_80698_1385840585_cdb11d42cd7454c09dead89b2e7040c2_rle_crop_3976661961_0.png temp/1758879486_80698_1385837133_231bd1c0d8392ab33991039f38844562_rle_crop_3973074924_0.png temp/1758879486_80698_1385837061_5c34f19e40dbb1e7d738fe4dca68a290_rle_crop_3973074930_0.png temp/1758879486_80698_1385836984_4306a2b27b25aeaff1408a53a58a551c_rle_crop_3973074934_0.png temp/1758879486_80698_1385836984_4306a2b27b25aeaff1408a53a58a551c_rle_crop_3973074935_0.png temp/1758879486_80698_1385836984_4306a2b27b25aeaff1408a53a58a551c_rle_crop_3973074936_0.png temp/1758879486_80698_1385837175_22e16f4b24ac070af336bc63dd9c6ac3_rle_crop_3973074918_0.png temp/1758879486_80698_1385840585_cdb11d42cd7454c09dead89b2e7040c2_rle_crop_3973074908_0.png Found 20 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 4.564373254776001 (20,) (20, 10) (20, 1792) shape of features : (20, 1792) shape of new features : (1, 20, 1792) save descriptor for thcl : 3501 time to traite the descriptors : 0.13006353378295898 storage_type for insertDescriptorsMulti : 3 Missing photo l117 : -3973074903 Missing photo l117 : -3976661960 Missing photo l117 : -3973074921 Missing photo l117 : -3973074925 Missing photo l117 : -3973074929 Missing photo l117 : -3973157251 Missing photo l117 : -3973074910 Missing photo l117 : -3973074912 Missing photo l117 : -3973074919 Missing photo l117 : -3973074920 Missing photo l117 : -3973157253 Missing photo l117 : -3973074907 Missing photo l117 : -3976661961 Missing photo l117 : -3973074924 Missing photo l117 : -3973074930 Missing photo l117 : -3973074934 Missing photo l117 : -3973074935 Missing photo l117 : -3973074936 Missing photo l117 : -3973074918 Missing photo l117 : -3973074908 To insert : -3973074903 Missing photo l134 : -3973074903 To insert : -3976661960 Missing photo l134 : -3976661960 To insert : -3973074921 Missing photo l134 : -3973074921 To insert : -3973074925 Missing photo l134 : -3973074925 To insert : -3973074929 Missing photo l134 : -3973074929 To insert : -3973157251 Missing photo l134 : -3973157251 To insert : -3973074910 Missing photo l134 : -3973074910 To insert : -3973074912 Missing photo l134 : -3973074912 To insert : -3973074919 Missing photo l134 : -3973074919 To insert : -3973074920 Missing photo l134 : -3973074920 To insert : -3973157253 Missing photo l134 : -3973157253 To insert : -3973074907 Missing photo l134 : -3973074907 To insert : -3976661961 Missing photo l134 : -3976661961 To insert : -3973074924 Missing photo l134 : -3973074924 To insert : -3973074930 Missing photo l134 : -3973074930 To insert : -3973074934 Missing photo l134 : -3973074934 To insert : -3973074935 Missing photo l134 : -3973074935 To insert : -3973074936 Missing photo l134 : -3973074936 To insert : -3973074918 Missing photo l134 : -3973074918 To insert : -3973074908 Missing photo l134 : -3973074908 time to insert the descriptors : 4.343564748764038 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 20 /-3973074903Didn't retrieve data . /-3976661960Didn't retrieve data . /-3973074921Didn't retrieve data . /-3973074925Didn't retrieve data . /-3973074929Didn't retrieve data . /-3973157251Didn't retrieve data . /-3973074910Didn't retrieve data . /-3973074912Didn't retrieve data . /-3973074919Didn't retrieve data . /-3973074920Didn't retrieve data . /-3973157253Didn't retrieve data . /-3973074907Didn't retrieve data . /-3976661961Didn't retrieve data . /-3973074924Didn't retrieve data . /-3973074930Didn't retrieve data . /-3973074934Didn't retrieve data . /-3973074935Didn't retrieve data . /-3973074936Didn't retrieve data . /-3973074918Didn't retrieve data . /-3973074908Didn'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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 time used for this insertion : 0.017325878143310547 save_final save missing photos in datou_result : time spend for datou_step_exec : 33.95136523246765 time spend to save output : 0.13840079307556152 total time spend for step 6 : 34.08976602554321 step7:merge_mask_thcl_custom Fri Sep 26 11:41:43 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 47 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 [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 14 /1385878677Didn't retrieve data .Didn't retrieve data . /1385875036Didn't retrieve data .Didn't retrieve data . /1385874639Didn't retrieve data .Didn't retrieve data . /1385874636Didn't retrieve data .Didn't retrieve data . /1385874170Didn't retrieve data .Didn't retrieve data . /1385840654Didn't retrieve data .Didn't retrieve data . /1385840585Didn't retrieve data .Didn't retrieve data . /1385840526Didn't retrieve data .Didn't retrieve data . /1385837273Didn't retrieve data .Didn't retrieve data . /1385837222Didn't retrieve data .Didn't retrieve data . /1385837175Didn't retrieve data .Didn't retrieve data . /1385837133Didn't retrieve data .Didn't retrieve data . /1385837061Didn't retrieve data .Didn't retrieve data . /1385836984Didn'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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.013073921203613281 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05836153030395508 time spend to save output : 0.013711929321289062 total time spend for step 7 : 0.07207345962524414 step8:rle_unique_nms_with_priority Fri Sep 26 11:41:43 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 : 1 nb_hashtags : 1 time to prepare the origin masks : 2.732010841369629 time for calcul the mask position with numpy : 0.07634973526000977 nb_pixel_total : 2197371 time to create 1 rle with new method : 1.1965770721435547 time for calcul the mask position with numpy : 0.7385625839233398 nb_pixel_total : 10132869 time to create 1 rle with new method : 1.0690324306488037 create new chi : 3.19075608253479 time to delete rle : 0.01983642578125 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 8390 TO DO : save crop sub photo not yet done ! save time : 0.4821431636810303 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 2.831444263458252 time for calcul the mask position with numpy : 0.051910400390625 nb_pixel_total : 2197371 time to create 1 rle with new method : 1.0545802116394043 time for calcul the mask position with numpy : 0.6054432392120361 nb_pixel_total : 10132869 time to create 1 rle with new method : 1.4057648181915283 create new chi : 3.224993944168091 time to delete rle : 0.0013446807861328125 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 8390 TO DO : save crop sub photo not yet done ! save time : 0.4523186683654785 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 3.433819055557251 time for calcul the mask position with numpy : 0.06867647171020508 nb_pixel_total : 1890032 time to create 1 rle with new method : 1.5269348621368408 time for calcul the mask position with numpy : 0.04017162322998047 nb_pixel_total : 3841 time to create 1 rle with old method : 0.007975339889526367 time for calcul the mask position with numpy : 0.593407154083252 nb_pixel_total : 10436367 time to create 1 rle with new method : 1.4814543724060059 create new chi : 3.8467929363250732 time to delete rle : 0.0015215873718261719 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 9924 TO DO : save crop sub photo not yet done ! save time : 0.5550436973571777 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 6.0620646476745605 time for calcul the mask position with numpy : 0.07084369659423828 nb_pixel_total : 1694894 time to create 1 rle with new method : 1.4208695888519287 time for calcul the mask position with numpy : 0.15996861457824707 nb_pixel_total : 545076 time to create 1 rle with new method : 0.9331419467926025 time for calcul the mask position with numpy : 1.42909574508667 nb_pixel_total : 10090270 time to create 1 rle with new method : 2.5001354217529297 create new chi : 6.689207077026367 time to delete rle : 0.0016446113586425781 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 11763 TO DO : save crop sub photo not yet done ! save time : 0.8260939121246338 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 6.4297120571136475 time for calcul the mask position with numpy : 0.055184364318847656 nb_pixel_total : 1905126 time to create 1 rle with new method : 1.1401703357696533 time for calcul the mask position with numpy : 0.08841943740844727 nb_pixel_total : 139756 time to create 1 rle with old method : 0.18153953552246094 time for calcul the mask position with numpy : 1.0162713527679443 nb_pixel_total : 10285358 time to create 1 rle with new method : 1.0464205741882324 create new chi : 3.6654136180877686 time to delete rle : 0.0022957324981689453 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 9580 TO DO : save crop sub photo not yet done ! save time : 0.5579566955566406 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 6.15229606628418 time for calcul the mask position with numpy : 0.07050800323486328 nb_pixel_total : 2626776 time to create 1 rle with new method : 1.4859590530395508 time for calcul the mask position with numpy : 0.11988663673400879 nb_pixel_total : 200671 time to create 1 rle with new method : 1.1051902770996094 time for calcul the mask position with numpy : 2.331287145614624 nb_pixel_total : 9502793 time to create 1 rle with new method : 2.548414707183838 create new chi : 7.868736982345581 time to delete rle : 0.0032668113708496094 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 12376 TO DO : save crop sub photo not yet done ! save time : 0.7716007232666016 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 10.503458499908447 time for calcul the mask position with numpy : 0.7931208610534668 nb_pixel_total : 5319132 time to create 1 rle with new method : 1.3008003234863281 time for calcul the mask position with numpy : 0.05018901824951172 nb_pixel_total : 452531 time to create 1 rle with new method : 3.951836347579956 time for calcul the mask position with numpy : 0.1574251651763916 nb_pixel_total : 274901 time to create 1 rle with new method : 1.403731107711792 time for calcul the mask position with numpy : 0.07774519920349121 nb_pixel_total : 614714 time to create 1 rle with new method : 1.5994501113891602 time for calcul the mask position with numpy : 0.300614595413208 nb_pixel_total : 5668962 time to create 1 rle with new method : 1.5097856521606445 create new chi : 11.415306806564331 time to delete rle : 0.0029790401458740234 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 17864 TO DO : save crop sub photo not yet done ! save time : 1.114016056060791 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 9.166011571884155 time for calcul the mask position with numpy : 1.4922270774841309 nb_pixel_total : 5879197 time to create 1 rle with new method : 1.4966192245483398 time for calcul the mask position with numpy : 0.09227490425109863 nb_pixel_total : 242687 time to create 1 rle with new method : 1.403552532196045 time for calcul the mask position with numpy : 1.0654098987579346 nb_pixel_total : 6208356 time to create 1 rle with new method : 1.076758861541748 create new chi : 6.804783582687378 time to delete rle : 0.002165079116821289 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 14376 TO DO : save crop sub photo not yet done ! save time : 0.8173525333404541 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 5.959745407104492 time for calcul the mask position with numpy : 0.26677894592285156 nb_pixel_total : 4505075 time to create 1 rle with new method : 1.512366533279419 time for calcul the mask position with numpy : 0.04477047920227051 nb_pixel_total : 270371 time to create 1 rle with new method : 0.8369860649108887 time for calcul the mask position with numpy : 0.043085336685180664 nb_pixel_total : 4941 time to create 1 rle with old method : 0.006497859954833984 time for calcul the mask position with numpy : 0.7088508605957031 nb_pixel_total : 7549853 time to create 1 rle with new method : 1.1611616611480713 create new chi : 4.7507312297821045 time to delete rle : 0.002382993698120117 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 11580 TO DO : save crop sub photo not yet done ! save time : 0.6686065196990967 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 4.833223819732666 time for calcul the mask position with numpy : 1.0250499248504639 nb_pixel_total : 9418999 time to create 1 rle with new method : 0.6839182376861572 time for calcul the mask position with numpy : 0.04198956489562988 nb_pixel_total : 223246 time to create 1 rle with new method : 1.1141037940979004 time for calcul the mask position with numpy : 0.3131568431854248 nb_pixel_total : 2687995 time to create 1 rle with new method : 1.3633499145507812 create new chi : 4.711023569107056 time to delete rle : 0.0023386478424072266 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 13480 TO DO : save crop sub photo not yet done ! save time : 0.7695462703704834 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 12.09435772895813 time for calcul the mask position with numpy : 0.8303072452545166 nb_pixel_total : 7371139 time to create 1 rle with new method : 1.1506860256195068 time for calcul the mask position with numpy : 0.0463862419128418 nb_pixel_total : 35313 time to create 1 rle with old method : 0.05198931694030762 time for calcul the mask position with numpy : 0.03920936584472656 nb_pixel_total : 9243 time to create 1 rle with old method : 0.01108551025390625 time for calcul the mask position with numpy : 0.056807756423950195 nb_pixel_total : 7566 time to create 1 rle with old method : 0.00916433334350586 time for calcul the mask position with numpy : 0.07086825370788574 nb_pixel_total : 269525 time to create 1 rle with new method : 1.0581889152526855 time for calcul the mask position with numpy : 0.07837510108947754 nb_pixel_total : 35483 time to create 1 rle with old method : 0.046216487884521484 time for calcul the mask position with numpy : 0.4035215377807617 nb_pixel_total : 4601971 time to create 1 rle with new method : 1.4098198413848877 create new chi : 5.424849987030029 time to delete rle : 0.002113819122314453 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 17098 TO DO : save crop sub photo not yet done ! save time : 0.9488863945007324 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 14.408727169036865 time for calcul the mask position with numpy : 0.6542432308197021 nb_pixel_total : 6759397 time to create 1 rle with new method : 1.6135358810424805 time for calcul the mask position with numpy : 0.0471196174621582 nb_pixel_total : 279810 time to create 1 rle with new method : 1.4494311809539795 time for calcul the mask position with numpy : 0.10235166549682617 nb_pixel_total : 438457 time to create 1 rle with new method : 1.605637550354004 time for calcul the mask position with numpy : 0.11917543411254883 nb_pixel_total : 639546 time to create 1 rle with new method : 1.1653709411621094 time for calcul the mask position with numpy : 0.059847116470336914 nb_pixel_total : 350558 time to create 1 rle with new method : 1.5449321269989014 time for calcul the mask position with numpy : 0.1677236557006836 nb_pixel_total : 503725 time to create 1 rle with new method : 1.5337181091308594 time for calcul the mask position with numpy : 0.10510134696960449 nb_pixel_total : 3235660 time to create 1 rle with new method : 1.3921096324920654 time for calcul the mask position with numpy : 0.08303403854370117 nb_pixel_total : 123087 time to create 1 rle with old method : 0.14735054969787598 create new chi : 12.23282790184021 time to delete rle : 0.0037310123443603516 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 24626 TO DO : save crop sub photo not yet done ! save time : 1.4688546657562256 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 9.47530722618103 time for calcul the mask position with numpy : 0.7198126316070557 nb_pixel_total : 7621800 time to create 1 rle with new method : 1.3488519191741943 time for calcul the mask position with numpy : 0.07409381866455078 nb_pixel_total : 27408 time to create 1 rle with old method : 0.03298306465148926 time for calcul the mask position with numpy : 0.05796980857849121 nb_pixel_total : 21698 time to create 1 rle with old method : 0.025902986526489258 time for calcul the mask position with numpy : 0.06684255599975586 nb_pixel_total : 174273 time to create 1 rle with new method : 1.5859849452972412 time for calcul the mask position with numpy : 0.042650461196899414 nb_pixel_total : 18342 time to create 1 rle with old method : 0.02318429946899414 time for calcul the mask position with numpy : 0.11840415000915527 nb_pixel_total : 4466719 time to create 1 rle with new method : 1.2469844818115234 create new chi : 5.496716737747192 time to delete rle : 0.001687765121459961 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 13667 TO DO : save crop sub photo not yet done ! save time : 0.7640504837036133 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 7.342463970184326 time for calcul the mask position with numpy : 0.6846699714660645 nb_pixel_total : 6737107 time to create 1 rle with new method : 1.258354902267456 time for calcul the mask position with numpy : 0.04906582832336426 nb_pixel_total : 22897 time to create 1 rle with old method : 0.03133797645568848 time for calcul the mask position with numpy : 0.04005098342895508 nb_pixel_total : 16059 time to create 1 rle with old method : 0.019367218017578125 time for calcul the mask position with numpy : 0.0388791561126709 nb_pixel_total : 19708 time to create 1 rle with old method : 0.023641109466552734 time for calcul the mask position with numpy : 0.48874521255493164 nb_pixel_total : 5534469 time to create 1 rle with new method : 1.481332778930664 create new chi : 4.2473649978637695 time to delete rle : 0.0025382041931152344 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 15053 TO DO : save crop sub photo not yet done ! save time : 0.8457551002502441 map_output_result : {1385878677: (0.0, 'Should be the crop_list due to order', 0.0), 1385875036: (0.0, 'Should be the crop_list due to order', 0.0), 1385874639: (0.0, 'Should be the crop_list due to order', 0.0), 1385874636: (0.0, 'Should be the crop_list due to order', 0.0), 1385874170: (0.0, 'Should be the crop_list due to order', 0.0), 1385840654: (0.0, 'Should be the crop_list due to order', 0.0), 1385840585: (0.0, 'Should be the crop_list due to order', 0.0), 1385840526: (0.0, 'Should be the crop_list due to order', 0.0), 1385837273: (0.0, 'Should be the crop_list due to order', 0.0), 1385837222: (0.0, 'Should be the crop_list due to order', 0.0), 1385837175: (0.0, 'Should be the crop_list due to order', 0.0), 1385837133: (0.0, 'Should be the crop_list due to order', 0.0), 1385837061: (0.0, 'Should be the crop_list due to order', 0.0), 1385836984: (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 [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 14 /1385878677.Didn't retrieve data . /1385875036.Didn't retrieve data . /1385874639.Didn't retrieve data . /1385874636.Didn't retrieve data . /1385874170.Didn't retrieve data . /1385840654.Didn't retrieve data . /1385840585.Didn't retrieve data . /1385840526.Didn't retrieve data . /1385837273.Didn't retrieve data . /1385837222.Didn't retrieve data . /1385837175.Didn't retrieve data . /1385837133.Didn't retrieve data . /1385837061.Didn't retrieve data . /1385836984.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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.014460563659667969 save_final save missing photos in datou_result : time spend for datou_step_exec : 202.0131447315216 time spend to save output : 0.03953361511230469 total time spend for step 8 : 202.0526783466339 step9:crop_condition Fri Sep 26 11:45:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure every photo are already treated, don't need to treat again BBBBFFFFInside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 4 /1385864475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385864477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385864479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385864499Didn'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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 time used for this insertion : 0.0147552490234375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5984776020050049 time spend to save output : 0.015239715576171875 total time spend for step 9 : 0.6137173175811768 step10:ventilate_hashtags_in_portfolio Fri Sep 26 11:45:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 27193431 get user id for portfolio 27193431 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`=27193431 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','papier','kraft','autre_refus','mal_croppe','cartonnette','metal')) 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`=27193431 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','papier','kraft','autre_refus','mal_croppe','cartonnette','metal')) 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`=27193431 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','papier','kraft','autre_refus','mal_croppe','cartonnette','metal')) 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`=27193431 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','papier','kraft','autre_refus','mal_croppe','cartonnette','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27273735,27273736,27273737,27273738,27273739,27273740,27273741,27273742,27273743,27273744,27273745,27273746?tags=Carton_brun,Carton_gris,plastique,flou,Teint_Dans_La_Masse,environnement,papier,kraft,autre_refus,mal_croppe,cartonnette,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 1 /27193431. 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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01446843147277832 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5617265701293945 time spend to save output : 0.01511240005493164 total time spend for step 10 : 2.576838970184326 step11:final Fri Sep 26 11:45:09 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 : {1385878677: ('0.09096285938141155',), 1385875036: ('0.09096285938141155',), 1385874639: ('0.09096285938141155',), 1385874636: ('0.09096285938141155',), 1385874170: ('0.09096285938141155',), 1385840654: ('0.09096285938141155',), 1385840585: ('0.09096285938141155',), 1385840526: ('0.09096285938141155',), 1385837273: ('0.09096285938141155',), 1385837222: ('0.09096285938141155',), 1385837175: ('0.09096285938141155',), 1385837133: ('0.09096285938141155',), 1385837061: ('0.09096285938141155',), 1385836984: ('0.09096285938141155',)} new output for save of step final : {1385878677: ('0.09096285938141155',), 1385875036: ('0.09096285938141155',), 1385874639: ('0.09096285938141155',), 1385874636: ('0.09096285938141155',), 1385874170: ('0.09096285938141155',), 1385840654: ('0.09096285938141155',), 1385840585: ('0.09096285938141155',), 1385840526: ('0.09096285938141155',), 1385837273: ('0.09096285938141155',), 1385837222: ('0.09096285938141155',), 1385837175: ('0.09096285938141155',), 1385837133: ('0.09096285938141155',), 1385837061: ('0.09096285938141155',), 1385836984: ('0.09096285938141155',)} [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 14 /1385878677.Didn't retrieve data . /1385875036.Didn't retrieve data . /1385874639.Didn't retrieve data . /1385874636.Didn't retrieve data . /1385874170.Didn't retrieve data . /1385840654.Didn't retrieve data . /1385840585.Didn't retrieve data . /1385840526.Didn't retrieve data . /1385837273.Didn't retrieve data . /1385837222.Didn't retrieve data . /1385837175.Didn't retrieve data . /1385837133.Didn't retrieve data . /1385837061.Didn't retrieve data . /1385836984.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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.014353752136230469 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15612125396728516 time spend to save output : 0.01590895652770996 total time spend for step 11 : 0.17203021049499512 step12:velours_tree Fri Sep 26 11:45:09 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.4956512451171875 time spend to save output : 8.273124694824219e-05 total time spend for step 12 : 0.49573397636413574 step13:send_mail_cod Fri Sep 26 11:45:09 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 complete output_args for input 1 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 in order to get the selector url, please entre the license of selector results_Auto_P27193431_26-09-2025_11_45_09.pdf 27273725 imagette272737251758879909 27273726 imagette272737261758879909 27273730 imagette272737301758879909 27273731 change filename to text .imagette272737311758879909 27273732 imagette272737321758879909 27273733 imagette272737331758879909 27273734 imagette272737341758879909 27273723 imagette272737231758879909 27273724 imagette272737241758879909 27273727 change filename to text .change filename to text .change filename to text .imagette272737271758879909 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27193431 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27273735,27273736,27273737,27273738,27273739,27273740,27273741,27273742,27273743,27273744,27273745,27273746?tags=Carton_brun,Carton_gris,plastique,flou,Teint_Dans_La_Masse,environnement,papier,kraft,autre_refus,mal_croppe,cartonnette,metal your option no_mail is active, we will not send the real mail to your client args[1385878677] : ((1385878677, -0.817608136756796, 501862349), (1385878677, -2.6684655165273203, 492609224), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385875036] : ((1385875036, -0.817608136756796, 501862349), (1385875036, -2.6684655165273203, 492609224), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385874639] : ((1385874639, -0.7832193518451175, 501862349), (1385874639, -2.7107028951917527, 492609224), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385874636] : ((1385874636, -0.5022968031006797, 501862349), (1385874636, -2.6668178812119683, 492609224), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385874170] : ((1385874170, -0.08551932664021962, 496442774), (1385874170, -2.3217680948328723, 492609224), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385840654] : ((1385840654, -0.4990786149509882, 501862349), (1385840654, -2.3233364108627086, 492609224), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385840585] : ((1385840585, -0.2644174413926822, 496442774), (1385840585, -0.9929097355618046, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385840526] : ((1385840526, -0.4257495342039656, 496442774), (1385840526, -0.5251904379322013, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385837273] : ((1385837273, -0.41511313650113285, 496442774), (1385837273, -1.0581740718803703, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385837222] : ((1385837222, -0.07033190555535539, 496442774), (1385837222, -0.8669773610353233, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385837175] : ((1385837175, -0.6052316093662485, 501862349), (1385837175, -0.7004724885758706, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385837133] : ((1385837133, -0.3242260658136292, 496442774), (1385837133, 0.24450101085332684, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385837061] : ((1385837061, -0.34428986014770674, 496442774), (1385837061, -0.2146183087190921, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com args[1385836984] : ((1385836984, -0.22283008583109393, 496442774), (1385836984, -0.738631746696679, 492688767), '0.09096285938141155') We are sending mail with results at report@fotonower.com refus_total : 0.09096285938141155 2022-04-13 10:29:59 0 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193431_26-09-2025_11_45_09.pdf results_Auto_P27193431_26-09-2025_11_45_09.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193431_26-09-2025_11_45_09.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4433','27193431','results_Auto_P27193431_26-09-2025_11_45_09.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193431_26-09-2025_11_45_09.pdf','pdf','','0.56','0.09096285938141155') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] 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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.017830371856689453 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.480290651321411 time spend to save output : 0.01854562759399414 total time spend for step 13 : 6.498836278915405 step14:split_time_score Fri Sep 26 11:45:16 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 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', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24092025 27193431 Nombre de photos uploadées : 14 / 23040 (0%) 24092025 27193431 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 24092025 27193431 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 6.937980651855469e-05 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015072822570800781 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22701001167297363 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.09096285938141155 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193431_26-09-2025_11_45_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27193431 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=27193431 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27193432 order by id desc limit 1 Qualite : 0.0994719176427741 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193433_26-09-2025_11_39_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27193433 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=27193433 AND mptpi.`type`=3726 To do Qualite : 0.11091927628898955 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193435_26-09-2025_11_39_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27193435 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=27193435 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24092025': {'nb_upload': 14, '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 [1385878677, 1385875036, 1385874639, 1385874636, 1385874170, 1385840654, 1385840585, 1385840526, 1385837273, 1385837222, 1385837175, 1385837133, 1385837061, 1385836984] Looping around the photos to save general results len do output : 1 /27193431Didn'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 ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385878677', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385875036', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874639', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874636', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385874170', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840654', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840585', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385840526', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837273', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837222', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837175', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837133', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385837061', None, None, None, None, None, '3772635') ('4433', None, None, None, None, None, None, None, '3772635') ('4433', '27193431', '1385836984', None, None, None, None, None, '3772635') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.014825820922851562 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5944445133209229 time spend to save output : 0.015284299850463867 total time spend for step 14 : 1.6097288131713867 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 156.33user 255.45system 7:47.87elapsed 88%CPU (0avgtext+0avgdata 4195080maxresident)k 8034400inputs+260824outputs (252575major+21215334minor)pagefaults 0swaps