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 : 84913 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 : ['3772637'] with mtr_portfolio_ids : ['27193433'] and first list_photo_ids : [] new path : /proc/84913/ 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 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 5.176763534545898 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:41:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1841 wait 20 seconds l 3637 free memory gpu now : 1841 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-26 11:41:55.550714: 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:55.584511: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-26 11:41:55.586793: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb7ac000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:41:55.586866: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-26 11:41:55.594141: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-26 11:41:55.764677: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x198194b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:41:55.764736: 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:55.766579: 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:55.768660: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:55.802387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:55.823217: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:55.827705: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:55.860373: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:55.864796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:55.914937: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:55.916470: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:55.916575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:55.917557: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:41:55.917574: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:41:55.917583: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:41:55.919283: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6249 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:41:56.298381: 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:56.298462: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:56.298479: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:56.298495: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:56.298510: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:56.298524: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:56.298539: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:56.298554: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:56.299632: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:56.300670: 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:56.300713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:56.300731: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:56.300747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:56.300764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:56.300780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:56.300796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:56.300812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:56.301862: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:56.301899: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:41:56.301908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:41:56.301916: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:41:56.303014: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6249 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:42:15.618537: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:42:15.865023: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 15 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 : 1 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: 2.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: 3.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: 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: 9.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 : 3 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 7.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 : 1 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 7.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 : 4 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: 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 : 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 : 10 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 7.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 : 4 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 : 7 Detection mask done ! Trying to reset tf kernel 86741 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 318 tf kernel not reseted sub process len(results) : 15 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 15 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 : 5607 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.4746284484863281 nb_pixel_total : 9190011 time to create 1 rle with new method : 1.5808720588684082 length of segment : 3785 time for calcul the mask position with numpy : 0.8030829429626465 nb_pixel_total : 9522906 time to create 1 rle with new method : 1.314941167831421 length of segment : 3730 time for calcul the mask position with numpy : 0.0016493797302246094 nb_pixel_total : 92392 time to create 1 rle with old method : 0.10759496688842773 length of segment : 386 time for calcul the mask position with numpy : 0.98968505859375 nb_pixel_total : 7580931 time to create 1 rle with new method : 1.1644384860992432 length of segment : 5481 time for calcul the mask position with numpy : 0.0009341239929199219 nb_pixel_total : 22223 time to create 1 rle with old method : 0.02700495719909668 length of segment : 260 time for calcul the mask position with numpy : 0.655911922454834 nb_pixel_total : 8110135 time to create 1 rle with new method : 1.0624806880950928 length of segment : 5795 time for calcul the mask position with numpy : 0.3625774383544922 nb_pixel_total : 3881001 time to create 1 rle with new method : 1.19944429397583 length of segment : 3485 time for calcul the mask position with numpy : 0.0008618831634521484 nb_pixel_total : 66926 time to create 1 rle with old method : 0.0792386531829834 length of segment : 288 time for calcul the mask position with numpy : 0.0007088184356689453 nb_pixel_total : 53690 time to create 1 rle with old method : 0.06395316123962402 length of segment : 265 time for calcul the mask position with numpy : 0.7845649719238281 nb_pixel_total : 6540889 time to create 1 rle with new method : 0.7035417556762695 length of segment : 4539 time for calcul the mask position with numpy : 0.015459060668945312 nb_pixel_total : 810689 time to create 1 rle with new method : 0.09618830680847168 length of segment : 868 time for calcul the mask position with numpy : 0.005453824996948242 nb_pixel_total : 350932 time to create 1 rle with new method : 0.014908313751220703 length of segment : 719 time for calcul the mask position with numpy : 0.8949127197265625 nb_pixel_total : 9097612 time to create 1 rle with new method : 1.3870463371276855 length of segment : 5434 time for calcul the mask position with numpy : 0.002977609634399414 nb_pixel_total : 162284 time to create 1 rle with new method : 0.00797891616821289 length of segment : 807 time for calcul the mask position with numpy : 0.0011606216430664062 nb_pixel_total : 63880 time to create 1 rle with old method : 0.08899617195129395 length of segment : 425 time for calcul the mask position with numpy : 0.9514379501342773 nb_pixel_total : 7942931 time to create 1 rle with new method : 1.7980914115905762 length of segment : 5117 time for calcul the mask position with numpy : 0.002666473388671875 nb_pixel_total : 22578 time to create 1 rle with old method : 0.028005361557006836 length of segment : 300 time for calcul the mask position with numpy : 0.8135731220245361 nb_pixel_total : 8771079 time to create 1 rle with new method : 1.1451337337493896 length of segment : 5136 time for calcul the mask position with numpy : 1.0068285465240479 nb_pixel_total : 6022179 time to create 1 rle with new method : 1.4226837158203125 length of segment : 4903 time for calcul the mask position with numpy : 0.009263753890991211 nb_pixel_total : 352244 time to create 1 rle with new method : 0.03213381767272949 length of segment : 1226 time for calcul the mask position with numpy : 1.0704102516174316 nb_pixel_total : 6402462 time to create 1 rle with new method : 1.3962273597717285 length of segment : 5059 time for calcul the mask position with numpy : 0.01494145393371582 nb_pixel_total : 426427 time to create 1 rle with new method : 0.01819133758544922 length of segment : 591 time for calcul the mask position with numpy : 0.1919095516204834 nb_pixel_total : 1210060 time to create 1 rle with new method : 0.8179116249084473 length of segment : 4278 time for calcul the mask position with numpy : 0.007857084274291992 nb_pixel_total : 27796 time to create 1 rle with old method : 0.03280234336853027 length of segment : 216 time for calcul the mask position with numpy : 0.004044532775878906 nb_pixel_total : 238914 time to create 1 rle with new method : 0.009795427322387695 length of segment : 609 time for calcul the mask position with numpy : 0.001375436782836914 nb_pixel_total : 5479 time to create 1 rle with old method : 0.006891012191772461 length of segment : 91 time for calcul the mask position with numpy : 0.02968573570251465 nb_pixel_total : 1144033 time to create 1 rle with new method : 0.15656375885009766 length of segment : 2382 time for calcul the mask position with numpy : 1.0693964958190918 nb_pixel_total : 5193046 time to create 1 rle with new method : 1.2967028617858887 length of segment : 5349 time for calcul the mask position with numpy : 0.00034356117248535156 nb_pixel_total : 5818 time to create 1 rle with old method : 0.007101297378540039 length of segment : 93 time for calcul the mask position with numpy : 0.0013661384582519531 nb_pixel_total : 42997 time to create 1 rle with old method : 0.050502777099609375 length of segment : 331 time for calcul the mask position with numpy : 0.001565694808959961 nb_pixel_total : 93067 time to create 1 rle with old method : 0.10975790023803711 length of segment : 282 time for calcul the mask position with numpy : 0.00038242340087890625 nb_pixel_total : 17189 time to create 1 rle with old method : 0.020685195922851562 length of segment : 186 time for calcul the mask position with numpy : 0.0008873939514160156 nb_pixel_total : 7214 time to create 1 rle with old method : 0.008854389190673828 length of segment : 112 time for calcul the mask position with numpy : 0.04819631576538086 nb_pixel_total : 1364744 time to create 1 rle with new method : 0.20133185386657715 length of segment : 1855 time for calcul the mask position with numpy : 0.0003616809844970703 nb_pixel_total : 9333 time to create 1 rle with old method : 0.011540412902832031 length of segment : 138 time for calcul the mask position with numpy : 0.012098073959350586 nb_pixel_total : 342722 time to create 1 rle with new method : 0.012585163116455078 length of segment : 549 time for calcul the mask position with numpy : 0.5433168411254883 nb_pixel_total : 4135869 time to create 1 rle with new method : 1.1055755615234375 length of segment : 4153 time for calcul the mask position with numpy : 0.0031576156616210938 nb_pixel_total : 219308 time to create 1 rle with new method : 0.008276700973510742 length of segment : 627 time for calcul the mask position with numpy : 0.026556968688964844 nb_pixel_total : 603766 time to create 1 rle with new method : 0.0781102180480957 length of segment : 567 time for calcul the mask position with numpy : 0.002304553985595703 nb_pixel_total : 157323 time to create 1 rle with new method : 0.005166530609130859 length of segment : 452 time for calcul the mask position with numpy : 0.006451129913330078 nb_pixel_total : 25335 time to create 1 rle with old method : 0.03742814064025879 length of segment : 238 time for calcul the mask position with numpy : 0.004874467849731445 nb_pixel_total : 34465 time to create 1 rle with old method : 0.04317450523376465 length of segment : 191 time for calcul the mask position with numpy : 0.005508899688720703 nb_pixel_total : 24715 time to create 1 rle with old method : 0.03212428092956543 length of segment : 220 time for calcul the mask position with numpy : 0.009204387664794922 nb_pixel_total : 11156 time to create 1 rle with old method : 0.01569056510925293 length of segment : 164 time for calcul the mask position with numpy : 0.11017966270446777 nb_pixel_total : 1110512 time to create 1 rle with new method : 0.1622934341430664 length of segment : 1646 time for calcul the mask position with numpy : 0.024028539657592773 nb_pixel_total : 248830 time to create 1 rle with new method : 0.015650510787963867 length of segment : 862 time for calcul the mask position with numpy : 0.1501598358154297 nb_pixel_total : 1444599 time to create 1 rle with new method : 0.5284039974212646 length of segment : 2637 time spent for convertir_results : 65.59097933769226 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 : 86827 save missing photos in datou_result : time spend for datou_step_exec : 209.6869535446167 time spend to save output : 4.672677040100098 total time spend for step 1 : 214.3596305847168 step2:brightness 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 ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1758879685_84913_1385913236_df4c0a61b4fee63b42fc9cdfa5796851.jpg treat image : temp/1758879685_84913_1385913232_06c5a4c729c40321392aa73dd4368a16.jpg treat image : temp/1758879685_84913_1385913220_1d9e97ad595d55b66c388ee7273441d9.jpg treat image : temp/1758879685_84913_1385912920_1450155253e1ddd0f34f8124d6eee97e.jpg treat image : temp/1758879685_84913_1385912912_e2cb3c5d08a32b13451664c23bb42179.jpg treat image : temp/1758879685_84913_1385912905_2dcb2b626783b632ad48a2200ee533e2.jpg treat image : temp/1758879685_84913_1385912900_d0102f6e42b6db3b5d3ccd463356ef1b.jpg treat image : temp/1758879685_84913_1385912897_d9ec3f3b9eb1c7baeba91e846309d324.jpg treat image : temp/1758879685_84913_1385912893_15e20c5c7849d65067ce651facbb5161.jpg treat image : temp/1758879685_84913_1385912394_0d0a706eb62f5170af54f80196d14701.jpg treat image : temp/1758879685_84913_1385912392_71c82c06a714a7f9200826b96fee9554.jpg treat image : temp/1758879685_84913_1385912390_78209093802c2ff1191cecf22344c148.jpg treat image : temp/1758879685_84913_1385912389_da6b8e989568067eed2186f20fced8a0.jpg treat image : temp/1758879685_84913_1385912388_429af95bbb9b0b18cfc5859711d86f8f.jpg treat image : temp/1758879685_84913_1385912379_4aa3d1fcc9939c69c8aaa24b0898f804.jpg 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 : 15 time used for this insertion : 0.01276707649230957 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.013665199279785156 save missing photos in datou_result : time spend for datou_step_exec : 24.745852947235107 time spend to save output : 0.031215429306030273 total time spend for step 2 : 24.777068376541138 step3:blur_detection Fri Sep 26 11:45:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 methode: ratio et variance treat image : temp/1758879685_84913_1385913236_df4c0a61b4fee63b42fc9cdfa5796851.jpg resize: (3040, 4056) 1385913236 -0.8882798325534675 treat image : temp/1758879685_84913_1385913232_06c5a4c729c40321392aa73dd4368a16.jpg resize: (3040, 4056) 1385913232 -1.2815374469026914 treat image : temp/1758879685_84913_1385913220_1d9e97ad595d55b66c388ee7273441d9.jpg resize: (3040, 4056) 1385913220 -1.1579353951703688 treat image : temp/1758879685_84913_1385912920_1450155253e1ddd0f34f8124d6eee97e.jpg resize: (3040, 4056) 1385912920 -1.1303782482920068 treat image : temp/1758879685_84913_1385912912_e2cb3c5d08a32b13451664c23bb42179.jpg resize: (3040, 4056) 1385912912 -0.8055202629718367 treat image : temp/1758879685_84913_1385912905_2dcb2b626783b632ad48a2200ee533e2.jpg resize: (3040, 4056) 1385912905 -0.2707147752595276 treat image : temp/1758879685_84913_1385912900_d0102f6e42b6db3b5d3ccd463356ef1b.jpg resize: (3040, 4056) 1385912900 -1.239003789612697 treat image : temp/1758879685_84913_1385912897_d9ec3f3b9eb1c7baeba91e846309d324.jpg resize: (3040, 4056) 1385912897 -0.7424346504518784 treat image : temp/1758879685_84913_1385912893_15e20c5c7849d65067ce651facbb5161.jpg resize: (3040, 4056) 1385912893 -1.437469946528795 treat image : temp/1758879685_84913_1385912394_0d0a706eb62f5170af54f80196d14701.jpg resize: (3040, 4056) 1385912394 -0.045679159443965126 treat image : temp/1758879685_84913_1385912392_71c82c06a714a7f9200826b96fee9554.jpg resize: (3040, 4056) 1385912392 0.7661721042144701 treat image : temp/1758879685_84913_1385912390_78209093802c2ff1191cecf22344c148.jpg resize: (3040, 4056) 1385912390 0.9042672212620174 treat image : temp/1758879685_84913_1385912389_da6b8e989568067eed2186f20fced8a0.jpg resize: (3040, 4056) 1385912389 0.6503991198731958 treat image : temp/1758879685_84913_1385912388_429af95bbb9b0b18cfc5859711d86f8f.jpg resize: (3040, 4056) 1385912388 -0.5023843213545762 treat image : temp/1758879685_84913_1385912379_4aa3d1fcc9939c69c8aaa24b0898f804.jpg resize: (3040, 4056) 1385912379 -0.21837190941855675 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 : 15 time used for this insertion : 0.012332916259765625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.012063264846801758 save missing photos in datou_result : time spend for datou_step_exec : 88.34906339645386 time spend to save output : 0.10411643981933594 total time spend for step 3 : 88.4531798362732 step4:crop_condition Fri Sep 26 11:46:58 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 : 15 ! 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : 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 begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 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 [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 13 /-3976676774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676804Didn'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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.02853989601135254 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.95992159843445 time spend to save output : 0.02975606918334961 total time spend for step 4 : 29.989677667617798 step5:thcl Fri Sep 26 11:47:28 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.0071065425872802734 time to convert the images to numpy array : 6.9141387939453125e-06 time to import caffe and check if the image exist : 0.010440349578857422 time to convert the images to numpy array : 1.9073486328125e-06 time to import caffe and check if the image exist : 0.010489225387573242 time to convert the images to numpy array : 2.86102294921875e-06 time to import caffe and check if the image exist : 0.011805057525634766 time to convert the images to numpy array : 0.007943868637084961 time to import caffe and check if the image exist : 0.014679431915283203 time to convert the images to numpy array : 0.12808752059936523 time to import caffe and check if the image exist : 0.013019800186157227 time to convert the images to numpy array : 0.14859390258789062 time to import caffe and check if the image exist : 0.008960962295532227 time to convert the images to numpy array : 0.2480461597442627 time to import caffe and check if the image exist : 0.011879205703735352 time to convert the images to numpy array : 0.2520289421081543 time to import caffe and check if the image exist : 0.014101028442382812 time to convert the images to numpy array : 0.2652559280395508 time to import caffe and check if the image exist : 0.013536214828491211 time to convert the images to numpy array : 0.2786538600921631 total time to convert the images to numpy array : 0.6172597408294678 list photo_ids error: [] list photo_ids correct : [-3976676804, -3976676793, -3976676802, -3976676765, -3976676776, -3976676774, -3976676806, -3976676792, -3976676800, -3976676787, -3976676798, -3976676777, -3976676782] number of photos to traite : 13 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 : 6800 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 : 6581 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.31900548934936523 time used to do the prediction : 0.10199403762817383 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.0251998901367188e-05 save missing photos in datou_result : time spend for datou_step_exec : 5.854323387145996 time spend to save output : 0.00020551681518554688 total time spend for step 5 : 5.854528903961182 step6:tfhub_classification2 Fri Sep 26 11:47:34 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:47:38.101947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-26 11:47:38.103251: 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:47:38.103328: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:47:38.103374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:47:38.106352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:47:38.106435: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:47:38.110891: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:47:38.112740: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:47:38.122085: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:47:38.123387: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:47:38.123915: 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:47:38.148569: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-26 11:47:38.150014: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb694000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:47:38.150033: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-26 11:47:38.153564: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x28a6e6c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:47:38.153592: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-26 11:47:38.154268: 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:47:38.154344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:47:38.154364: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:47:38.154458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:47:38.154480: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:47:38.154507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:47:38.154532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:47:38.154558: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:47:38.155539: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:47:38.155584: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:47:38.155876: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:47:38.155893: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:47:38.155903: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:47:38.157011: 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 : 6579 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.3685200214386 time used to load_weights : 0.5345640182495117 0it [00:00, ?it/s] 13it [00:00, 325.57it/s]2025-09-26 11:48:00.590297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:48:00.596795: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1758879685_84913_1385912905_2dcb2b626783b632ad48a2200ee533e2_rle_crop_3976676774_0.png temp/1758879685_84913_1385912379_4aa3d1fcc9939c69c8aaa24b0898f804_rle_crop_3976676806_0.png temp/1758879685_84913_1385912389_da6b8e989568067eed2186f20fced8a0_rle_crop_3976676792_0.png temp/1758879685_84913_1385912388_429af95bbb9b0b18cfc5859711d86f8f_rle_crop_3976676800_0.png temp/1758879685_84913_1385913232_06c5a4c729c40321392aa73dd4368a16_rle_crop_3976676765_0.png temp/1758879685_84913_1385912900_d0102f6e42b6db3b5d3ccd463356ef1b_rle_crop_3976676776_0.png temp/1758879685_84913_1385912900_d0102f6e42b6db3b5d3ccd463356ef1b_rle_crop_3976676777_0.png temp/1758879685_84913_1385912394_0d0a706eb62f5170af54f80196d14701_rle_crop_3976676782_0.png temp/1758879685_84913_1385912390_78209093802c2ff1191cecf22344c148_rle_crop_3976676787_0.png temp/1758879685_84913_1385912389_da6b8e989568067eed2186f20fced8a0_rle_crop_3976676798_0.png temp/1758879685_84913_1385912389_da6b8e989568067eed2186f20fced8a0_rle_crop_3976676793_0.png temp/1758879685_84913_1385912388_429af95bbb9b0b18cfc5859711d86f8f_rle_crop_3976676802_0.png temp/1758879685_84913_1385912379_4aa3d1fcc9939c69c8aaa24b0898f804_rle_crop_3976676804_0.png Found 13 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 5.737167596817017 (13,) (13, 10) (13, 1792) shape of features : (13, 1792) shape of new features : (1, 13, 1792) save descriptor for thcl : 3501 time to traite the descriptors : 0.11233735084533691 storage_type for insertDescriptorsMulti : 3 Missing photo l117 : -3976676774 Missing photo l117 : -3976676806 Missing photo l117 : -3976676792 Missing photo l117 : -3976676800 Missing photo l117 : -3976676765 Missing photo l117 : -3976676776 Missing photo l117 : -3976676777 Missing photo l117 : -3976676782 Missing photo l117 : -3976676787 Missing photo l117 : -3976676798 Missing photo l117 : -3976676793 Missing photo l117 : -3976676802 Missing photo l117 : -3976676804 To insert : -3976676774 Missing photo l134 : -3976676774 To insert : -3976676806 Missing photo l134 : -3976676806 To insert : -3976676792 Missing photo l134 : -3976676792 To insert : -3976676800 Missing photo l134 : -3976676800 To insert : -3976676765 Missing photo l134 : -3976676765 To insert : -3976676776 Missing photo l134 : -3976676776 To insert : -3976676777 Missing photo l134 : -3976676777 To insert : -3976676782 Missing photo l134 : -3976676782 To insert : -3976676787 Missing photo l134 : -3976676787 To insert : -3976676798 Missing photo l134 : -3976676798 To insert : -3976676793 Missing photo l134 : -3976676793 To insert : -3976676802 Missing photo l134 : -3976676802 To insert : -3976676804 Missing photo l134 : -3976676804 time to insert the descriptors : 3.0286145210266113 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 13 /-3976676774Didn't retrieve data . /-3976676806Didn't retrieve data . /-3976676792Didn't retrieve data . /-3976676800Didn't retrieve data . /-3976676765Didn't retrieve data . /-3976676776Didn't retrieve data . /-3976676777Didn't retrieve data . /-3976676782Didn't retrieve data . /-3976676787Didn't retrieve data . /-3976676798Didn't retrieve data . /-3976676793Didn't retrieve data . /-3976676802Didn't retrieve data . /-3976676804Didn'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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.017305612564086914 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.91734838485718 time spend to save output : 0.0254213809967041 total time spend for step 6 : 35.94276976585388 step7:merge_mask_thcl_custom Fri Sep 26 11:48:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 15 /1385913236Didn't retrieve data .Didn't retrieve data . /1385913232Didn't retrieve data .Didn't retrieve data . /1385913220Didn't retrieve data .Didn't retrieve data . /1385912920Didn't retrieve data .Didn't retrieve data . /1385912912Didn't retrieve data .Didn't retrieve data . /1385912905Didn't retrieve data .Didn't retrieve data . /1385912900Didn't retrieve data .Didn't retrieve data . /1385912897Didn't retrieve data .Didn't retrieve data . /1385912893Didn't retrieve data .Didn't retrieve data . /1385912394Didn't retrieve data .Didn't retrieve data . /1385912392Didn't retrieve data .Didn't retrieve data . /1385912390Didn't retrieve data .Didn't retrieve data . /1385912389Didn't retrieve data .Didn't retrieve data . /1385912388Didn't retrieve data .Didn't retrieve data . /1385912379Didn'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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.013173818588256836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.053020477294921875 time spend to save output : 0.01388096809387207 total time spend for step 7 : 0.06690144538879395 step8:rle_unique_nms_with_priority Fri Sep 26 11:48:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 2.198056936264038 time for calcul the mask position with numpy : 0.05592751502990723 nb_pixel_total : 3149169 time to create 1 rle with new method : 0.9348330497741699 time for calcul the mask position with numpy : 0.4881868362426758 nb_pixel_total : 9181071 time to create 1 rle with new method : 1.049586534500122 create new chi : 2.621387243270874 time to delete rle : 0.026798248291015625 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 10630 TO DO : save crop sub photo not yet done ! save time : 0.5605592727661133 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 5.78199028968811 time for calcul the mask position with numpy : 0.08609533309936523 nb_pixel_total : 2174501 time to create 1 rle with new method : 0.6898331642150879 time for calcul the mask position with numpy : 0.07354927062988281 nb_pixel_total : 72312 time to create 1 rle with old method : 0.09014678001403809 time for calcul the mask position with numpy : 0.7471177577972412 nb_pixel_total : 10083427 time to create 1 rle with new method : 1.3497285842895508 create new chi : 3.147092342376709 time to delete rle : 0.0016281604766845703 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 9054 TO DO : save crop sub photo not yet done ! save time : 0.5282936096191406 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 3.1789612770080566 time for calcul the mask position with numpy : 0.6145732402801514 nb_pixel_total : 4750886 time to create 1 rle with new method : 2.302083730697632 time for calcul the mask position with numpy : 0.7090399265289307 nb_pixel_total : 7579354 time to create 1 rle with new method : 2.229339838027954 create new chi : 5.98301887512207 time to delete rle : 0.0017354488372802734 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 14056 TO DO : save crop sub photo not yet done ! save time : 0.7528929710388184 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 4.678908586502075 time for calcul the mask position with numpy : 0.0492246150970459 nb_pixel_total : 1869683 time to create 1 rle with new method : 1.8937408924102783 time for calcul the mask position with numpy : 0.9312078952789307 nb_pixel_total : 10460557 time to create 1 rle with new method : 0.635927677154541 create new chi : 3.6196653842926025 time to delete rle : 0.0016529560089111328 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 9366 TO DO : save crop sub photo not yet done ! save time : 0.5185954570770264 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 3.8318257331848145 time for calcul the mask position with numpy : 0.4828813076019287 nb_pixel_total : 8258960 time to create 1 rle with new method : 1.6340603828430176 time for calcul the mask position with numpy : 0.044579505920410156 nb_pixel_total : 53515 time to create 1 rle with old method : 0.0696260929107666 time for calcul the mask position with numpy : 0.041723012924194336 nb_pixel_total : 66752 time to create 1 rle with old method : 0.08562707901000977 time for calcul the mask position with numpy : 0.0732109546661377 nb_pixel_total : 3951013 time to create 1 rle with new method : 0.657705545425415 create new chi : 3.19500732421875 time to delete rle : 0.0012500286102294922 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 10682 TO DO : save crop sub photo not yet done ! save time : 0.5766205787658691 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 6.70604133605957 time for calcul the mask position with numpy : 0.4123058319091797 nb_pixel_total : 5191181 time to create 1 rle with new method : 2.0080318450927734 time for calcul the mask position with numpy : 0.05255246162414551 nb_pixel_total : 286223 time to create 1 rle with new method : 1.192854881286621 time for calcul the mask position with numpy : 0.058522939682006836 nb_pixel_total : 311162 time to create 1 rle with new method : 1.5358364582061768 time for calcul the mask position with numpy : 0.8536341190338135 nb_pixel_total : 6541674 time to create 1 rle with new method : 1.8794059753417969 create new chi : 8.219794273376465 time to delete rle : 0.0014586448669433594 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 13451 TO DO : save crop sub photo not yet done ! save time : 0.7194468975067139 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 7.619295358657837 time for calcul the mask position with numpy : 0.07625699043273926 nb_pixel_total : 1793803 time to create 1 rle with new method : 1.8338706493377686 time for calcul the mask position with numpy : 0.7981202602386475 nb_pixel_total : 10536437 time to create 1 rle with new method : 1.3943517208099365 create new chi : 4.222641706466675 time to delete rle : 0.0016243457794189453 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 8812 TO DO : save crop sub photo not yet done ! save time : 0.4963855743408203 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 4.498252630233765 time for calcul the mask position with numpy : 0.07084894180297852 nb_pixel_total : 4374515 time to create 1 rle with new method : 1.4520385265350342 time for calcul the mask position with numpy : 0.8249554634094238 nb_pixel_total : 7955725 time to create 1 rle with new method : 1.060614824295044 create new chi : 3.5103726387023926 time to delete rle : 0.0015914440155029297 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 12830 TO DO : save crop sub photo not yet done ! save time : 0.7078499794006348 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 3.947169065475464 time for calcul the mask position with numpy : 0.05479145050048828 nb_pixel_total : 1843074 time to create 1 rle with new method : 1.562675952911377 time for calcul the mask position with numpy : 1.0160434246063232 nb_pixel_total : 10487166 time to create 1 rle with new method : 1.7742786407470703 create new chi : 4.527761220932007 time to delete rle : 0.001138448715209961 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 8668 TO DO : save crop sub photo not yet done ! save time : 0.4785888195037842 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 6.799373149871826 time for calcul the mask position with numpy : 0.7212424278259277 nb_pixel_total : 5987735 time to create 1 rle with new method : 1.2902863025665283 time for calcul the mask position with numpy : 0.04802298545837402 nb_pixel_total : 331240 time to create 1 rle with new method : 1.6602654457092285 time for calcul the mask position with numpy : 0.593834400177002 nb_pixel_total : 6011265 time to create 1 rle with new method : 1.7747364044189453 create new chi : 6.245413064956665 time to delete rle : 0.0017063617706298828 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 14806 TO DO : save crop sub photo not yet done ! save time : 0.8246936798095703 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 4.748122215270996 time for calcul the mask position with numpy : 1.395104169845581 nb_pixel_total : 5810429 time to create 1 rle with new method : 1.5718967914581299 time for calcul the mask position with numpy : 0.05236196517944336 nb_pixel_total : 127023 time to create 1 rle with old method : 0.15115094184875488 time for calcul the mask position with numpy : 0.47492051124572754 nb_pixel_total : 6392788 time to create 1 rle with new method : 1.7461128234863281 create new chi : 5.5108723640441895 time to delete rle : 0.0025420188903808594 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 14046 TO DO : save crop sub photo not yet done ! save time : 0.7857081890106201 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 9.850093603134155 time for calcul the mask position with numpy : 1.559140682220459 nb_pixel_total : 10471087 time to create 1 rle with new method : 1.8151524066925049 time for calcul the mask position with numpy : 0.04637908935546875 nb_pixel_total : 506521 time to create 1 rle with new method : 1.3622372150421143 time for calcul the mask position with numpy : 0.0446624755859375 nb_pixel_total : 5458 time to create 1 rle with old method : 0.006289958953857422 time for calcul the mask position with numpy : 0.03804445266723633 nb_pixel_total : 110090 time to create 1 rle with old method : 0.12667465209960938 time for calcul the mask position with numpy : 0.045638322830200195 nb_pixel_total : 27775 time to create 1 rle with old method : 0.031922101974487305 time for calcul the mask position with numpy : 0.07270550727844238 nb_pixel_total : 1209309 time to create 1 rle with new method : 1.5228173732757568 create new chi : 6.824408054351807 time to delete rle : 0.0020453929901123047 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 16195 TO DO : save crop sub photo not yet done ! save time : 0.9032456874847412 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 15.936892032623291 time for calcul the mask position with numpy : 0.6092915534973145 nb_pixel_total : 6650362 time to create 1 rle with new method : 1.8500030040740967 time for calcul the mask position with numpy : 0.03818368911743164 nb_pixel_total : 42893 time to create 1 rle with old method : 0.04871511459350586 time for calcul the mask position with numpy : 0.06719160079956055 nb_pixel_total : 265472 time to create 1 rle with new method : 1.5513863563537598 time for calcul the mask position with numpy : 0.07548236846923828 nb_pixel_total : 1747 time to create 1 rle with old method : 0.0023033618927001953 time for calcul the mask position with numpy : 0.06065845489501953 nb_pixel_total : 9290 time to create 1 rle with old method : 0.01045846939086914 time for calcul the mask position with numpy : 0.06740760803222656 nb_pixel_total : 160323 time to create 1 rle with new method : 1.3830420970916748 time for calcul the mask position with numpy : 0.04933047294616699 nb_pixel_total : 7158 time to create 1 rle with old method : 0.008083581924438477 time for calcul the mask position with numpy : 0.04345393180847168 nb_pixel_total : 5804 time to create 1 rle with old method : 0.0069255828857421875 time for calcul the mask position with numpy : 0.035997867584228516 nb_pixel_total : 5791 time to create 1 rle with old method : 0.0069849491119384766 time for calcul the mask position with numpy : 0.47849416732788086 nb_pixel_total : 5181400 time to create 1 rle with new method : 1.9767415523529053 create new chi : 8.575227499008179 time to delete rle : 0.0027980804443359375 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 17641 TO DO : save crop sub photo not yet done ! save time : 0.9799983501434326 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 7.413705348968506 time for calcul the mask position with numpy : 0.7285032272338867 nb_pixel_total : 7299059 time to create 1 rle with new method : 1.5606188774108887 time for calcul the mask position with numpy : 0.06623268127441406 nb_pixel_total : 154642 time to create 1 rle with new method : 1.1671955585479736 time for calcul the mask position with numpy : 0.036374568939208984 nb_pixel_total : 216880 time to create 1 rle with new method : 1.1817374229431152 time for calcul the mask position with numpy : 0.04186868667602539 nb_pixel_total : 532513 time to create 1 rle with new method : 1.254626989364624 time for calcul the mask position with numpy : 0.08161592483520508 nb_pixel_total : 4127146 time to create 1 rle with new method : 0.9437451362609863 create new chi : 7.282368898391724 time to delete rle : 0.0016248226165771484 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 14387 TO DO : save crop sub photo not yet done ! save time : 0.7861437797546387 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 8.659650325775146 time for calcul the mask position with numpy : 1.0355143547058105 nb_pixel_total : 9668395 time to create 1 rle with new method : 1.992516040802002 time for calcul the mask position with numpy : 0.04396414756774902 nb_pixel_total : 1209217 time to create 1 rle with new method : 1.7772865295410156 time for calcul the mask position with numpy : 0.036546945571899414 nb_pixel_total : 248068 time to create 1 rle with new method : 1.529358148574829 time for calcul the mask position with numpy : 0.03588700294494629 nb_pixel_total : 11119 time to create 1 rle with old method : 0.013328790664672852 time for calcul the mask position with numpy : 0.042659759521484375 nb_pixel_total : 1109168 time to create 1 rle with new method : 1.2341465950012207 time for calcul the mask position with numpy : 0.04185891151428223 nb_pixel_total : 34384 time to create 1 rle with old method : 0.04687976837158203 time for calcul the mask position with numpy : 0.05034303665161133 nb_pixel_total : 24645 time to create 1 rle with old method : 0.035521745681762695 time for calcul the mask position with numpy : 0.05005383491516113 nb_pixel_total : 25244 time to create 1 rle with old method : 0.028970956802368164 create new chi : 8.184481382369995 time to delete rle : 0.0018851757049560547 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 14826 TO DO : save crop sub photo not yet done ! save time : 0.8402194976806641 map_output_result : {1385913236: (0.0, 'Should be the crop_list due to order', 0.0), 1385913232: (0.0, 'Should be the crop_list due to order', 0.0), 1385913220: (0.0, 'Should be the crop_list due to order', 0.0), 1385912920: (0.0, 'Should be the crop_list due to order', 0.0), 1385912912: (0.0, 'Should be the crop_list due to order', 0.0), 1385912905: (0.0, 'Should be the crop_list due to order', 0.0), 1385912900: (0.0, 'Should be the crop_list due to order', 0.0), 1385912897: (0.0, 'Should be the crop_list due to order', 0.0), 1385912893: (0.0, 'Should be the crop_list due to order', 0.0), 1385912394: (0.0, 'Should be the crop_list due to order', 0.0), 1385912392: (0.0, 'Should be the crop_list due to order', 0.0), 1385912390: (0.0, 'Should be the crop_list due to order', 0.0), 1385912389: (0.0, 'Should be the crop_list due to order', 0.0), 1385912388: (0.0, 'Should be the crop_list due to order', 0.0), 1385912379: (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 [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 15 /1385913236.Didn't retrieve data . /1385913232.Didn't retrieve data . /1385913220.Didn't retrieve data . /1385912920.Didn't retrieve data . /1385912912.Didn't retrieve data . /1385912905.Didn't retrieve data . /1385912900.Didn't retrieve data . /1385912897.Didn't retrieve data . /1385912893.Didn't retrieve data . /1385912394.Didn't retrieve data . /1385912392.Didn't retrieve data . /1385912390.Didn't retrieve data . /1385912389.Didn't retrieve data . /1385912388.Didn't retrieve data . /1385912379.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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.014832019805908203 save_final save missing photos in datou_result : time spend for datou_step_exec : 193.91166257858276 time spend to save output : 0.016237258911132812 total time spend for step 8 : 193.9278998374939 step9:crop_condition Fri Sep 26 11:51:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 15 ! batch 1 Loaded 58 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758880294_84913 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.004574775695801 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 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 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 begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 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 [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 3 /1386337467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386337469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1386337471Didn'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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.03424644470214844 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.981958627700806 time spend to save output : 0.04111790657043457 total time spend for step 9 : 12.02307653427124 step10:ventilate_hashtags_in_portfolio Fri Sep 26 11:51:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 27193433 get user id for portfolio 27193433 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','Carton_brun','autre_refus','kraft','cartonnette','flou','papier','environnement','plastique','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27193433 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','Carton_brun','autre_refus','kraft','cartonnette','flou','papier','environnement','plastique','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27273372,27273373,27273374,27273375,27273376,27273377,27273378,27273379,27273380,27273381,27273382,27273383?tags=mal_croppe,flou,metal,Carton_gris,Carton_brun,Teint_Dans_La_Masse,environnement,papier,cartonnette,kraft,plastique,autre_refus Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 1 /27193433. 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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.01568889617919922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5858099460601807 time spend to save output : 0.0160219669342041 total time spend for step 10 : 0.6018319129943848 step11:final Fri Sep 26 11:51:37 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 : {1385913236: ('0.07888709107349609',), 1385913232: ('0.07888709107349609',), 1385913220: ('0.07888709107349609',), 1385912920: ('0.07888709107349609',), 1385912912: ('0.07888709107349609',), 1385912905: ('0.07888709107349609',), 1385912900: ('0.07888709107349609',), 1385912897: ('0.07888709107349609',), 1385912893: ('0.07888709107349609',), 1385912394: ('0.07888709107349609',), 1385912392: ('0.07888709107349609',), 1385912390: ('0.07888709107349609',), 1385912389: ('0.07888709107349609',), 1385912388: ('0.07888709107349609',), 1385912379: ('0.07888709107349609',)} new output for save of step final : {1385913236: ('0.07888709107349609',), 1385913232: ('0.07888709107349609',), 1385913220: ('0.07888709107349609',), 1385912920: ('0.07888709107349609',), 1385912912: ('0.07888709107349609',), 1385912905: ('0.07888709107349609',), 1385912900: ('0.07888709107349609',), 1385912897: ('0.07888709107349609',), 1385912893: ('0.07888709107349609',), 1385912394: ('0.07888709107349609',), 1385912392: ('0.07888709107349609',), 1385912390: ('0.07888709107349609',), 1385912389: ('0.07888709107349609',), 1385912388: ('0.07888709107349609',), 1385912379: ('0.07888709107349609',)} [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 15 /1385913236.Didn't retrieve data . /1385913232.Didn't retrieve data . /1385913220.Didn't retrieve data . /1385912920.Didn't retrieve data . /1385912912.Didn't retrieve data . /1385912905.Didn't retrieve data . /1385912900.Didn't retrieve data . /1385912897.Didn't retrieve data . /1385912893.Didn't retrieve data . /1385912394.Didn't retrieve data . /1385912392.Didn't retrieve data . /1385912390.Didn't retrieve data . /1385912389.Didn't retrieve data . /1385912388.Didn't retrieve data . /1385912379.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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.014181375503540039 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2661595344543457 time spend to save output : 0.015038013458251953 total time spend for step 11 : 0.28119754791259766 step12:velours_tree Fri Sep 26 11:51:37 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 : 1.5343165397644043 time spend to save output : 5.936622619628906e-05 total time spend for step 12 : 1.5343759059906006 step13:send_mail_cod Fri Sep 26 11:51:38 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_P27193433_26-09-2025_11_51_38.pdf 27273359 imagette272733591758880298 27273360 imagette272733601758880299 27273361 imagette272733611758880299 27273367 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette272733671758880299 27273368 imagette272733681758880299 27273369 change filename to text .change filename to text .change filename to text .change filename to text .imagette272733691758880299 27273370 change filename to text .change filename to text .imagette272733701758880300 27273362 change filename to text .imagette272733621758880300 27273363 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette272733631758880300 27273364 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette272733641758880301 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27193433 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27273372,27273373,27273374,27273375,27273376,27273377,27273378,27273379,27273380,27273381,27273382,27273383?tags=mal_croppe,flou,metal,Carton_gris,Carton_brun,Teint_Dans_La_Masse,environnement,papier,cartonnette,kraft,plastique,autre_refus your option no_mail is active, we will not send the real mail to your client args[1385913236] : ((1385913236, -1.0229625860892935, 501862349), (1385913236, -0.8882798325534675, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385913232] : ((1385913232, -0.6839312518434076, 501862349), (1385913232, -1.2815374469026914, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385913220] : ((1385913220, -0.12143545293076954, 496442774), (1385913220, -1.1579353951703688, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912920] : ((1385912920, -0.30899229942279, 496442774), (1385912920, -1.1303782482920068, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912912] : ((1385912912, -0.15857486758256878, 496442774), (1385912912, -0.8055202629718367, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912905] : ((1385912905, -0.24986341785365743, 496442774), (1385912905, -0.2707147752595276, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912900] : ((1385912900, -0.5281211380616957, 501862349), (1385912900, -1.239003789612697, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912897] : ((1385912897, -0.4573964011974487, 496442774), (1385912897, -0.7424346504518784, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912893] : ((1385912893, -0.24825143723887808, 496442774), (1385912893, -1.437469946528795, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912394] : ((1385912394, -0.5104553926909523, 501862349), (1385912394, -0.045679159443965126, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912392] : ((1385912392, -0.4915804022610464, 501862349), (1385912392, 0.7661721042144701, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912390] : ((1385912390, 0.303009527225912, 2107752395), (1385912390, 0.9042672212620174, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912389] : ((1385912389, -0.18574461386018976, 496442774), (1385912389, 0.6503991198731958, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912388] : ((1385912388, -0.2661024257812663, 496442774), (1385912388, -0.5023843213545762, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com args[1385912379] : ((1385912379, 0.020628996501994467, 2107752395), (1385912379, -0.21837190941855675, 492688767), '0.07888709107349609') We are sending mail with results at report@fotonower.com refus_total : 0.07888709107349609 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_P27193433_26-09-2025_11_51_38.pdf results_Auto_P27193433_26-09-2025_11_51_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193433_26-09-2025_11_51_38.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','27193433','results_Auto_P27193433_26-09-2025_11_51_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27193433_26-09-2025_11_51_38.pdf','pdf','','0.91','0.07888709107349609') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] 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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.014948129653930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.23566484451294 time spend to save output : 0.01556706428527832 total time spend for step 13 : 9.251231908798218 step14:split_time_score Fri Sep 26 11:51:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 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', 85),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24092025 27193433 Nombre de photos uploadées : 85 / 23040 (0%) 24092025 27193433 Nombre de photos taguées (types de déchets): 0 / 85 (0%) 24092025 27193433 Nombre de photos taguées (volume) : 0 / 85 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.004142284393310547 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2382984161376953 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_51_38.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': 85, '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 [1385913236, 1385913232, 1385913220, 1385912920, 1385912912, 1385912905, 1385912900, 1385912897, 1385912893, 1385912394, 1385912392, 1385912390, 1385912389, 1385912388, 1385912379] Looping around the photos to save general results len do output : 1 /27193433Didn'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, '3772637') ('4433', None, '1385913236', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913232', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385913220', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912920', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912912', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912905', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912900', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912897', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912893', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912394', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912392', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912390', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912389', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912388', None, None, None, None, None, '3772637') ('4433', None, None, None, None, None, None, None, '3772637') ('4433', None, '1385912379', None, None, None, None, None, '3772637') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.015816211700439453 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6033546924591064 time spend to save output : 0.016040802001953125 total time spend for step 14 : 1.6193954944610596 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 242.37user 328.20system 10:49.40elapsed 87%CPU (0avgtext+0avgdata 4210872maxresident)k 8503008inputs+256560outputs (250069major+22358259minor)pagefaults 0swaps