python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 10 -a ' -a 3459 -l 10 ' -s datou_current_3459 -M 0 -S 0 -U 95,95,80 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 2253076 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 48>10 please execute split_portfolio.py -i 21138999 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2647938'] with mtr_portfolio_ids : ['21138999'] and first list_photo_ids : [] new path : /proc/2253076/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.536754846572876 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Mar 7 10:56:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10372 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-07 10:56:35.467698: 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-03-07 10:56:35.499273: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-07 10:56:35.501542: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa450000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-07 10:56:35.501589: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-07 10:56:35.505811: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-07 10:56:35.673061: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1ae5ea10 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-07 10:56:35.673106: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-07 10:56:35.674281: 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-03-07 10:56:35.674612: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 10:56:35.676934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 10:56:35.679393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-07 10:56:35.679747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-07 10:56:35.683907: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-07 10:56:35.685563: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-07 10:56:35.691827: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-07 10:56:35.693597: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-07 10:56:35.693682: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 10:56:35.694533: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-07 10:56:35.694549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-07 10:56:35.694558: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-07 10:56:35.695959: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-03-07 10:56:36.015843: 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-03-07 10:56:36.015965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 10:56:36.015999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 10:56:36.016025: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-07 10:56:36.016046: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-07 10:56:36.016075: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-07 10:56:36.016098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-07 10:56:36.016122: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-07 10:56:36.017565: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-07 10:56:36.018973: 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-03-07 10:56:36.019013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-07 10:56:36.019034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 10:56:36.019052: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-07 10:56:36.019071: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-07 10:56:36.019089: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-07 10:56:36.019108: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-07 10:56:36.019127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-07 10:56:36.020528: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-07 10:56:36.020571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-07 10:56:36.020583: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-07 10:56:36.020593: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-07 10:56:36.022053: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-03-07 10:56:48.894505: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-07 10:56:49.159260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 142.35000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 4.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.10000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 1.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 143.60000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 2.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.10000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 6.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 143.85000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 139.10000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 137.85000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 147.10000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.35000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 2.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 142.10000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 2 Detection mask done ! Trying to reset tf kernel 2253688 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5083 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10372 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.002280712127685547 nb_pixel_total : 77813 time to create 1 rle with old method : 0.09197616577148438 length of segment : 648 time for calcul the mask position with numpy : 0.0004265308380126953 nb_pixel_total : 18160 time to create 1 rle with old method : 0.022261619567871094 length of segment : 318 time for calcul the mask position with numpy : 0.008087873458862305 nb_pixel_total : 371506 time to create 1 rle with new method : 0.019979238510131836 length of segment : 904 time for calcul the mask position with numpy : 0.0017900466918945312 nb_pixel_total : 77455 time to create 1 rle with old method : 0.10612869262695312 length of segment : 453 time for calcul the mask position with numpy : 0.03765869140625 nb_pixel_total : 1169185 time to create 1 rle with new method : 0.8358426094055176 length of segment : 2695 time for calcul the mask position with numpy : 0.0018706321716308594 nb_pixel_total : 71680 time to create 1 rle with old method : 0.0917811393737793 length of segment : 454 time for calcul the mask position with numpy : 0.007317066192626953 nb_pixel_total : 256005 time to create 1 rle with new method : 0.03173637390136719 length of segment : 1238 time for calcul the mask position with numpy : 0.001577615737915039 nb_pixel_total : 58852 time to create 1 rle with old method : 0.11195182800292969 length of segment : 363 time for calcul the mask position with numpy : 0.0009334087371826172 nb_pixel_total : 30578 time to create 1 rle with old method : 0.049657583236694336 length of segment : 430 time for calcul the mask position with numpy : 0.0010466575622558594 nb_pixel_total : 46972 time to create 1 rle with old method : 0.06874632835388184 length of segment : 264 time for calcul the mask position with numpy : 0.0004932880401611328 nb_pixel_total : 26742 time to create 1 rle with old method : 0.030930757522583008 length of segment : 294 time for calcul the mask position with numpy : 0.000858306884765625 nb_pixel_total : 67845 time to create 1 rle with old method : 0.10884237289428711 length of segment : 400 time for calcul the mask position with numpy : 0.007905960083007812 nb_pixel_total : 231982 time to create 1 rle with new method : 0.016350984573364258 length of segment : 1875 time for calcul the mask position with numpy : 0.018770456314086914 nb_pixel_total : 607126 time to create 1 rle with new method : 0.08312535285949707 length of segment : 1199 time for calcul the mask position with numpy : 0.02495718002319336 nb_pixel_total : 950580 time to create 1 rle with new method : 0.14633798599243164 length of segment : 1675 time for calcul the mask position with numpy : 0.0032176971435546875 nb_pixel_total : 151160 time to create 1 rle with new method : 0.009078741073608398 length of segment : 469 time for calcul the mask position with numpy : 0.0023651123046875 nb_pixel_total : 53601 time to create 1 rle with old method : 0.05941581726074219 length of segment : 472 time for calcul the mask position with numpy : 0.0008161067962646484 nb_pixel_total : 37296 time to create 1 rle with old method : 0.061568498611450195 length of segment : 241 time for calcul the mask position with numpy : 0.0017666816711425781 nb_pixel_total : 79761 time to create 1 rle with old method : 0.11536717414855957 length of segment : 383 time for calcul the mask position with numpy : 0.001973867416381836 nb_pixel_total : 42541 time to create 1 rle with old method : 0.07671999931335449 length of segment : 351 time for calcul the mask position with numpy : 0.0032269954681396484 nb_pixel_total : 131880 time to create 1 rle with old method : 0.15545010566711426 length of segment : 557 time for calcul the mask position with numpy : 0.006354331970214844 nb_pixel_total : 194784 time to create 1 rle with new method : 0.013334274291992188 length of segment : 1334 time for calcul the mask position with numpy : 0.0004813671112060547 nb_pixel_total : 8467 time to create 1 rle with old method : 0.01397562026977539 length of segment : 170 time for calcul the mask position with numpy : 0.001355886459350586 nb_pixel_total : 45467 time to create 1 rle with old method : 0.0724332332611084 length of segment : 372 time for calcul the mask position with numpy : 0.0012743473052978516 nb_pixel_total : 35975 time to create 1 rle with old method : 0.05570650100708008 length of segment : 373 time for calcul the mask position with numpy : 0.0029668807983398438 nb_pixel_total : 143139 time to create 1 rle with old method : 0.17039775848388672 length of segment : 606 time for calcul the mask position with numpy : 0.0010089874267578125 nb_pixel_total : 33589 time to create 1 rle with old method : 0.038901329040527344 length of segment : 266 time for calcul the mask position with numpy : 0.002796173095703125 nb_pixel_total : 147785 time to create 1 rle with old method : 0.20554542541503906 length of segment : 456 time for calcul the mask position with numpy : 0.005777120590209961 nb_pixel_total : 245263 time to create 1 rle with new method : 0.015842914581298828 length of segment : 844 time for calcul the mask position with numpy : 0.0010178089141845703 nb_pixel_total : 39024 time to create 1 rle with old method : 0.045865535736083984 length of segment : 234 time for calcul the mask position with numpy : 0.0044596195220947266 nb_pixel_total : 156064 time to create 1 rle with new method : 0.011965513229370117 length of segment : 833 time for calcul the mask position with numpy : 0.002074718475341797 nb_pixel_total : 97626 time to create 1 rle with old method : 0.11053729057312012 length of segment : 432 time for calcul the mask position with numpy : 0.0018107891082763672 nb_pixel_total : 73157 time to create 1 rle with old method : 0.08576416969299316 length of segment : 371 time for calcul the mask position with numpy : 0.008459806442260742 nb_pixel_total : 342743 time to create 1 rle with new method : 0.013516902923583984 length of segment : 649 time for calcul the mask position with numpy : 0.0013551712036132812 nb_pixel_total : 28122 time to create 1 rle with old method : 0.034238576889038086 length of segment : 510 time for calcul the mask position with numpy : 0.0018925666809082031 nb_pixel_total : 48580 time to create 1 rle with old method : 0.05860018730163574 length of segment : 494 time for calcul the mask position with numpy : 0.0218198299407959 nb_pixel_total : 660827 time to create 1 rle with new method : 0.33355236053466797 length of segment : 1855 time for calcul the mask position with numpy : 0.00040650367736816406 nb_pixel_total : 4782 time to create 1 rle with old method : 0.005910158157348633 length of segment : 77 time for calcul the mask position with numpy : 0.0009837150573730469 nb_pixel_total : 42349 time to create 1 rle with old method : 0.05209541320800781 length of segment : 266 time for calcul the mask position with numpy : 0.0026504993438720703 nb_pixel_total : 81533 time to create 1 rle with old method : 0.1036844253540039 length of segment : 473 time for calcul the mask position with numpy : 0.0008997917175292969 nb_pixel_total : 47683 time to create 1 rle with old method : 0.05662083625793457 length of segment : 296 time for calcul the mask position with numpy : 0.0009443759918212891 nb_pixel_total : 44839 time to create 1 rle with old method : 0.05476522445678711 length of segment : 244 time for calcul the mask position with numpy : 0.0008790493011474609 nb_pixel_total : 32941 time to create 1 rle with old method : 0.04015660285949707 length of segment : 168 time for calcul the mask position with numpy : 0.0009303092956542969 nb_pixel_total : 26817 time to create 1 rle with old method : 0.044187068939208984 length of segment : 262 time for calcul the mask position with numpy : 0.0006349086761474609 nb_pixel_total : 11460 time to create 1 rle with old method : 0.014786481857299805 length of segment : 220 time for calcul the mask position with numpy : 0.0005171298980712891 nb_pixel_total : 11419 time to create 1 rle with old method : 0.01387476921081543 length of segment : 140 time for calcul the mask position with numpy : 0.008922576904296875 nb_pixel_total : 377762 time to create 1 rle with new method : 0.01900339126586914 length of segment : 2106 time for calcul the mask position with numpy : 0.0036115646362304688 nb_pixel_total : 162174 time to create 1 rle with new method : 0.005921840667724609 length of segment : 572 time for calcul the mask position with numpy : 0.0012793540954589844 nb_pixel_total : 75198 time to create 1 rle with old method : 0.08946537971496582 length of segment : 706 time for calcul the mask position with numpy : 0.0067861080169677734 nb_pixel_total : 321976 time to create 1 rle with new method : 0.014063119888305664 length of segment : 692 time for calcul the mask position with numpy : 0.007816553115844727 nb_pixel_total : 331497 time to create 1 rle with new method : 0.01758861541748047 length of segment : 654 time for calcul the mask position with numpy : 0.0006518363952636719 nb_pixel_total : 20744 time to create 1 rle with old method : 0.024533987045288086 length of segment : 203 time for calcul the mask position with numpy : 0.002131938934326172 nb_pixel_total : 89348 time to create 1 rle with old method : 0.10412216186523438 length of segment : 500 time for calcul the mask position with numpy : 0.0049076080322265625 nb_pixel_total : 303982 time to create 1 rle with new method : 0.010024785995483398 length of segment : 916 time for calcul the mask position with numpy : 0.005288600921630859 nb_pixel_total : 235293 time to create 1 rle with new method : 0.01202702522277832 length of segment : 1425 time for calcul the mask position with numpy : 0.0021681785583496094 nb_pixel_total : 68830 time to create 1 rle with old method : 0.08120107650756836 length of segment : 798 time for calcul the mask position with numpy : 0.0031440258026123047 nb_pixel_total : 117752 time to create 1 rle with old method : 0.16148662567138672 length of segment : 568 time for calcul the mask position with numpy : 0.002078533172607422 nb_pixel_total : 77059 time to create 1 rle with old method : 0.09181690216064453 length of segment : 466 time for calcul the mask position with numpy : 0.006680727005004883 nb_pixel_total : 285112 time to create 1 rle with new method : 0.013576745986938477 length of segment : 710 time for calcul the mask position with numpy : 0.0005633831024169922 nb_pixel_total : 20088 time to create 1 rle with old method : 0.02331066131591797 length of segment : 233 time for calcul the mask position with numpy : 0.0031898021697998047 nb_pixel_total : 153697 time to create 1 rle with new method : 0.005434513092041016 length of segment : 417 time for calcul the mask position with numpy : 0.002058744430541992 nb_pixel_total : 51681 time to create 1 rle with old method : 0.07956957817077637 length of segment : 356 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 10039 time to create 1 rle with old method : 0.012195348739624023 length of segment : 131 time for calcul the mask position with numpy : 0.0029366016387939453 nb_pixel_total : 175762 time to create 1 rle with new method : 0.005434989929199219 length of segment : 415 time for calcul the mask position with numpy : 0.0017457008361816406 nb_pixel_total : 65973 time to create 1 rle with old method : 0.0783531665802002 length of segment : 702 time for calcul the mask position with numpy : 0.0008194446563720703 nb_pixel_total : 23621 time to create 1 rle with old method : 0.02960658073425293 length of segment : 350 time spent for convertir_results : 11.415182113647461 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 66 chid ids of type : 3663 Number RLEs to save : 40548 save missing photos in datou_result : time spend for datou_step_exec : 68.61086773872375 time spend to save output : 2.572667121887207 total time spend for step 1 : 71.18353486061096 step2:crop_condition Fri Mar 7 10:57:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 66 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 14 About to insert : list_path_to_insert length 14 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! 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_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! 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 : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 38 /-3697139057Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139068Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139078Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139059Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139060Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139063Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139084Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139061Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3697139072Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 124 time used for this insertion : 0.895681619644165 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.57158398628235 time spend to save output : 0.8975894451141357 total time spend for step 2 : 32.469173431396484 step3:thcl Fri Mar 7 10:58:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.019033432006835938 time to convert the images to numpy array : 0.034616947174072266 time to import caffe and check if the image exist : 0.02414679527282715 time to convert the images to numpy array : 0.04284238815307617 time to import caffe and check if the image exist : 0.006874561309814453 time to convert the images to numpy array : 0.06635332107543945 time to import caffe and check if the image exist : 0.02417755126953125 time to convert the images to numpy array : 0.7252981662750244 time to import caffe and check if the image exist : 0.010606765747070312 time to convert the images to numpy array : 0.7511379718780518 time to import caffe and check if the image exist : 0.028479814529418945 time to convert the images to numpy array : 0.7378113269805908 time to import caffe and check if the image exist : 0.007809638977050781 time to convert the images to numpy array : 0.765758752822876 time to import caffe and check if the image exist : 0.01977682113647461 time to convert the images to numpy array : 0.7577128410339355 time to import caffe and check if the image exist : 0.02594161033630371 time to convert the images to numpy array : 0.937096118927002 time to import caffe and check if the image exist : 0.0062236785888671875 time to convert the images to numpy array : 0.9786860942840576 total time to convert the images to numpy array : 1.296318769454956 list photo_ids error: [] list photo_ids correct : [-3697139097, -3697139103, -3697139061, -3697139062, -3697139092, -3697139072, -3697139057, -3697139067, -3697139068, -3697139077, -3697139112, -3697139108, -3697139083, -3697139090, -3697139084, -3697139091, -3697139085, -3697139115, -3697139054, -3697139059, -3697139060, -3697139063, -3697139080, -3697139079, -3697139078, -3697139099, -3697139100, -3697139105, -3697139111, -3697139110, -3697139093, -3697139101, -3697139058, -3697139055, -3697139065, -3697139069, -3697139070, -3697139094] number of photos to traite : 38 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 : 10372 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10153 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8019158840179443 time used to do the prediction : 0.13833880424499512 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10151 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10151 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.1014361381530762 time used to do the prediction : 0.10370039939880371 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 3.2901763916015625e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.617095947265625 time spend to save output : 0.0005106925964355469 total time spend for step 3 : 10.61760663986206 step4:merge_mask_thcl_custom Fri Mar 7 10:58:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 66 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 [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 10 /1341418655Didn't retrieve data .Didn't retrieve data . /1341418651Didn't retrieve data .Didn't retrieve data . /1341418643Didn't retrieve data .Didn't retrieve data . /1341418631Didn't retrieve data .Didn't retrieve data . /1341418625Didn't retrieve data .Didn't retrieve data . /1341418598Didn't retrieve data .Didn't retrieve data . /1341418593Didn't retrieve data .Didn't retrieve data . /1341418578Didn't retrieve data .Didn't retrieve data . /1341418515Didn't retrieve data .Didn't retrieve data . /1341418462Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014494895935058594 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.053433895111083984 time spend to save output : 0.015082836151123047 total time spend for step 4 : 0.06851673126220703 step5:rle_unique_nms_with_priority Fri Mar 7 10:58:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 10 nb_hashtags : 4 time to prepare the origin masks : 14.706080675125122 time for calcul the mask position with numpy : 1.7941911220550537 nb_pixel_total : 6608703 time to create 1 rle with new method : 1.0699045658111572 time for calcul the mask position with numpy : 0.05228066444396973 nb_pixel_total : 120 time to create 1 rle with old method : 0.0004119873046875 time for calcul the mask position with numpy : 0.05553555488586426 nb_pixel_total : 30535 time to create 1 rle with old method : 0.04055190086364746 time for calcul the mask position with numpy : 0.06161165237426758 nb_pixel_total : 29865 time to create 1 rle with old method : 0.040389060974121094 time for calcul the mask position with numpy : 0.04525184631347656 nb_pixel_total : 58724 time to create 1 rle with old method : 0.06994390487670898 time for calcul the mask position with numpy : 0.046988725662231445 nb_pixel_total : 105860 time to create 1 rle with old method : 0.1194009780883789 time for calcul the mask position with numpy : 0.044852495193481445 nb_pixel_total : 46896 time to create 1 rle with old method : 0.05646538734436035 time for calcul the mask position with numpy : 0.056504011154174805 nb_pixel_total : 1062617 time to create 1 rle with new method : 1.2827107906341553 time for calcul the mask position with numpy : 0.0510408878326416 nb_pixel_total : 18154 time to create 1 rle with old method : 0.021020174026489258 time for calcul the mask position with numpy : 0.04594612121582031 nb_pixel_total : 77609 time to create 1 rle with old method : 0.09024572372436523 time for calcul the mask position with numpy : 0.04862546920776367 nb_pixel_total : 255317 time to create 1 rle with new method : 1.4941809177398682 create new chi : 6.694076061248779 time to delete rle : 0.015084981918334961 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 14896 TO DO : save crop sub photo not yet done ! save time : 4.601467609405518 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 3.032580852508545 time for calcul the mask position with numpy : 0.7166407108306885 nb_pixel_total : 8199906 time to create 1 rle with new method : 0.4756886959075928 time for calcul the mask position with numpy : 0.031125545501708984 nb_pixel_total : 26688 time to create 1 rle with old method : 0.03157305717468262 time for calcul the mask position with numpy : 0.026640892028808594 nb_pixel_total : 67806 time to create 1 rle with old method : 0.08098435401916504 create new chi : 1.4146203994750977 time to delete rle : 0.0005290508270263672 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 3558 TO DO : save crop sub photo not yet done ! save time : 6.524003505706787 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 9.382538318634033 time for calcul the mask position with numpy : 0.7579057216644287 nb_pixel_total : 6618064 time to create 1 rle with new method : 1.251352310180664 time for calcul the mask position with numpy : 0.04245138168334961 nb_pixel_total : 53348 time to create 1 rle with old method : 0.060315608978271484 time for calcul the mask position with numpy : 0.041310787200927734 nb_pixel_total : 37202 time to create 1 rle with old method : 0.040843963623046875 time for calcul the mask position with numpy : 0.03726601600646973 nb_pixel_total : 28195 time to create 1 rle with old method : 0.03193259239196777 time for calcul the mask position with numpy : 0.025893688201904297 nb_pixel_total : 131781 time to create 1 rle with old method : 0.1954026222229004 time for calcul the mask position with numpy : 0.029918432235717773 nb_pixel_total : 360882 time to create 1 rle with new method : 0.6875777244567871 time for calcul the mask position with numpy : 0.032418251037597656 nb_pixel_total : 602627 time to create 1 rle with new method : 0.890247106552124 time for calcul the mask position with numpy : 0.05239462852478027 nb_pixel_total : 79726 time to create 1 rle with old method : 0.10284090042114258 time for calcul the mask position with numpy : 0.04026436805725098 nb_pixel_total : 231583 time to create 1 rle with new method : 1.2000253200531006 time for calcul the mask position with numpy : 0.039511919021606445 nb_pixel_total : 150992 time to create 1 rle with new method : 0.7842624187469482 create new chi : 6.5159876346588135 time to delete rle : 0.0014615058898925781 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 15458 TO DO : save crop sub photo not yet done ! save time : 1.1159560680389404 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 3.911860466003418 time for calcul the mask position with numpy : 0.9582486152648926 nb_pixel_total : 8055333 time to create 1 rle with new method : 0.4265146255493164 time for calcul the mask position with numpy : 0.027552127838134766 nb_pixel_total : 35794 time to create 1 rle with old method : 0.04126763343811035 time for calcul the mask position with numpy : 0.028681039810180664 nb_pixel_total : 8436 time to create 1 rle with old method : 0.01000666618347168 time for calcul the mask position with numpy : 0.027217864990234375 nb_pixel_total : 194837 time to create 1 rle with new method : 1.0085039138793945 create new chi : 2.608725070953369 time to delete rle : 0.000560760498046875 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5894 TO DO : save crop sub photo not yet done ! save time : 0.7375872135162354 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 4.68168044090271 time for calcul the mask position with numpy : 1.123203992843628 nb_pixel_total : 7653751 time to create 1 rle with new method : 1.1233539581298828 time for calcul the mask position with numpy : 0.045992136001586914 nb_pixel_total : 142839 time to create 1 rle with old method : 0.17702531814575195 time for calcul the mask position with numpy : 0.04312014579772949 nb_pixel_total : 97449 time to create 1 rle with old method : 0.1056516170501709 time for calcul the mask position with numpy : 0.024821043014526367 nb_pixel_total : 122398 time to create 1 rle with old method : 0.13558506965637207 time for calcul the mask position with numpy : 0.02564525604248047 nb_pixel_total : 33536 time to create 1 rle with old method : 0.038426876068115234 time for calcul the mask position with numpy : 0.029595136642456055 nb_pixel_total : 244427 time to create 1 rle with new method : 0.8084108829498291 create new chi : 3.7578482627868652 time to delete rle : 0.001092672348022461 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 7125 TO DO : save crop sub photo not yet done ! save time : 0.8289463520050049 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 10.279839038848877 time for calcul the mask position with numpy : 0.7132394313812256 nb_pixel_total : 6945658 time to create 1 rle with new method : 1.2649173736572266 time for calcul the mask position with numpy : 0.038819313049316406 nb_pixel_total : 5620 time to create 1 rle with old method : 0.00673365592956543 time for calcul the mask position with numpy : 0.041106224060058594 nb_pixel_total : 42291 time to create 1 rle with old method : 0.06599116325378418 time for calcul the mask position with numpy : 0.04259133338928223 nb_pixel_total : 81333 time to create 1 rle with old method : 0.09586930274963379 time for calcul the mask position with numpy : 0.03949403762817383 nb_pixel_total : 11742 time to create 1 rle with old method : 0.013895988464355469 time for calcul the mask position with numpy : 0.034392356872558594 nb_pixel_total : 73552 time to create 1 rle with old method : 0.08063936233520508 time for calcul the mask position with numpy : 0.025884628295898438 nb_pixel_total : 11442 time to create 1 rle with old method : 0.01289677619934082 time for calcul the mask position with numpy : 0.0258181095123291 nb_pixel_total : 44612 time to create 1 rle with old method : 0.04948067665100098 time for calcul the mask position with numpy : 0.032205820083618164 nb_pixel_total : 659633 time to create 1 rle with new method : 0.8299543857574463 time for calcul the mask position with numpy : 0.025753021240234375 nb_pixel_total : 48398 time to create 1 rle with old method : 0.05628824234008789 time for calcul the mask position with numpy : 0.024924755096435547 nb_pixel_total : 28029 time to create 1 rle with old method : 0.032640933990478516 time for calcul the mask position with numpy : 0.028322696685791016 nb_pixel_total : 342090 time to create 1 rle with new method : 0.920647382736206 create new chi : 4.59580397605896 time to delete rle : 0.0012440681457519531 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 12986 TO DO : save crop sub photo not yet done ! save time : 1.3103420734405518 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 6.314929246902466 time for calcul the mask position with numpy : 0.6163127422332764 nb_pixel_total : 7023716 time to create 1 rle with new method : 1.9933414459228516 time for calcul the mask position with numpy : 0.028662919998168945 nb_pixel_total : 11391 time to create 1 rle with old method : 0.013298511505126953 time for calcul the mask position with numpy : 0.027673959732055664 nb_pixel_total : 322801 time to create 1 rle with new method : 0.9167006015777588 time for calcul the mask position with numpy : 0.04366469383239746 nb_pixel_total : 76492 time to create 1 rle with old method : 0.11974525451660156 time for calcul the mask position with numpy : 0.0467984676361084 nb_pixel_total : 161535 time to create 1 rle with new method : 1.1704208850860596 time for calcul the mask position with numpy : 0.049605607986450195 nb_pixel_total : 321571 time to create 1 rle with new method : 1.2982354164123535 time for calcul the mask position with numpy : 0.04995131492614746 nb_pixel_total : 376894 time to create 1 rle with new method : 0.709193229675293 create new chi : 7.247547149658203 time to delete rle : 0.0013544559478759766 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 11640 TO DO : save crop sub photo not yet done ! save time : 0.6543209552764893 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 5.773653984069824 time for calcul the mask position with numpy : 0.8634598255157471 nb_pixel_total : 7642128 time to create 1 rle with new method : 1.8186216354370117 time for calcul the mask position with numpy : 0.046480417251586914 nb_pixel_total : 20727 time to create 1 rle with old method : 0.027576446533203125 time for calcul the mask position with numpy : 0.0560002326965332 nb_pixel_total : 307268 time to create 1 rle with new method : 1.3163886070251465 time for calcul the mask position with numpy : 0.04609084129333496 nb_pixel_total : 235191 time to create 1 rle with new method : 2.6886372566223145 time for calcul the mask position with numpy : 0.05636453628540039 nb_pixel_total : 89086 time to create 1 rle with old method : 0.10596585273742676 create new chi : 7.156412601470947 time to delete rle : 0.0017066001892089844 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 8126 TO DO : save crop sub photo not yet done ! save time : 1.905378818511963 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 8.076235055923462 time for calcul the mask position with numpy : 0.5432696342468262 nb_pixel_total : 7549884 time to create 1 rle with new method : 1.8666267395019531 time for calcul the mask position with numpy : 0.03395223617553711 nb_pixel_total : 20069 time to create 1 rle with old method : 0.02333354949951172 time for calcul the mask position with numpy : 0.04107308387756348 nb_pixel_total : 23382 time to create 1 rle with old method : 0.02681136131286621 time for calcul the mask position with numpy : 0.03376269340515137 nb_pixel_total : 117478 time to create 1 rle with old method : 0.1356370449066162 time for calcul the mask position with numpy : 0.03173708915710449 nb_pixel_total : 153272 time to create 1 rle with new method : 1.6616594791412354 time for calcul the mask position with numpy : 0.05408906936645508 nb_pixel_total : 76915 time to create 1 rle with old method : 0.11477804183959961 time for calcul the mask position with numpy : 0.059195756912231445 nb_pixel_total : 68739 time to create 1 rle with old method : 0.07925963401794434 time for calcul the mask position with numpy : 0.05242609977722168 nb_pixel_total : 284661 time to create 1 rle with new method : 1.5996294021606445 create new chi : 6.504430770874023 time to delete rle : 0.0016169548034667969 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 9229 TO DO : save crop sub photo not yet done ! save time : 0.5361618995666504 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 2.649296760559082 time for calcul the mask position with numpy : 1.81553316116333 nb_pixel_total : 8228494 time to create 1 rle with new method : 2.244457244873047 time for calcul the mask position with numpy : 0.03199434280395508 nb_pixel_total : 65906 time to create 1 rle with old method : 0.07495379447937012 create new chi : 4.229864597320557 time to delete rle : 0.0005235671997070312 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 3570 TO DO : save crop sub photo not yet done ! save time : 0.3123769760131836 map_output_result : {1341418655: (0.0, 'Should be the crop_list due to order', 0), 1341418651: (0.0, 'Should be the crop_list due to order', 0), 1341418643: (0.0, 'Should be the crop_list due to order', 0), 1341418631: (0.0, 'Should be the crop_list due to order', 0), 1341418625: (0.0, 'Should be the crop_list due to order', 0), 1341418598: (0.0, 'Should be the crop_list due to order', 0), 1341418593: (0.0, 'Should be the crop_list due to order', 0), 1341418578: (0.0, 'Should be the crop_list due to order', 0), 1341418515: (0.0, 'Should be the crop_list due to order', 0), 1341418462: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 10 /1341418655.Didn't retrieve data . /1341418651.Didn't retrieve data . /1341418643.Didn't retrieve data . /1341418631.Didn't retrieve data . /1341418625.Didn't retrieve data . /1341418598.Didn't retrieve data . /1341418593.Didn't retrieve data . /1341418578.Didn't retrieve data . /1341418515.Didn't retrieve data . /1341418462.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013533353805541992 save_final save missing photos in datou_result : time spend for datou_step_exec : 139.19418787956238 time spend to save output : 0.02286243438720703 total time spend for step 5 : 139.21705031394958 step6:crop_condition Fri Mar 7 11:00:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 68 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741341651_2253076 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8730380535125732 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! 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/1741341656_2253076 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4553141593933105 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741341660_2253076 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5888991355895996 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741341662_2253076 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8121881484985352 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741341665_2253076 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8551449775695801 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 [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 12 /1341436567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341436606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 time used for this insertion : 0.027277469635009766 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.058638095855713 time spend to save output : 0.04645562171936035 total time spend for step 6 : 22.105093717575073 step7:ventilate_hashtags_in_portfolio Fri Mar 7 11:01:08 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 : 21138999 get user id for portfolio 21138999 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`=21138999 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','papier','flou','Carton_gris','Teint_Dans_La_Masse','mal_croppe','kraft','cartonnette','metal','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21138999 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','papier','flou','Carton_gris','Teint_Dans_La_Masse','mal_croppe','kraft','cartonnette','metal','autre_refus','Carton_brun')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21139126,21139127,21139128,21139129,21139130,21139131,21139132,21139133,21139134,21139135,21139136,21139137?tags=flou,papier,kraft,cartonnette,environnement,Carton_gris,metal,Teint_Dans_La_Masse,Carton_brun,plastique,autre_refus,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 1 /21138999. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01358795166015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.539954423904419 time spend to save output : 0.014074563980102539 total time spend for step 7 : 1.5540289878845215 step8:final Fri Mar 7 11:01:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1341418655: ('0.028525308606727324',), 1341418651: ('0.028525308606727324',), 1341418643: ('0.028525308606727324',), 1341418631: ('0.028525308606727324',), 1341418625: ('0.028525308606727324',), 1341418598: ('0.028525308606727324',), 1341418593: ('0.028525308606727324',), 1341418578: ('0.028525308606727324',), 1341418515: ('0.028525308606727324',), 1341418462: ('0.028525308606727324',)} new output for save of step final : {1341418655: ('0.028525308606727324',), 1341418651: ('0.028525308606727324',), 1341418643: ('0.028525308606727324',), 1341418631: ('0.028525308606727324',), 1341418625: ('0.028525308606727324',), 1341418598: ('0.028525308606727324',), 1341418593: ('0.028525308606727324',), 1341418578: ('0.028525308606727324',), 1341418515: ('0.028525308606727324',), 1341418462: ('0.028525308606727324',)} [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 10 /1341418655.Didn't retrieve data . /1341418651.Didn't retrieve data . /1341418643.Didn't retrieve data . /1341418631.Didn't retrieve data . /1341418625.Didn't retrieve data . /1341418598.Didn't retrieve data . /1341418593.Didn't retrieve data . /1341418578.Didn't retrieve data . /1341418515.Didn't retrieve data . /1341418462.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01320958137512207 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11285209655761719 time spend to save output : 0.014015436172485352 total time spend for step 8 : 0.12686753273010254 step9:velours_tree Fri Mar 7 11:01:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.20554542541503906 time spend to save output : 8.225440979003906e-05 total time spend for step 9 : 0.2056276798248291 step10:send_mail_cod Fri Mar 7 11:01: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 ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P21138999_07-03-2025_11_01_10.pdf 21139126 imagette211391261741341670 21139128 imagette211391281741341670 21139129 change filename to text .imagette211391291741341670 21139132 imagette211391321741341670 21139135 change filename to text .imagette211391351741341670 21139136 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211391361741341670 21139137 imagette211391371741341670 21139131 change filename to text .change filename to text .change filename to text .imagette211391311741341670 21139133 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211391331741341671 21139134 change filename to text .change filename to text .change filename to text .change filename to text .imagette211391341741341671 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21138999 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21139126,21139127,21139128,21139129,21139130,21139131,21139132,21139133,21139134,21139135,21139136,21139137?tags=flou,papier,kraft,cartonnette,environnement,Carton_gris,metal,Teint_Dans_La_Masse,Carton_brun,plastique,autre_refus,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1341418655] : ('0.028525308606727324',) no score found for photo 1341418655 We are sending mail with results at report@fotonower.com args[1341418651] : ('0.028525308606727324',) no score found for photo 1341418651 We are sending mail with results at report@fotonower.com args[1341418643] : ('0.028525308606727324',) no score found for photo 1341418643 We are sending mail with results at report@fotonower.com args[1341418631] : ('0.028525308606727324',) no score found for photo 1341418631 We are sending mail with results at report@fotonower.com args[1341418625] : ('0.028525308606727324',) no score found for photo 1341418625 We are sending mail with results at report@fotonower.com args[1341418598] : ('0.028525308606727324',) no score found for photo 1341418598 We are sending mail with results at report@fotonower.com args[1341418593] : ('0.028525308606727324',) no score found for photo 1341418593 We are sending mail with results at report@fotonower.com args[1341418578] : ('0.028525308606727324',) no score found for photo 1341418578 We are sending mail with results at report@fotonower.com args[1341418515] : ('0.028525308606727324',) no score found for photo 1341418515 We are sending mail with results at report@fotonower.com args[1341418462] : ('0.028525308606727324',) no score found for photo 1341418462 We are sending mail with results at report@fotonower.com refus_total : 0.028525308606727324 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21138999 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21138999_07-03-2025_11_01_10.pdf results_Auto_P21138999_07-03-2025_11_01_10.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21138999_07-03-2025_11_01_10.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','21138999','results_Auto_P21138999_07-03-2025_11_01_10.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21138999_07-03-2025_11_01_10.pdf','pdf','','0.69','0.028525308606727324') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012603044509887695 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.653440952301025 time spend to save output : 0.01286625862121582 total time spend for step 10 : 4.666307210922241 step11:split_time_score Fri Mar 7 11:01:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 48),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07032025 21138999 Nombre de photos uploadées : 48 / 23040 (0%) 07032025 21138999 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 07032025 21138999 Nombre de photos taguées (volume) : 0 / 48 (0%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002420186996459961 elapsed_time : insert_dashboard_record_day_entry 0.02553272247314453 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21137075 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21135541 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21135542 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21135542 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21135543 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21135544 order by id desc limit 1 Qualite : 0.09976314916489007 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21136028_07-03-2025_08_28_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136028 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 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`=21136028 AND mptpi.`type`=4209 To do Qualite : 0.05714360355783664 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21136029_07-03-2025_08_30_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136029 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 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`=21136029 AND mptpi.`type`=4211 To do Qualite : 0.013785899299982942 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21136349_07-03-2025_09_26_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136349 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21136349 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136350 order by id desc limit 1 Qualite : 0.06077114841585119 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21136351_07-03-2025_08_56_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136351 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21136351 AND mptpi.`type`=4207 To do Qualite : 0.06077114841585119 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21136351_07-03-2025_08_56_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136351 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21136351 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136352 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21136353 order by id desc limit 1 Qualite : 0.029364597004914998 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21138999_07-03-2025_11_01_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21138999 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21138999 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21139002 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21139002 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21139004 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21139006 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21139009 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07032025': {'nb_upload': 48, '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 [1341418655, 1341418651, 1341418643, 1341418631, 1341418625, 1341418598, 1341418593, 1341418578, 1341418515, 1341418462] Looping around the photos to save general results len do output : 1 /21138999Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418655', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418651', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418643', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418631', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418625', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418598', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418593', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418578', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418515', None, None, None, None, None, '2647938') ('3459', None, None, None, None, None, None, None, '2647938') ('3459', None, '1341418462', None, None, None, None, None, '2647938') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.021037578582763672 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.161893606185913 time spend to save output : 0.02131509780883789 total time spend for step 11 : 12.183208703994751 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 105.10user 151.83system 5:02.93elapsed 84%CPU (0avgtext+0avgdata 3728308maxresident)k 495272inputs+94312outputs (13225major+10105658minor)pagefaults 0swaps