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 : 2194344 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 : 29>10 please execute split_portfolio.py -i 20286225 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2557986'] with mtr_portfolio_ids : ['20286225'] and first list_photo_ids : [] new path : /proc/2194344/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.7427308559417725 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Thu Feb 6 05:22:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10553 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-06 05:22:34.251980: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-06 05:22:34.279197: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-06 05:22:34.281536: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9cb8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-06 05:22:34.281593: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-06 05:22:34.285777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-06 05:22:34.533631: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xc9d4be0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-06 05:22:34.533689: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-06 05:22:34.535191: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-06 05:22:34.535601: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:22:34.538411: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:22:34.578487: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 05:22:34.579099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 05:22:34.582267: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 05:22:34.583723: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 05:22:34.589431: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 05:22:34.590859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 05:22:34.590943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:22:34.591706: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 05:22:34.591721: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 05:22:34.591730: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 05:22:34.593089: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-06 05:22:34.846720: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-06 05:22:34.846823: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:22:34.846852: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:22:34.846877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 05:22:34.846919: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 05:22:34.846954: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 05:22:34.846981: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 05:22:34.847009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 05:22:34.849212: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 05:22:34.850859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-06 05:22:34.850948: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:22:34.850985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:22:34.851016: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 05:22:34.851045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 05:22:34.851072: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 05:22:34.851098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 05:22:34.851125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 05:22:34.852702: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 05:22:34.852728: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 05:22:34.852736: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 05:22:34.852744: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 05:22:34.854062: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-06 05:22:45.148366: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:22:45.316890: 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, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 Detection mask done ! Trying to reset tf kernel 2194805 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5264 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 : 10553 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.0016903877258300781 nb_pixel_total : 69568 time to create 1 rle with old method : 0.07472634315490723 length of segment : 629 time for calcul the mask position with numpy : 0.03947854042053223 nb_pixel_total : 2465635 time to create 1 rle with new method : 0.10257434844970703 length of segment : 3987 time for calcul the mask position with numpy : 0.01160740852355957 nb_pixel_total : 508715 time to create 1 rle with new method : 0.03510880470275879 length of segment : 815 time for calcul the mask position with numpy : 0.010263681411743164 nb_pixel_total : 648314 time to create 1 rle with new method : 0.030946731567382812 length of segment : 1080 time for calcul the mask position with numpy : 0.0002415180206298828 nb_pixel_total : 10732 time to create 1 rle with old method : 0.012110233306884766 length of segment : 226 time for calcul the mask position with numpy : 8.034706115722656e-05 nb_pixel_total : 2189 time to create 1 rle with old method : 0.002675294876098633 length of segment : 85 time for calcul the mask position with numpy : 0.0021581649780273438 nb_pixel_total : 181480 time to create 1 rle with new method : 0.005112409591674805 length of segment : 530 time for calcul the mask position with numpy : 0.0008206367492675781 nb_pixel_total : 58493 time to create 1 rle with old method : 0.09010767936706543 length of segment : 315 time for calcul the mask position with numpy : 0.0004906654357910156 nb_pixel_total : 33766 time to create 1 rle with old method : 0.03719663619995117 length of segment : 337 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 9450 time to create 1 rle with old method : 0.01094508171081543 length of segment : 162 time for calcul the mask position with numpy : 0.0002262592315673828 nb_pixel_total : 15492 time to create 1 rle with old method : 0.017998456954956055 length of segment : 111 time for calcul the mask position with numpy : 0.0002319812774658203 nb_pixel_total : 12277 time to create 1 rle with old method : 0.013975381851196289 length of segment : 171 time for calcul the mask position with numpy : 0.0021409988403320312 nb_pixel_total : 146195 time to create 1 rle with old method : 0.1597895622253418 length of segment : 566 time for calcul the mask position with numpy : 0.001888275146484375 nb_pixel_total : 136656 time to create 1 rle with old method : 0.1548147201538086 length of segment : 489 time for calcul the mask position with numpy : 0.00010013580322265625 nb_pixel_total : 3397 time to create 1 rle with old method : 0.004042148590087891 length of segment : 93 time for calcul the mask position with numpy : 0.0002465248107910156 nb_pixel_total : 15931 time to create 1 rle with old method : 0.017795562744140625 length of segment : 160 time for calcul the mask position with numpy : 0.0002925395965576172 nb_pixel_total : 19088 time to create 1 rle with old method : 0.020669937133789062 length of segment : 233 time for calcul the mask position with numpy : 0.00014829635620117188 nb_pixel_total : 6364 time to create 1 rle with old method : 0.007333517074584961 length of segment : 144 time for calcul the mask position with numpy : 0.0019371509552001953 nb_pixel_total : 119754 time to create 1 rle with old method : 0.12999629974365234 length of segment : 550 time for calcul the mask position with numpy : 0.0005788803100585938 nb_pixel_total : 33756 time to create 1 rle with old method : 0.037737369537353516 length of segment : 334 time for calcul the mask position with numpy : 0.0002205371856689453 nb_pixel_total : 9450 time to create 1 rle with old method : 0.010990619659423828 length of segment : 162 time for calcul the mask position with numpy : 0.0002124309539794922 nb_pixel_total : 15492 time to create 1 rle with old method : 0.01838850975036621 length of segment : 111 time for calcul the mask position with numpy : 0.00022792816162109375 nb_pixel_total : 12275 time to create 1 rle with old method : 0.01379251480102539 length of segment : 171 time for calcul the mask position with numpy : 0.0022780895233154297 nb_pixel_total : 146203 time to create 1 rle with old method : 0.16178274154663086 length of segment : 566 time for calcul the mask position with numpy : 0.0018992424011230469 nb_pixel_total : 136652 time to create 1 rle with old method : 0.14806771278381348 length of segment : 489 time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 3401 time to create 1 rle with old method : 0.004062175750732422 length of segment : 93 time for calcul the mask position with numpy : 0.0002872943878173828 nb_pixel_total : 15931 time to create 1 rle with old method : 0.017658472061157227 length of segment : 160 time for calcul the mask position with numpy : 0.0003120899200439453 nb_pixel_total : 19087 time to create 1 rle with old method : 0.021379947662353516 length of segment : 233 time for calcul the mask position with numpy : 0.00015020370483398438 nb_pixel_total : 6363 time to create 1 rle with old method : 0.007383108139038086 length of segment : 144 time for calcul the mask position with numpy : 0.0018978118896484375 nb_pixel_total : 120131 time to create 1 rle with old method : 0.1291189193725586 length of segment : 547 time for calcul the mask position with numpy : 0.0016629695892333984 nb_pixel_total : 79595 time to create 1 rle with old method : 0.08523106575012207 length of segment : 348 time for calcul the mask position with numpy : 0.0006740093231201172 nb_pixel_total : 19969 time to create 1 rle with old method : 0.02384185791015625 length of segment : 203 time for calcul the mask position with numpy : 0.0011417865753173828 nb_pixel_total : 27933 time to create 1 rle with old method : 0.03048110008239746 length of segment : 477 time for calcul the mask position with numpy : 0.0041506290435791016 nb_pixel_total : 196499 time to create 1 rle with new method : 0.007006406784057617 length of segment : 542 time for calcul the mask position with numpy : 0.00017690658569335938 nb_pixel_total : 2737 time to create 1 rle with old method : 0.003224611282348633 length of segment : 53 time for calcul the mask position with numpy : 0.00045800209045410156 nb_pixel_total : 7641 time to create 1 rle with old method : 0.008408308029174805 length of segment : 217 time for calcul the mask position with numpy : 0.0017054080963134766 nb_pixel_total : 48681 time to create 1 rle with old method : 0.05114293098449707 length of segment : 318 time for calcul the mask position with numpy : 0.000400543212890625 nb_pixel_total : 9143 time to create 1 rle with old method : 0.010100126266479492 length of segment : 134 time for calcul the mask position with numpy : 0.005954742431640625 nb_pixel_total : 281516 time to create 1 rle with new method : 0.013080120086669922 length of segment : 698 time for calcul the mask position with numpy : 0.00035643577575683594 nb_pixel_total : 7096 time to create 1 rle with old method : 0.007924795150756836 length of segment : 111 time for calcul the mask position with numpy : 0.0039031505584716797 nb_pixel_total : 289866 time to create 1 rle with new method : 0.009632587432861328 length of segment : 733 time for calcul the mask position with numpy : 0.0018122196197509766 nb_pixel_total : 79597 time to create 1 rle with old method : 0.09012460708618164 length of segment : 348 time for calcul the mask position with numpy : 0.0006704330444335938 nb_pixel_total : 19969 time to create 1 rle with old method : 0.023252248764038086 length of segment : 203 time for calcul the mask position with numpy : 0.0011315345764160156 nb_pixel_total : 27935 time to create 1 rle with old method : 0.03173089027404785 length of segment : 477 time for calcul the mask position with numpy : 0.0040721893310546875 nb_pixel_total : 196508 time to create 1 rle with new method : 0.010754108428955078 length of segment : 542 time for calcul the mask position with numpy : 0.00012183189392089844 nb_pixel_total : 2736 time to create 1 rle with old method : 0.003444671630859375 length of segment : 52 time for calcul the mask position with numpy : 0.00039839744567871094 nb_pixel_total : 7642 time to create 1 rle with old method : 0.00877523422241211 length of segment : 217 time for calcul the mask position with numpy : 0.001486063003540039 nb_pixel_total : 48679 time to create 1 rle with old method : 0.05339694023132324 length of segment : 318 time for calcul the mask position with numpy : 0.0003447532653808594 nb_pixel_total : 9143 time to create 1 rle with old method : 0.014414072036743164 length of segment : 134 time for calcul the mask position with numpy : 0.006837129592895508 nb_pixel_total : 281526 time to create 1 rle with new method : 0.011327028274536133 length of segment : 698 time for calcul the mask position with numpy : 0.000301361083984375 nb_pixel_total : 7098 time to create 1 rle with old method : 0.008217573165893555 length of segment : 111 time for calcul the mask position with numpy : 0.0035529136657714844 nb_pixel_total : 289897 time to create 1 rle with new method : 0.009287118911743164 length of segment : 733 time for calcul the mask position with numpy : 0.00017333030700683594 nb_pixel_total : 2407 time to create 1 rle with old method : 0.0027904510498046875 length of segment : 73 time for calcul the mask position with numpy : 0.000408172607421875 nb_pixel_total : 10954 time to create 1 rle with old method : 0.013209342956542969 length of segment : 97 time for calcul the mask position with numpy : 0.00021505355834960938 nb_pixel_total : 3957 time to create 1 rle with old method : 0.004642963409423828 length of segment : 68 time for calcul the mask position with numpy : 0.0010945796966552734 nb_pixel_total : 35492 time to create 1 rle with old method : 0.03932309150695801 length of segment : 235 time for calcul the mask position with numpy : 0.0014462471008300781 nb_pixel_total : 41896 time to create 1 rle with old method : 0.04757952690124512 length of segment : 215 time for calcul the mask position with numpy : 0.0005714893341064453 nb_pixel_total : 16202 time to create 1 rle with old method : 0.018873214721679688 length of segment : 214 time for calcul the mask position with numpy : 0.0002155303955078125 nb_pixel_total : 2998 time to create 1 rle with old method : 0.003601551055908203 length of segment : 74 time for calcul the mask position with numpy : 0.00016164779663085938 nb_pixel_total : 2065 time to create 1 rle with old method : 0.0027141571044921875 length of segment : 46 time for calcul the mask position with numpy : 0.0022280216217041016 nb_pixel_total : 55528 time to create 1 rle with old method : 0.08193469047546387 length of segment : 699 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 2071 time to create 1 rle with old method : 0.0024907588958740234 length of segment : 68 time for calcul the mask position with numpy : 0.0022499561309814453 nb_pixel_total : 90101 time to create 1 rle with old method : 0.09989237785339355 length of segment : 259 time for calcul the mask position with numpy : 0.0034830570220947266 nb_pixel_total : 162294 time to create 1 rle with new method : 0.005719423294067383 length of segment : 344 time for calcul the mask position with numpy : 0.001214742660522461 nb_pixel_total : 28679 time to create 1 rle with old method : 0.033799171447753906 length of segment : 305 time for calcul the mask position with numpy : 0.0015802383422851562 nb_pixel_total : 32185 time to create 1 rle with old method : 0.03626060485839844 length of segment : 376 time for calcul the mask position with numpy : 0.0007145404815673828 nb_pixel_total : 12500 time to create 1 rle with old method : 0.014293909072875977 length of segment : 488 time for calcul the mask position with numpy : 0.0002613067626953125 nb_pixel_total : 2367 time to create 1 rle with old method : 0.0028581619262695312 length of segment : 84 time for calcul the mask position with numpy : 0.0013606548309326172 nb_pixel_total : 87775 time to create 1 rle with old method : 0.10071611404418945 length of segment : 258 time for calcul the mask position with numpy : 9.441375732421875e-05 nb_pixel_total : 2140 time to create 1 rle with old method : 0.002591848373413086 length of segment : 75 time for calcul the mask position with numpy : 0.003962278366088867 nb_pixel_total : 105029 time to create 1 rle with old method : 0.11335921287536621 length of segment : 465 time for calcul the mask position with numpy : 0.0007452964782714844 nb_pixel_total : 34691 time to create 1 rle with old method : 0.0386509895324707 length of segment : 492 time for calcul the mask position with numpy : 0.00015997886657714844 nb_pixel_total : 2407 time to create 1 rle with old method : 0.002766847610473633 length of segment : 73 time for calcul the mask position with numpy : 0.0003681182861328125 nb_pixel_total : 10960 time to create 1 rle with old method : 0.012067079544067383 length of segment : 97 time for calcul the mask position with numpy : 0.000194549560546875 nb_pixel_total : 3957 time to create 1 rle with old method : 0.004621982574462891 length of segment : 68 time for calcul the mask position with numpy : 0.0011239051818847656 nb_pixel_total : 35487 time to create 1 rle with old method : 0.03886604309082031 length of segment : 234 time for calcul the mask position with numpy : 0.0014872550964355469 nb_pixel_total : 41887 time to create 1 rle with old method : 0.04682803153991699 length of segment : 215 time for calcul the mask position with numpy : 0.0006098747253417969 nb_pixel_total : 16200 time to create 1 rle with old method : 0.019254684448242188 length of segment : 214 time for calcul the mask position with numpy : 0.0002391338348388672 nb_pixel_total : 2997 time to create 1 rle with old method : 0.003461122512817383 length of segment : 74 time for calcul the mask position with numpy : 0.00014901161193847656 nb_pixel_total : 2065 time to create 1 rle with old method : 0.0025925636291503906 length of segment : 46 time for calcul the mask position with numpy : 0.0022034645080566406 nb_pixel_total : 55549 time to create 1 rle with old method : 0.061779022216796875 length of segment : 699 time for calcul the mask position with numpy : 0.00016117095947265625 nb_pixel_total : 2069 time to create 1 rle with old method : 0.002396821975708008 length of segment : 68 time for calcul the mask position with numpy : 0.0021741390228271484 nb_pixel_total : 90100 time to create 1 rle with old method : 0.0981910228729248 length of segment : 259 time for calcul the mask position with numpy : 0.003620147705078125 nb_pixel_total : 162300 time to create 1 rle with new method : 0.0063898563385009766 length of segment : 344 time for calcul the mask position with numpy : 0.001318216323852539 nb_pixel_total : 28677 time to create 1 rle with old method : 0.0330808162689209 length of segment : 305 time for calcul the mask position with numpy : 0.0015215873718261719 nb_pixel_total : 32187 time to create 1 rle with old method : 0.037644386291503906 length of segment : 376 time for calcul the mask position with numpy : 0.0008182525634765625 nb_pixel_total : 12471 time to create 1 rle with old method : 0.015028715133666992 length of segment : 485 time for calcul the mask position with numpy : 0.0002200603485107422 nb_pixel_total : 2366 time to create 1 rle with old method : 0.0029442310333251953 length of segment : 84 time for calcul the mask position with numpy : 0.0013501644134521484 nb_pixel_total : 87774 time to create 1 rle with old method : 0.09942793846130371 length of segment : 258 time for calcul the mask position with numpy : 0.00010037422180175781 nb_pixel_total : 2140 time to create 1 rle with old method : 0.002714872360229492 length of segment : 75 time for calcul the mask position with numpy : 0.002992868423461914 nb_pixel_total : 105033 time to create 1 rle with old method : 0.12459993362426758 length of segment : 465 time for calcul the mask position with numpy : 0.0008256435394287109 nb_pixel_total : 34701 time to create 1 rle with old method : 0.04011726379394531 length of segment : 491 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 3402 time to create 1 rle with old method : 0.004041433334350586 length of segment : 108 time for calcul the mask position with numpy : 0.002007007598876953 nb_pixel_total : 118309 time to create 1 rle with old method : 0.13297605514526367 length of segment : 387 time for calcul the mask position with numpy : 0.0004992485046386719 nb_pixel_total : 25091 time to create 1 rle with old method : 0.02890157699584961 length of segment : 198 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 3820 time to create 1 rle with old method : 0.004927396774291992 length of segment : 71 time for calcul the mask position with numpy : 0.0017580986022949219 nb_pixel_total : 93121 time to create 1 rle with old method : 0.12431645393371582 length of segment : 316 time for calcul the mask position with numpy : 0.00014066696166992188 nb_pixel_total : 5232 time to create 1 rle with old method : 0.005868196487426758 length of segment : 140 time for calcul the mask position with numpy : 0.004286766052246094 nb_pixel_total : 305814 time to create 1 rle with new method : 0.014188289642333984 length of segment : 765 time for calcul the mask position with numpy : 0.0008587837219238281 nb_pixel_total : 58268 time to create 1 rle with old method : 0.06528329849243164 length of segment : 247 time for calcul the mask position with numpy : 0.00011539459228515625 nb_pixel_total : 2344 time to create 1 rle with old method : 0.002927541732788086 length of segment : 109 time for calcul the mask position with numpy : 0.0002999305725097656 nb_pixel_total : 10339 time to create 1 rle with old method : 0.011696338653564453 length of segment : 221 time for calcul the mask position with numpy : 0.0005481243133544922 nb_pixel_total : 28927 time to create 1 rle with old method : 0.032750606536865234 length of segment : 243 time for calcul the mask position with numpy : 0.0009341239929199219 nb_pixel_total : 55818 time to create 1 rle with old method : 0.06210684776306152 length of segment : 270 time for calcul the mask position with numpy : 0.00012111663818359375 nb_pixel_total : 3720 time to create 1 rle with old method : 0.004605293273925781 length of segment : 118 time for calcul the mask position with numpy : 0.0007076263427734375 nb_pixel_total : 36132 time to create 1 rle with old method : 0.04059147834777832 length of segment : 252 time for calcul the mask position with numpy : 0.0011060237884521484 nb_pixel_total : 60226 time to create 1 rle with old method : 0.09245419502258301 length of segment : 273 time for calcul the mask position with numpy : 0.000148773193359375 nb_pixel_total : 3373 time to create 1 rle with old method : 0.003860950469970703 length of segment : 107 time for calcul the mask position with numpy : 0.0018749237060546875 nb_pixel_total : 118293 time to create 1 rle with old method : 0.12946605682373047 length of segment : 387 time for calcul the mask position with numpy : 0.00043964385986328125 nb_pixel_total : 25093 time to create 1 rle with old method : 0.028699874877929688 length of segment : 198 time for calcul the mask position with numpy : 0.00010585784912109375 nb_pixel_total : 3821 time to create 1 rle with old method : 0.004695415496826172 length of segment : 71 time for calcul the mask position with numpy : 0.0014214515686035156 nb_pixel_total : 93120 time to create 1 rle with old method : 0.10147905349731445 length of segment : 316 time for calcul the mask position with numpy : 0.00015544891357421875 nb_pixel_total : 5232 time to create 1 rle with old method : 0.006368875503540039 length of segment : 140 time for calcul the mask position with numpy : 0.004477739334106445 nb_pixel_total : 305771 time to create 1 rle with new method : 0.011338233947753906 length of segment : 765 time for calcul the mask position with numpy : 0.0009031295776367188 nb_pixel_total : 58283 time to create 1 rle with old method : 0.0660092830657959 length of segment : 247 time for calcul the mask position with numpy : 0.00011968612670898438 nb_pixel_total : 2345 time to create 1 rle with old method : 0.00286865234375 length of segment : 109 time for calcul the mask position with numpy : 0.00032448768615722656 nb_pixel_total : 10332 time to create 1 rle with old method : 0.012570619583129883 length of segment : 221 time for calcul the mask position with numpy : 0.0005817413330078125 nb_pixel_total : 28926 time to create 1 rle with old method : 0.03357982635498047 length of segment : 242 time for calcul the mask position with numpy : 0.0009553432464599609 nb_pixel_total : 55837 time to create 1 rle with old method : 0.06355547904968262 length of segment : 270 time for calcul the mask position with numpy : 0.00012111663818359375 nb_pixel_total : 3720 time to create 1 rle with old method : 0.004384517669677734 length of segment : 118 time for calcul the mask position with numpy : 0.0008637905120849609 nb_pixel_total : 36134 time to create 1 rle with old method : 0.04259896278381348 length of segment : 252 time for calcul the mask position with numpy : 0.0010402202606201172 nb_pixel_total : 60230 time to create 1 rle with old method : 0.0690913200378418 length of segment : 273 time for calcul the mask position with numpy : 0.0002613067626953125 nb_pixel_total : 6021 time to create 1 rle with old method : 0.007216691970825195 length of segment : 131 time for calcul the mask position with numpy : 0.0011386871337890625 nb_pixel_total : 59726 time to create 1 rle with old method : 0.06667327880859375 length of segment : 319 time for calcul the mask position with numpy : 0.0028874874114990234 nb_pixel_total : 151739 time to create 1 rle with new method : 0.005160093307495117 length of segment : 515 time for calcul the mask position with numpy : 0.0017249584197998047 nb_pixel_total : 57510 time to create 1 rle with old method : 0.06363964080810547 length of segment : 600 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 8664 time to create 1 rle with old method : 0.010119438171386719 length of segment : 202 time for calcul the mask position with numpy : 0.0007109642028808594 nb_pixel_total : 29780 time to create 1 rle with old method : 0.03345060348510742 length of segment : 187 time for calcul the mask position with numpy : 0.004106283187866211 nb_pixel_total : 6722 time to create 1 rle with old method : 0.009692668914794922 length of segment : 52 time for calcul the mask position with numpy : 0.0012509822845458984 nb_pixel_total : 56449 time to create 1 rle with old method : 0.06234407424926758 length of segment : 265 time for calcul the mask position with numpy : 0.0012831687927246094 nb_pixel_total : 33770 time to create 1 rle with old method : 0.039667606353759766 length of segment : 465 time for calcul the mask position with numpy : 0.0006988048553466797 nb_pixel_total : 26047 time to create 1 rle with old method : 0.034296274185180664 length of segment : 363 time for calcul the mask position with numpy : 0.0003476142883300781 nb_pixel_total : 19413 time to create 1 rle with old method : 0.02245497703552246 length of segment : 144 time for calcul the mask position with numpy : 0.0003573894500732422 nb_pixel_total : 12715 time to create 1 rle with old method : 0.014986038208007812 length of segment : 98 time spent for convertir_results : 11.595396757125854 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 142 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 42000 save missing photos in datou_result : time spend for datou_step_exec : 54.46228098869324 time spend to save output : 5.016299247741699 total time spend for step 1 : 59.47858023643494 step2:crop_condition Thu Feb 6 05:23:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 142 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 ! 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 : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 41 About to insert : list_path_to_insert length 41 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : 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 ! 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 : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] Looping around the photos to save general results len do output : 74 /-3656791879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657189462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657189458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657189460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656791909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 232 time used for this insertion : 0.03839564323425293 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.111480474472046 time spend to save output : 0.0412907600402832 total time spend for step 2 : 35.15277123451233 step3:thcl Thu Feb 6 05:24:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.007626056671142578 time to convert the images to numpy array : 0.01632070541381836 time to import caffe and check if the image exist : 0.015294313430786133 time to convert the images to numpy array : 0.043352365493774414 time to import caffe and check if the image exist : 0.009671926498413086 time to convert the images to numpy array : 0.07400369644165039 time to import caffe and check if the image exist : 0.012086868286132812 time to convert the images to numpy array : 0.08758234977722168 time to import caffe and check if the image exist : 0.01651787757873535 time to convert the images to numpy array : 0.08246183395385742 time to import caffe and check if the image exist : 0.014523983001708984 time to convert the images to numpy array : 0.10324501991271973 time to import caffe and check if the image exist : 0.007711887359619141 time to convert the images to numpy array : 0.12380671501159668 time to import caffe and check if the image exist : 0.007862329483032227 time to convert the images to numpy array : 0.12813568115234375 time to import caffe and check if the image exist : 0.011389970779418945 time to convert the images to numpy array : 0.1354818344116211 time to import caffe and check if the image exist : 0.013119220733642578 time to convert the images to numpy array : 0.1534268856048584 total time to convert the images to numpy array : 0.4161102771759033 list photo_ids error: [] list photo_ids correct : [-3656791889, -3656791909, -3656800737, -3656800731, -3656800738, -3656791829, -3656791840, -3656791852, -3656791863, -3656791875, -3656791873, -3656791882, -3656791881, -3656791874, -3656791904, -3656791898, -3656791906, -3656791893, -3656791848, -3656791850, -3656791867, -3656791859, -3656791861, -3656791884, -3656791878, -3656791886, -3656791876, -3656791883, -3656791895, -3656791896, -3656791903, -3656800729, -3656791836, -3657189460, -3656800712, -3656800724, -3656800728, -3656800725, -3656800720, -3656800718, -3656800727, -3656800736, -3656791902, -3656791901, -3656791894, -3656800709, -3656800713, -3656800710, -3656800705, -3656800703, -3656791865, -3656791888, -3657189462, -3656800735, -3656791858, -3656791869, -3656791880, -3656791900, -3656791879, -3656791899, -3656800732, -3656791830, -3656791841, -3656791851, -3656791854, -3656791862, -3656800706, -3656800721, -3657189458, -3656791833, -3656791831, -3656791844, -3656791842, -3656791856] number of photos to traite : 74 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 : 10553 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 : 10334 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9023962020874023 time used to do the prediction : 0.16246819496154785 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 : 10332 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 : 10332 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.84320068359375 time used to do the prediction : 0.14427495002746582 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 : 9.5367431640625e-06 save missing photos in datou_result : time spend for datou_step_exec : 9.21059536933899 time spend to save output : 0.0005242824554443359 total time spend for step 3 : 9.211119651794434 step4:merge_mask_thcl_custom Thu Feb 6 05:24:15 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 142 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 [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] Looping around the photos to save general results len do output : 10 /1334880227Didn't retrieve data .Didn't retrieve data . /1334879956Didn't retrieve data .Didn't retrieve data . /1334879932Didn't retrieve data .Didn't retrieve data . /1334879898Didn't retrieve data .Didn't retrieve data . /1334879871Didn't retrieve data .Didn't retrieve data . /1334879812Didn't retrieve data .Didn't retrieve data . /1334879795Didn't retrieve data .Didn't retrieve data . /1334879719Didn't retrieve data .Didn't retrieve data . /1334879706Didn't retrieve data .Didn't retrieve data . /1334879648Didn'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, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.03438544273376465 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3897244930267334 time spend to save output : 0.034919023513793945 total time spend for step 4 : 0.42464351654052734 step5:rle_unique_nms_with_priority Thu Feb 6 05:24:15 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 : 2 time to prepare the origin masks : 7.136598587036133 time for calcul the mask position with numpy : 0.5484151840209961 nb_pixel_total : 3838300 time to create 1 rle with new method : 0.667938232421875 time for calcul the mask position with numpy : 0.022661447525024414 nb_pixel_total : 58425 time to create 1 rle with old method : 0.06306171417236328 time for calcul the mask position with numpy : 0.022674083709716797 nb_pixel_total : 131563 time to create 1 rle with old method : 0.14292693138122559 time for calcul the mask position with numpy : 0.020943403244018555 nb_pixel_total : 2179 time to create 1 rle with old method : 0.00244903564453125 time for calcul the mask position with numpy : 0.023092985153198242 nb_pixel_total : 190123 time to create 1 rle with new method : 1.465818166732788 time for calcul the mask position with numpy : 0.037627220153808594 nb_pixel_total : 10708 time to create 1 rle with old method : 0.01977229118347168 time for calcul the mask position with numpy : 0.045929908752441406 nb_pixel_total : 79496 time to create 1 rle with old method : 0.146209716796875 time for calcul the mask position with numpy : 0.051940202713012695 nb_pixel_total : 66679 time to create 1 rle with old method : 0.08331847190856934 time for calcul the mask position with numpy : 0.036354780197143555 nb_pixel_total : 140266 time to create 1 rle with old method : 0.16773772239685059 time for calcul the mask position with numpy : 0.06348180770874023 nb_pixel_total : 2463134 time to create 1 rle with new method : 0.891664981842041 time for calcul the mask position with numpy : 0.04006671905517578 nb_pixel_total : 69367 time to create 1 rle with old method : 0.07571697235107422 create new chi : 4.721769094467163 time to delete rle : 0.011373758316040039 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 18291 TO DO : save crop sub photo not yet done ! save time : 6.6460182666778564 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 7.932239770889282 time for calcul the mask position with numpy : 1.0839602947235107 nb_pixel_total : 6530308 time to create 1 rle with new method : 1.3593244552612305 time for calcul the mask position with numpy : 0.03532981872558594 nb_pixel_total : 6338 time to create 1 rle with old method : 0.007931947708129883 time for calcul the mask position with numpy : 0.037546634674072266 nb_pixel_total : 146015 time to create 1 rle with old method : 0.17275476455688477 time for calcul the mask position with numpy : 0.0365755558013916 nb_pixel_total : 19068 time to create 1 rle with old method : 0.022967100143432617 time for calcul the mask position with numpy : 0.0380854606628418 nb_pixel_total : 3400 time to create 1 rle with old method : 0.0039288997650146484 time for calcul the mask position with numpy : 0.03615880012512207 nb_pixel_total : 12251 time to create 1 rle with old method : 0.013913154602050781 time for calcul the mask position with numpy : 0.03700566291809082 nb_pixel_total : 16088 time to create 1 rle with old method : 0.018111467361450195 time for calcul the mask position with numpy : 0.03480219841003418 nb_pixel_total : 136494 time to create 1 rle with old method : 0.14915895462036133 time for calcul the mask position with numpy : 0.03229522705078125 nb_pixel_total : 15457 time to create 1 rle with old method : 0.017588138580322266 time for calcul the mask position with numpy : 0.03386521339416504 nb_pixel_total : 9381 time to create 1 rle with old method : 0.015489578247070312 time for calcul the mask position with numpy : 0.03235793113708496 nb_pixel_total : 119547 time to create 1 rle with old method : 0.14362406730651855 time for calcul the mask position with numpy : 0.024390220642089844 nb_pixel_total : 35893 time to create 1 rle with old method : 0.03929615020751953 create new chi : 3.4714999198913574 time to delete rle : 0.0011262893676757812 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8100 TO DO : save crop sub photo not yet done ! save time : 4.819501638412476 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 8.450782299041748 time for calcul the mask position with numpy : 0.4108593463897705 nb_pixel_total : 6530073 time to create 1 rle with new method : 0.7359569072723389 time for calcul the mask position with numpy : 0.033629417419433594 nb_pixel_total : 6339 time to create 1 rle with old method : 0.00697779655456543 time for calcul the mask position with numpy : 0.03451061248779297 nb_pixel_total : 146006 time to create 1 rle with old method : 0.15907907485961914 time for calcul the mask position with numpy : 0.03284168243408203 nb_pixel_total : 19068 time to create 1 rle with old method : 0.020811796188354492 time for calcul the mask position with numpy : 0.032100677490234375 nb_pixel_total : 3404 time to create 1 rle with old method : 0.003730297088623047 time for calcul the mask position with numpy : 0.034657955169677734 nb_pixel_total : 16076 time to create 1 rle with old method : 0.018099069595336914 time for calcul the mask position with numpy : 0.03280806541442871 nb_pixel_total : 12246 time to create 1 rle with old method : 0.01359415054321289 time for calcul the mask position with numpy : 0.033445119857788086 nb_pixel_total : 136552 time to create 1 rle with old method : 0.1478404998779297 time for calcul the mask position with numpy : 0.03289628028869629 nb_pixel_total : 15456 time to create 1 rle with old method : 0.01743030548095703 time for calcul the mask position with numpy : 0.03356480598449707 nb_pixel_total : 9383 time to create 1 rle with old method : 0.010345220565795898 time for calcul the mask position with numpy : 0.03326749801635742 nb_pixel_total : 189 time to create 1 rle with old method : 0.00036025047302246094 time for calcul the mask position with numpy : 0.03402113914489746 nb_pixel_total : 35894 time to create 1 rle with old method : 0.03766274452209473 time for calcul the mask position with numpy : 0.03716325759887695 nb_pixel_total : 119554 time to create 1 rle with old method : 0.12463879585266113 create new chi : 2.15470814704895 time to delete rle : 0.0011279582977294922 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 8209 TO DO : save crop sub photo not yet done ! save time : 1.5189640522003174 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 5.69382119178772 time for calcul the mask position with numpy : 0.5560624599456787 nb_pixel_total : 6356822 time to create 1 rle with new method : 0.7553460597991943 time for calcul the mask position with numpy : 0.020992517471313477 nb_pixel_total : 2727 time to create 1 rle with old method : 0.003190279006958008 time for calcul the mask position with numpy : 0.025293588638305664 nb_pixel_total : 196103 time to create 1 rle with new method : 0.6318507194519043 time for calcul the mask position with numpy : 0.020936965942382812 nb_pixel_total : 27859 time to create 1 rle with old method : 0.030902385711669922 time for calcul the mask position with numpy : 0.020771026611328125 nb_pixel_total : 7061 time to create 1 rle with old method : 0.007888078689575195 time for calcul the mask position with numpy : 0.03326702117919922 nb_pixel_total : 9129 time to create 1 rle with old method : 0.009915351867675781 time for calcul the mask position with numpy : 0.0326540470123291 nb_pixel_total : 5543 time to create 1 rle with old method : 0.006524801254272461 time for calcul the mask position with numpy : 0.03524065017700195 nb_pixel_total : 47 time to create 1 rle with old method : 0.00011205673217773438 time for calcul the mask position with numpy : 0.027709484100341797 nb_pixel_total : 7872 time to create 1 rle with old method : 0.008108377456665039 time for calcul the mask position with numpy : 0.022596120834350586 nb_pixel_total : 289209 time to create 1 rle with new method : 0.5607912540435791 time for calcul the mask position with numpy : 0.020951271057128906 nb_pixel_total : 79409 time to create 1 rle with old method : 0.0854191780090332 time for calcul the mask position with numpy : 0.020777225494384766 nb_pixel_total : 48586 time to create 1 rle with old method : 0.052111148834228516 time for calcul the mask position with numpy : 0.020677566528320312 nb_pixel_total : 19873 time to create 1 rle with old method : 0.023533344268798828 create new chi : 3.1182126998901367 time to delete rle : 0.0007390975952148438 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8894 TO DO : save crop sub photo not yet done ! save time : 3.026283025741577 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 6.669437408447266 time for calcul the mask position with numpy : 0.5494246482849121 nb_pixel_total : 6357046 time to create 1 rle with new method : 0.9203622341156006 time for calcul the mask position with numpy : 0.022031784057617188 nb_pixel_total : 2722 time to create 1 rle with old method : 0.003544330596923828 time for calcul the mask position with numpy : 0.024855852127075195 nb_pixel_total : 196342 time to create 1 rle with new method : 0.5969278812408447 time for calcul the mask position with numpy : 0.02130413055419922 nb_pixel_total : 27809 time to create 1 rle with old method : 0.030308008193969727 time for calcul the mask position with numpy : 0.02166008949279785 nb_pixel_total : 7074 time to create 1 rle with old method : 0.007891654968261719 time for calcul the mask position with numpy : 0.028702974319458008 nb_pixel_total : 9120 time to create 1 rle with old method : 0.010135650634765625 time for calcul the mask position with numpy : 0.03405332565307617 nb_pixel_total : 5621 time to create 1 rle with old method : 0.006661891937255859 time for calcul the mask position with numpy : 0.036737680435180664 nb_pixel_total : 7626 time to create 1 rle with old method : 0.010221004486083984 time for calcul the mask position with numpy : 0.04029250144958496 nb_pixel_total : 289000 time to create 1 rle with new method : 0.8891196250915527 time for calcul the mask position with numpy : 0.04945063591003418 nb_pixel_total : 79418 time to create 1 rle with old method : 0.1024785041809082 time for calcul the mask position with numpy : 0.038541555404663086 nb_pixel_total : 48565 time to create 1 rle with old method : 0.05453205108642578 time for calcul the mask position with numpy : 0.03708696365356445 nb_pixel_total : 19897 time to create 1 rle with old method : 0.02263474464416504 create new chi : 3.6612250804901123 time to delete rle : 0.0009005069732666016 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8826 TO DO : save crop sub photo not yet done ! save time : 4.129549026489258 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 13.821733474731445 time for calcul the mask position with numpy : 0.26726770401000977 nb_pixel_total : 6460851 time to create 1 rle with new method : 0.3100731372833252 time for calcul the mask position with numpy : 0.03265666961669922 nb_pixel_total : 3916 time to create 1 rle with old method : 0.00461125373840332 time for calcul the mask position with numpy : 0.034102439880371094 nb_pixel_total : 86879 time to create 1 rle with old method : 0.09236693382263184 time for calcul the mask position with numpy : 0.032599687576293945 nb_pixel_total : 2115 time to create 1 rle with old method : 0.002515077590942383 time for calcul the mask position with numpy : 0.03239321708679199 nb_pixel_total : 8026 time to create 1 rle with old method : 0.008780479431152344 time for calcul the mask position with numpy : 0.033017873764038086 nb_pixel_total : 28617 time to create 1 rle with old method : 0.033240556716918945 time for calcul the mask position with numpy : 0.03379392623901367 nb_pixel_total : 2129 time to create 1 rle with old method : 0.0025849342346191406 time for calcul the mask position with numpy : 0.03369307518005371 nb_pixel_total : 2349 time to create 1 rle with old method : 0.002635955810546875 time for calcul the mask position with numpy : 0.03487563133239746 nb_pixel_total : 164083 time to create 1 rle with new method : 1.1027984619140625 time for calcul the mask position with numpy : 0.03527021408081055 nb_pixel_total : 2985 time to create 1 rle with old method : 0.003936052322387695 time for calcul the mask position with numpy : 0.03591442108154297 nb_pixel_total : 35370 time to create 1 rle with old method : 0.039000749588012695 time for calcul the mask position with numpy : 0.03709697723388672 nb_pixel_total : 2063 time to create 1 rle with old method : 0.0022830963134765625 time for calcul the mask position with numpy : 0.04027152061462402 nb_pixel_total : 16181 time to create 1 rle with old method : 0.018573284149169922 time for calcul the mask position with numpy : 0.04243755340576172 nb_pixel_total : 34390 time to create 1 rle with old method : 0.049526214599609375 time for calcul the mask position with numpy : 0.03995823860168457 nb_pixel_total : 2051 time to create 1 rle with old method : 0.003500699996948242 time for calcul the mask position with numpy : 0.036800384521484375 nb_pixel_total : 3916 time to create 1 rle with old method : 0.004374027252197266 time for calcul the mask position with numpy : 0.034011125564575195 nb_pixel_total : 104903 time to create 1 rle with old method : 0.11865925788879395 time for calcul the mask position with numpy : 0.03886747360229492 nb_pixel_total : 10877 time to create 1 rle with old method : 0.012247085571289062 time for calcul the mask position with numpy : 0.03672480583190918 nb_pixel_total : 2393 time to create 1 rle with old method : 0.0026788711547851562 time for calcul the mask position with numpy : 0.037737131118774414 nb_pixel_total : 63647 time to create 1 rle with old method : 0.07015728950500488 time for calcul the mask position with numpy : 0.03665018081665039 nb_pixel_total : 12499 time to create 1 rle with old method : 0.013714313507080078 create new chi : 2.960310697555542 time to delete rle : 0.0015070438385009766 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 10519 TO DO : save crop sub photo not yet done ! save time : 3.470346450805664 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 13.927990436553955 time for calcul the mask position with numpy : 0.4831044673919678 nb_pixel_total : 6460458 time to create 1 rle with new method : 0.49033474922180176 time for calcul the mask position with numpy : 0.03187155723571777 nb_pixel_total : 3945 time to create 1 rle with old method : 0.004781246185302734 time for calcul the mask position with numpy : 0.0388486385345459 nb_pixel_total : 86931 time to create 1 rle with old method : 0.10233926773071289 time for calcul the mask position with numpy : 0.03462529182434082 nb_pixel_total : 2153 time to create 1 rle with old method : 0.0024995803833007812 time for calcul the mask position with numpy : 0.03395438194274902 nb_pixel_total : 8005 time to create 1 rle with old method : 0.009105205535888672 time for calcul the mask position with numpy : 0.03506827354431152 nb_pixel_total : 28617 time to create 1 rle with old method : 0.04013633728027344 time for calcul the mask position with numpy : 0.03994274139404297 nb_pixel_total : 2129 time to create 1 rle with old method : 0.0035026073455810547 time for calcul the mask position with numpy : 0.036061763763427734 nb_pixel_total : 2351 time to create 1 rle with old method : 0.002752542495727539 time for calcul the mask position with numpy : 0.04032111167907715 nb_pixel_total : 164087 time to create 1 rle with new method : 0.3646705150604248 time for calcul the mask position with numpy : 0.041356563568115234 nb_pixel_total : 35414 time to create 1 rle with old method : 0.04428863525390625 time for calcul the mask position with numpy : 0.03776073455810547 nb_pixel_total : 2985 time to create 1 rle with old method : 0.003640413284301758 time for calcul the mask position with numpy : 0.0366826057434082 nb_pixel_total : 2057 time to create 1 rle with old method : 0.002394437789916992 time for calcul the mask position with numpy : 0.03739047050476074 nb_pixel_total : 16167 time to create 1 rle with old method : 0.017984628677368164 time for calcul the mask position with numpy : 0.03750300407409668 nb_pixel_total : 2051 time to create 1 rle with old method : 0.002457141876220703 time for calcul the mask position with numpy : 0.0359799861907959 nb_pixel_total : 34498 time to create 1 rle with old method : 0.037652015686035156 time for calcul the mask position with numpy : 0.03412199020385742 nb_pixel_total : 3916 time to create 1 rle with old method : 0.004403352737426758 time for calcul the mask position with numpy : 0.035535335540771484 nb_pixel_total : 104904 time to create 1 rle with old method : 0.11258149147033691 time for calcul the mask position with numpy : 0.03431415557861328 nb_pixel_total : 10876 time to create 1 rle with old method : 0.01215982437133789 time for calcul the mask position with numpy : 0.03756260871887207 nb_pixel_total : 2393 time to create 1 rle with old method : 0.002802610397338867 time for calcul the mask position with numpy : 0.035147666931152344 nb_pixel_total : 63687 time to create 1 rle with old method : 0.07020807266235352 time for calcul the mask position with numpy : 0.03318190574645996 nb_pixel_total : 12616 time to create 1 rle with old method : 0.014510393142700195 create new chi : 2.6239326000213623 time to delete rle : 0.0015711784362792969 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 10532 TO DO : save crop sub photo not yet done ! save time : 0.8914535045623779 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 8.753929138183594 time for calcul the mask position with numpy : 0.6899313926696777 nb_pixel_total : 6306411 time to create 1 rle with new method : 0.597987174987793 time for calcul the mask position with numpy : 0.031285762786865234 nb_pixel_total : 3705 time to create 1 rle with old method : 0.006101369857788086 time for calcul the mask position with numpy : 0.04822087287902832 nb_pixel_total : 878 time to create 1 rle with old method : 0.0020046234130859375 time for calcul the mask position with numpy : 0.04271817207336426 nb_pixel_total : 58050 time to create 1 rle with old method : 0.06179976463317871 time for calcul the mask position with numpy : 0.03887486457824707 nb_pixel_total : 2325 time to create 1 rle with old method : 0.002417325973510742 time for calcul the mask position with numpy : 0.03892159461975098 nb_pixel_total : 60512 time to create 1 rle with old method : 0.06985640525817871 time for calcul the mask position with numpy : 0.03826642036437988 nb_pixel_total : 5227 time to create 1 rle with old method : 0.00579524040222168 time for calcul the mask position with numpy : 0.03880763053894043 nb_pixel_total : 28715 time to create 1 rle with old method : 0.03126883506774902 time for calcul the mask position with numpy : 0.04048490524291992 nb_pixel_total : 305092 time to create 1 rle with new method : 0.6368155479431152 time for calcul the mask position with numpy : 0.03865456581115723 nb_pixel_total : 36051 time to create 1 rle with old method : 0.043355464935302734 time for calcul the mask position with numpy : 0.03878331184387207 nb_pixel_total : 3812 time to create 1 rle with old method : 0.004122257232666016 time for calcul the mask position with numpy : 0.0334935188293457 nb_pixel_total : 25011 time to create 1 rle with old method : 0.026515960693359375 time for calcul the mask position with numpy : 0.03131604194641113 nb_pixel_total : 93015 time to create 1 rle with old method : 0.09315967559814453 time for calcul the mask position with numpy : 0.035111427307128906 nb_pixel_total : 117996 time to create 1 rle with old method : 0.12106633186340332 time for calcul the mask position with numpy : 0.0363163948059082 nb_pixel_total : 85 time to create 1 rle with old method : 0.00016570091247558594 time for calcul the mask position with numpy : 0.03694772720336914 nb_pixel_total : 3355 time to create 1 rle with old method : 0.003528594970703125 create new chi : 3.04508638381958 time to delete rle : 0.0010340213775634766 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 8774 TO DO : save crop sub photo not yet done ! save time : 1.356522798538208 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 8.5047128200531 time for calcul the mask position with numpy : 0.45087361335754395 nb_pixel_total : 6306432 time to create 1 rle with new method : 0.4327106475830078 time for calcul the mask position with numpy : 0.02138209342956543 nb_pixel_total : 3705 time to create 1 rle with old method : 0.0041201114654541016 time for calcul the mask position with numpy : 0.03406882286071777 nb_pixel_total : 872 time to create 1 rle with old method : 0.0013699531555175781 time for calcul the mask position with numpy : 0.03718066215515137 nb_pixel_total : 57977 time to create 1 rle with old method : 0.0651390552520752 time for calcul the mask position with numpy : 0.03575897216796875 nb_pixel_total : 2319 time to create 1 rle with old method : 0.0027637481689453125 time for calcul the mask position with numpy : 0.03408312797546387 nb_pixel_total : 5223 time to create 1 rle with old method : 0.006051778793334961 time for calcul the mask position with numpy : 0.03565859794616699 nb_pixel_total : 60556 time to create 1 rle with old method : 0.0697636604309082 time for calcul the mask position with numpy : 0.03026270866394043 nb_pixel_total : 28631 time to create 1 rle with old method : 0.0331575870513916 time for calcul the mask position with numpy : 0.024925947189331055 nb_pixel_total : 305301 time to create 1 rle with new method : 0.787792444229126 time for calcul the mask position with numpy : 0.03481268882751465 nb_pixel_total : 3813 time to create 1 rle with old method : 0.004374980926513672 time for calcul the mask position with numpy : 0.037844181060791016 nb_pixel_total : 35975 time to create 1 rle with old method : 0.03979039192199707 time for calcul the mask position with numpy : 0.03466081619262695 nb_pixel_total : 25026 time to create 1 rle with old method : 0.027355432510375977 time for calcul the mask position with numpy : 0.03666234016418457 nb_pixel_total : 92947 time to create 1 rle with old method : 0.10390043258666992 time for calcul the mask position with numpy : 0.03487682342529297 nb_pixel_total : 118108 time to create 1 rle with old method : 0.12733221054077148 time for calcul the mask position with numpy : 0.03087902069091797 nb_pixel_total : 3355 time to create 1 rle with old method : 0.003851175308227539 create new chi : 2.692033052444458 time to delete rle : 0.0008957386016845703 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 8718 TO DO : save crop sub photo not yet done ! save time : 0.9805145263671875 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 10.671685695648193 time for calcul the mask position with numpy : 0.819361686706543 nb_pixel_total : 6597382 time to create 1 rle with new method : 0.7500059604644775 time for calcul the mask position with numpy : 0.022032737731933594 nb_pixel_total : 19253 time to create 1 rle with old method : 0.021453857421875 time for calcul the mask position with numpy : 0.046666622161865234 nb_pixel_total : 57277 time to create 1 rle with old method : 0.06334900856018066 time for calcul the mask position with numpy : 0.043433189392089844 nb_pixel_total : 54718 time to create 1 rle with old method : 0.05924034118652344 time for calcul the mask position with numpy : 0.04297137260437012 nb_pixel_total : 29597 time to create 1 rle with old method : 0.03227686882019043 time for calcul the mask position with numpy : 0.04196000099182129 nb_pixel_total : 8640 time to create 1 rle with old method : 0.009776115417480469 time for calcul the mask position with numpy : 0.04213261604309082 nb_pixel_total : 151332 time to create 1 rle with new method : 0.5805144309997559 time for calcul the mask position with numpy : 0.04283404350280762 nb_pixel_total : 26176 time to create 1 rle with old method : 0.028590679168701172 time for calcul the mask position with numpy : 0.04155588150024414 nb_pixel_total : 6006 time to create 1 rle with old method : 0.011852025985717773 time for calcul the mask position with numpy : 0.04083967208862305 nb_pixel_total : 59478 time to create 1 rle with old method : 0.09004402160644531 time for calcul the mask position with numpy : 0.04297447204589844 nb_pixel_total : 33687 time to create 1 rle with old method : 0.038469552993774414 time for calcul the mask position with numpy : 0.044791460037231445 nb_pixel_total : 6694 time to create 1 rle with old method : 0.008040666580200195 create new chi : 3.043189287185669 time to delete rle : 0.0013251304626464844 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8614 TO DO : save crop sub photo not yet done ! save time : 0.8205742835998535 map_output_result : {1334880227: (0.0, 'Should be the crop_list due to order', 0.0), 1334879956: (0.0, 'Should be the crop_list due to order', 0.0), 1334879932: (0.0, 'Should be the crop_list due to order', 0.0), 1334879898: (0.0, 'Should be the crop_list due to order', 0.0), 1334879871: (0.0, 'Should be the crop_list due to order', 0.0), 1334879812: (0.0, 'Should be the crop_list due to order', 0.0), 1334879795: (0.0, 'Should be the crop_list due to order', 0.0), 1334879719: (0.0, 'Should be the crop_list due to order', 0.0), 1334879706: (0.0, 'Should be the crop_list due to order', 0.0), 1334879648: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] Looping around the photos to save general results len do output : 10 /1334880227.Didn't retrieve data . /1334879956.Didn't retrieve data . /1334879932.Didn't retrieve data . /1334879898.Didn't retrieve data . /1334879871.Didn't retrieve data . /1334879812.Didn't retrieve data . /1334879795.Didn't retrieve data . /1334879719.Didn't retrieve data . /1334879706.Didn't retrieve data . /1334879648.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, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.021486997604370117 save_final save missing photos in datou_result : time spend for datou_step_exec : 151.67922377586365 time spend to save output : 0.022143840789794922 total time spend for step 5 : 151.70136761665344 step6:crop_condition Thu Feb 6 05:26:47 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 155 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 4869462 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816013_2194344 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.5037105083465576 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816018_2194344 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.340337038040161 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816021_2194344 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7001676559448242 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816027_2194344 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4005465507507324 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816031_2194344 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.217674970626831 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] Looping around the photos to save general results len do output : 26 /1335123887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123908Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335123916Didn'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, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 time used for this insertion : 0.11441707611083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.05027675628662 time spend to save output : 0.11546993255615234 total time spend for step 6 : 29.165746688842773 step7:ventilate_hashtags_in_portfolio Thu Feb 6 05:27: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 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 : 20286225 get user id for portfolio 20286225 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`=20286225 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Teint_Dans_La_Masse','cartonnette','mal_croppe','Carton_brun','flou','Carton_gris','kraft','metal','environnement','papier','autre_refus')) 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`=20286225 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Teint_Dans_La_Masse','cartonnette','mal_croppe','Carton_brun','flou','Carton_gris','kraft','metal','environnement','papier','autre_refus')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20286521,20286522,20286523,20286524,20286525,20286526,20286527,20286528,20286529,20286530,20286531,20286532?tags=Carton_gris,metal,mal_croppe,cartonnette,flou,autre_refus,papier,plastique,kraft,Teint_Dans_La_Masse,environnement,Carton_brun Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] Looping around the photos to save general results len do output : 1 /20286225. 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, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.018316984176635742 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5358643531799316 time spend to save output : 0.018739938735961914 total time spend for step 7 : 1.5546042919158936 step8:final Thu Feb 6 05:27:18 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 : {1334880227: ('0.07651605813058077',), 1334879956: ('0.07651605813058077',), 1334879932: ('0.07651605813058077',), 1334879898: ('0.07651605813058077',), 1334879871: ('0.07651605813058077',), 1334879812: ('0.07651605813058077',), 1334879795: ('0.07651605813058077',), 1334879719: ('0.07651605813058077',), 1334879706: ('0.07651605813058077',), 1334879648: ('0.07651605813058077',)} new output for save of step final : {1334880227: ('0.07651605813058077',), 1334879956: ('0.07651605813058077',), 1334879932: ('0.07651605813058077',), 1334879898: ('0.07651605813058077',), 1334879871: ('0.07651605813058077',), 1334879812: ('0.07651605813058077',), 1334879795: ('0.07651605813058077',), 1334879719: ('0.07651605813058077',), 1334879706: ('0.07651605813058077',), 1334879648: ('0.07651605813058077',)} [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] Looping around the photos to save general results len do output : 10 /1334880227.Didn't retrieve data . /1334879956.Didn't retrieve data . /1334879932.Didn't retrieve data . /1334879898.Didn't retrieve data . /1334879871.Didn't retrieve data . /1334879812.Didn't retrieve data . /1334879795.Didn't retrieve data . /1334879719.Didn't retrieve data . /1334879706.Didn't retrieve data . /1334879648.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, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016510009765625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1048884391784668 time spend to save output : 0.01715707778930664 total time spend for step 8 : 0.12204551696777344 step9:velours_tree Thu Feb 6 05:27:18 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.03342580795288086 time spend to save output : 3.266334533691406e-05 total time spend for step 9 : 0.03345847129821777 step10:send_mail_cod Thu Feb 6 05:27:18 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_P20286225_06-02-2025_05_27_18.pdf 20286522 imagette202865221738816038 20286523 imagette202865231738816038 20286524 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 .imagette202865241738816038 20286525 imagette202865251738816039 20286526 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 .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 .imagette202865261738816039 20286528 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 .imagette202865281738816040 20286529 change filename to text .imagette202865291738816041 20286521 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 .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 .imagette202865211738816041 20286530 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 .imagette202865301738816043 20286532 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 .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 .imagette202865321738816044 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20286225 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20286521,20286522,20286523,20286524,20286525,20286526,20286527,20286528,20286529,20286530,20286531,20286532?tags=Carton_gris,metal,mal_croppe,cartonnette,flou,autre_refus,papier,plastique,kraft,Teint_Dans_La_Masse,environnement,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1334880227] : ('0.07651605813058077',) no score found for photo 1334880227 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879956] : ('0.07651605813058077',) no score found for photo 1334879956 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879932] : ('0.07651605813058077',) no score found for photo 1334879932 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879898] : ('0.07651605813058077',) no score found for photo 1334879898 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879871] : ('0.07651605813058077',) no score found for photo 1334879871 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879812] : ('0.07651605813058077',) no score found for photo 1334879812 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879795] : ('0.07651605813058077',) no score found for photo 1334879795 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879719] : ('0.07651605813058077',) no score found for photo 1334879719 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879706] : ('0.07651605813058077',) no score found for photo 1334879706 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com args[1334879648] : ('0.07651605813058077',) no score found for photo 1334879648 apple ('0.07651605813058077',) We are sending mail with results at report@fotonower.com refus_total : 0.07651605813058077 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=20286225 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1334879871,1335072435,1335072433,1335072422,1335072409,1334880241,1334879956,1334879932,1334879898,1334879812,1334879795,1334879303,1334879648,1334879642,1334879631,1334879629,1334879352,1334879425,1334879533,1334879249) Found this number of photos: 20 begin to download photo : 1334879871 begin to download photo : 1334880241 begin to download photo : 1334879795 begin to download photo : 1334879629 download finish for photo 1334879795 begin to download photo : 1334879303 download finish for photo 1334880241 begin to download photo : 1334879956 download finish for photo 1334879629 begin to download photo : 1334879352 download finish for photo 1334879871 begin to download photo : 1335072435 download finish for photo 1334879303 begin to download photo : 1334879648 download finish for photo 1334879956 begin to download photo : 1334879932 download finish for photo 1334879648 begin to download photo : 1334879642 download finish for photo 1334879352 begin to download photo : 1334879425 download finish for photo 1335072435 begin to download photo : 1335072433 download finish for photo 1334879932 begin to download photo : 1334879898 download finish for photo 1334879425 begin to download photo : 1334879533 download finish for photo 1334879898 begin to download photo : 1334879812 download finish for photo 1334879642 begin to download photo : 1334879631 download finish for photo 1335072433 begin to download photo : 1335072422 download finish for photo 1334879533 begin to download photo : 1334879249 download finish for photo 1334879631 download finish for photo 1335072422 begin to download photo : 1335072409 download finish for photo 1334879812 download finish for photo 1334879249 download finish for photo 1335072409 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_27_18.pdf results_Auto_P20286225_06-02-2025_05_27_18.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_27_18.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','20286225','results_Auto_P20286225_06-02-2025_05_27_18.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_27_18.pdf','pdf','','1.31','0.07651605813058077') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] 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, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014234542846679688 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.226803302764893 time spend to save output : 0.014511823654174805 total time spend for step 10 : 11.241315126419067 step11:split_time_score Thu Feb 6 05:27:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 29),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05022025 20286225 Nombre de photos uploadées : 29 / 23040 (0%) 05022025 20286225 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 05022025 20286225 Nombre de photos taguées (volume) : 0 / 29 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015282630920410156 elapsed_time : insert_dashboard_record_day_entry 0.024748563766479492 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277499 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277500 order by id desc limit 1 Qualite : 0.06982936375476607 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277501_06-02-2025_05_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277501 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`=20277501 AND mptpi.`type`=4207 To do Qualite : 0.22049059616263506 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277502_06-02-2025_02_23_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277502 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20277502 AND mptpi.`type`=3594 To do Qualite : 0.24811212809776687 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277503_06-02-2025_02_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277503 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20277503 AND mptpi.`type`=3594 To do Qualite : 0.1599211058721707 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277504_06-02-2025_05_06_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277504 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`=20277504 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286196 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286197 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286210 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286224 order by id desc limit 1 Qualite : 0.07663699265928005 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_27_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286225 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`=20286225 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286226 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277510 order by id desc limit 1 Qualite : 0.2311395498592955 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277511_06-02-2025_02_48_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277511 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20277511 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277512 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286228 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286229 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286230 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277514 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286231 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286232 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286233 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286234 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286235 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286236 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286237 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286238 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286239 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277522 order by id desc limit 1 Qualite : 0.1770747284253208 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277523_06-02-2025_01_29_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277523 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20277523 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286240 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286241 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286242 order by id desc limit 1 Qualite : 0.07058148054050647 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277526_06-02-2025_02_22_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277526 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`=20277526 AND mptpi.`type`=4207 To do Qualite : 0.06769655641860853 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277527_06-02-2025_00_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277527 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20277527 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277528 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277529 order by id desc limit 1 Qualite : 0.21480488134682896 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277530_06-02-2025_01_27_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277530 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20277530 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277531 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286243 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277533 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277534 order by id desc limit 1 Qualite : 0.09479940201243531 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277535_06-02-2025_03_28_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277535 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`=20277535 AND mptpi.`type`=4207 To do Qualite : 0.05092112302991469 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277548_06-02-2025_02_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277548 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`=20277548 AND mptpi.`type`=4207 To do Qualite : 0.180145604972313 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277549_06-02-2025_00_58_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277549 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20277549 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277550_06-02-2025_01_20_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277550 order by id desc limit 1 Qualite : 0.09609489658538523 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277551_06-02-2025_02_21_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277551 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`=20277551 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286244 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286245 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286246 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05022025': {'nb_upload': 29, '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 [1334880227, 1334879956, 1334879932, 1334879898, 1334879871, 1334879812, 1334879795, 1334879719, 1334879706, 1334879648] Looping around the photos to save general results len do output : 1 /20286225Didn'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, '2557986') ('3459', None, '1334880227', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879956', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879932', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879898', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879871', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879812', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879795', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879719', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879706', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879648', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014508962631225586 save_final save missing photos in datou_result : time spend for datou_step_exec : 27.79850721359253 time spend to save output : 0.014801740646362305 total time spend for step 11 : 27.81330895423889 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 136.38user 121.89system 5:32.51elapsed 77%CPU (0avgtext+0avgdata 4136452maxresident)k 90960inputs+164000outputs (1727major+12106967minor)pagefaults 0swaps