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 : 2350662 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 : 21>10 please execute split_portfolio.py -i 20782993 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2610884'] with mtr_portfolio_ids : ['20782993'] and first list_photo_ids : [] new path : /proc/2350662/ 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.8084468841552734 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 Mon Feb 24 22:22:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10593 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-24 22:22:32.154005: 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-24 22:22:32.179047: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-24 22:22:32.180818: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0d2c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-24 22:22:32.180881: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-24 22:22:32.184452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-24 22:22:32.424505: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x12880650 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-24 22:22:32.424547: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-24 22:22:32.425712: 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-24 22:22:32.426482: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:22:32.430123: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:22:32.432756: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:22:32.433826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:22:32.438092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:22:32.439600: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:22:32.447150: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:22:32.448619: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:22:32.448706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:22:32.449458: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-24 22:22:32.449473: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-24 22:22:32.449482: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-24 22:22:32.450756: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9815 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-24 22:22:32.793991: 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-24 22:22:32.794102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:22:32.794127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:22:32.794149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:22:32.794170: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:22:32.794190: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:22:32.794224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:22:32.794246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:22:32.796047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:22:32.797577: 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-24 22:22:32.797617: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:22:32.797632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:22:32.797662: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:22:32.797679: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:22:32.797694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:22:32.797708: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:22:32.797722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:22:32.799035: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:22:32.799066: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-24 22:22:32.799075: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-24 22:22:32.799083: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-24 22:22:32.800540: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9815 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-24 22:22:44.579171: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:22:44.764222: 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 : 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 : 9 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 : 18 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 : 9 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 : 9 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 : 9 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 : 18 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 : 16 Detection mask done ! Trying to reset tf kernel 2351076 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5304 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 : 10593 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.0003829002380371094 nb_pixel_total : 8774 time to create 1 rle with old method : 0.012610197067260742 length of segment : 157 time for calcul the mask position with numpy : 0.0007565021514892578 nb_pixel_total : 22456 time to create 1 rle with old method : 0.029119014739990234 length of segment : 217 time for calcul the mask position with numpy : 0.00021409988403320312 nb_pixel_total : 5376 time to create 1 rle with old method : 0.007652997970581055 length of segment : 125 time for calcul the mask position with numpy : 0.0025167465209960938 nb_pixel_total : 104010 time to create 1 rle with old method : 0.13302016258239746 length of segment : 620 time for calcul the mask position with numpy : 0.0004885196685791016 nb_pixel_total : 26267 time to create 1 rle with old method : 0.03203129768371582 length of segment : 184 time for calcul the mask position with numpy : 0.0026481151580810547 nb_pixel_total : 132497 time to create 1 rle with old method : 0.15381240844726562 length of segment : 334 time for calcul the mask position with numpy : 0.001806020736694336 nb_pixel_total : 125546 time to create 1 rle with old method : 0.14783048629760742 length of segment : 430 time for calcul the mask position with numpy : 0.00021719932556152344 nb_pixel_total : 9119 time to create 1 rle with old method : 0.011586666107177734 length of segment : 188 time for calcul the mask position with numpy : 0.0014700889587402344 nb_pixel_total : 109201 time to create 1 rle with old method : 0.12505149841308594 length of segment : 439 time for calcul the mask position with numpy : 0.00021839141845703125 nb_pixel_total : 7101 time to create 1 rle with old method : 0.00873255729675293 length of segment : 134 time for calcul the mask position with numpy : 0.00081634521484375 nb_pixel_total : 31442 time to create 1 rle with old method : 0.04015541076660156 length of segment : 476 time for calcul the mask position with numpy : 0.004881858825683594 nb_pixel_total : 208928 time to create 1 rle with new method : 0.013572216033935547 length of segment : 617 time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 6643 time to create 1 rle with old method : 0.00876760482788086 length of segment : 144 time for calcul the mask position with numpy : 0.000553131103515625 nb_pixel_total : 29620 time to create 1 rle with old method : 0.03750443458557129 length of segment : 261 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 2367 time to create 1 rle with old method : 0.003596782684326172 length of segment : 63 time for calcul the mask position with numpy : 0.00010919570922851562 nb_pixel_total : 2610 time to create 1 rle with old method : 0.003995180130004883 length of segment : 123 time for calcul the mask position with numpy : 0.0007655620574951172 nb_pixel_total : 37517 time to create 1 rle with old method : 0.04549670219421387 length of segment : 386 time for calcul the mask position with numpy : 0.0009968280792236328 nb_pixel_total : 50731 time to create 1 rle with old method : 0.06580018997192383 length of segment : 649 time for calcul the mask position with numpy : 0.0006461143493652344 nb_pixel_total : 1980 time to create 1 rle with old method : 0.00399017333984375 length of segment : 121 time for calcul the mask position with numpy : 0.00021004676818847656 nb_pixel_total : 5606 time to create 1 rle with old method : 0.010532617568969727 length of segment : 80 time for calcul the mask position with numpy : 0.0019724369049072266 nb_pixel_total : 80812 time to create 1 rle with old method : 0.14641904830932617 length of segment : 327 time for calcul the mask position with numpy : 0.0011737346649169922 nb_pixel_total : 28046 time to create 1 rle with old method : 0.04697442054748535 length of segment : 315 time for calcul the mask position with numpy : 0.0013158321380615234 nb_pixel_total : 51900 time to create 1 rle with old method : 0.10014128684997559 length of segment : 317 time for calcul the mask position with numpy : 0.00011992454528808594 nb_pixel_total : 2691 time to create 1 rle with old method : 0.0041980743408203125 length of segment : 59 time for calcul the mask position with numpy : 0.00041794776916503906 nb_pixel_total : 15100 time to create 1 rle with old method : 0.02385854721069336 length of segment : 140 time for calcul the mask position with numpy : 0.0009093284606933594 nb_pixel_total : 33065 time to create 1 rle with old method : 0.0516514778137207 length of segment : 318 time for calcul the mask position with numpy : 0.0015976428985595703 nb_pixel_total : 52995 time to create 1 rle with old method : 0.06874799728393555 length of segment : 348 time for calcul the mask position with numpy : 0.00010728836059570312 nb_pixel_total : 3297 time to create 1 rle with old method : 0.005343437194824219 length of segment : 60 time for calcul the mask position with numpy : 0.0002663135528564453 nb_pixel_total : 9089 time to create 1 rle with old method : 0.015550374984741211 length of segment : 130 time for calcul the mask position with numpy : 0.001085519790649414 nb_pixel_total : 45215 time to create 1 rle with old method : 0.06558370590209961 length of segment : 278 time for calcul the mask position with numpy : 0.0018229484558105469 nb_pixel_total : 102383 time to create 1 rle with old method : 0.12089967727661133 length of segment : 923 time for calcul the mask position with numpy : 6.747245788574219e-05 nb_pixel_total : 1062 time to create 1 rle with old method : 0.0014429092407226562 length of segment : 29 time for calcul the mask position with numpy : 5.888938903808594e-05 nb_pixel_total : 1019 time to create 1 rle with old method : 0.0014612674713134766 length of segment : 38 time for calcul the mask position with numpy : 0.0007796287536621094 nb_pixel_total : 27349 time to create 1 rle with old method : 0.04029226303100586 length of segment : 348 time for calcul the mask position with numpy : 0.00018143653869628906 nb_pixel_total : 10843 time to create 1 rle with old method : 0.013554096221923828 length of segment : 132 time for calcul the mask position with numpy : 0.001512289047241211 nb_pixel_total : 117081 time to create 1 rle with old method : 0.12653589248657227 length of segment : 417 time for calcul the mask position with numpy : 0.0005936622619628906 nb_pixel_total : 33272 time to create 1 rle with old method : 0.04257631301879883 length of segment : 170 time for calcul the mask position with numpy : 0.002275228500366211 nb_pixel_total : 166691 time to create 1 rle with new method : 0.009247541427612305 length of segment : 512 time for calcul the mask position with numpy : 0.0007936954498291016 nb_pixel_total : 53323 time to create 1 rle with old method : 0.06601428985595703 length of segment : 364 time for calcul the mask position with numpy : 0.00034308433532714844 nb_pixel_total : 19800 time to create 1 rle with old method : 0.022376298904418945 length of segment : 178 time for calcul the mask position with numpy : 0.0005521774291992188 nb_pixel_total : 45435 time to create 1 rle with old method : 0.05243492126464844 length of segment : 182 time for calcul the mask position with numpy : 0.0006384849548339844 nb_pixel_total : 38914 time to create 1 rle with old method : 0.047219038009643555 length of segment : 191 time for calcul the mask position with numpy : 0.0006456375122070312 nb_pixel_total : 41655 time to create 1 rle with old method : 0.052434682846069336 length of segment : 165 time for calcul the mask position with numpy : 0.002331972122192383 nb_pixel_total : 205292 time to create 1 rle with new method : 0.007800102233886719 length of segment : 484 time for calcul the mask position with numpy : 0.00011086463928222656 nb_pixel_total : 3276 time to create 1 rle with old method : 0.004274129867553711 length of segment : 69 time for calcul the mask position with numpy : 0.0011525154113769531 nb_pixel_total : 58853 time to create 1 rle with old method : 0.07258272171020508 length of segment : 292 time for calcul the mask position with numpy : 0.000301361083984375 nb_pixel_total : 20964 time to create 1 rle with old method : 0.0245053768157959 length of segment : 220 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 3441 time to create 1 rle with old method : 0.004283428192138672 length of segment : 113 time for calcul the mask position with numpy : 9.34600830078125e-05 nb_pixel_total : 4059 time to create 1 rle with old method : 0.005300283432006836 length of segment : 76 time for calcul the mask position with numpy : 0.00013399124145507812 nb_pixel_total : 8084 time to create 1 rle with old method : 0.010471105575561523 length of segment : 76 time for calcul the mask position with numpy : 0.0004749298095703125 nb_pixel_total : 37740 time to create 1 rle with old method : 0.04487919807434082 length of segment : 254 time for calcul the mask position with numpy : 0.0001513957977294922 nb_pixel_total : 5997 time to create 1 rle with old method : 0.0075490474700927734 length of segment : 93 time for calcul the mask position with numpy : 0.0018832683563232422 nb_pixel_total : 48840 time to create 1 rle with old method : 0.060424089431762695 length of segment : 374 time for calcul the mask position with numpy : 0.04803729057312012 nb_pixel_total : 1068577 time to create 1 rle with new method : 0.20151472091674805 length of segment : 1808 time for calcul the mask position with numpy : 0.0019712448120117188 nb_pixel_total : 108062 time to create 1 rle with old method : 0.12546777725219727 length of segment : 479 time for calcul the mask position with numpy : 0.0001423358917236328 nb_pixel_total : 5152 time to create 1 rle with old method : 0.006795167922973633 length of segment : 36 time for calcul the mask position with numpy : 0.005079984664916992 nb_pixel_total : 195850 time to create 1 rle with new method : 0.0077724456787109375 length of segment : 660 time for calcul the mask position with numpy : 0.004387617111206055 nb_pixel_total : 200196 time to create 1 rle with new method : 0.00679469108581543 length of segment : 492 time for calcul the mask position with numpy : 0.0008695125579833984 nb_pixel_total : 38294 time to create 1 rle with old method : 0.0634298324584961 length of segment : 254 time for calcul the mask position with numpy : 0.00041484832763671875 nb_pixel_total : 9306 time to create 1 rle with old method : 0.012152433395385742 length of segment : 100 time for calcul the mask position with numpy : 0.005453586578369141 nb_pixel_total : 301952 time to create 1 rle with new method : 0.0092010498046875 length of segment : 449 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 1604 time to create 1 rle with old method : 0.0022439956665039062 length of segment : 47 time for calcul the mask position with numpy : 0.00016379356384277344 nb_pixel_total : 7787 time to create 1 rle with old method : 0.010300397872924805 length of segment : 144 time for calcul the mask position with numpy : 0.00029730796813964844 nb_pixel_total : 18069 time to create 1 rle with old method : 0.020809173583984375 length of segment : 160 time for calcul the mask position with numpy : 0.00021147727966308594 nb_pixel_total : 2924 time to create 1 rle with old method : 0.0039484500885009766 length of segment : 64 time for calcul the mask position with numpy : 0.00026488304138183594 nb_pixel_total : 15891 time to create 1 rle with old method : 0.01889967918395996 length of segment : 149 time for calcul the mask position with numpy : 0.0006325244903564453 nb_pixel_total : 27851 time to create 1 rle with old method : 0.034226179122924805 length of segment : 234 time for calcul the mask position with numpy : 0.002301931381225586 nb_pixel_total : 104450 time to create 1 rle with old method : 0.12475466728210449 length of segment : 246 time for calcul the mask position with numpy : 0.0004582405090332031 nb_pixel_total : 34060 time to create 1 rle with old method : 0.039133310317993164 length of segment : 226 time for calcul the mask position with numpy : 0.0015304088592529297 nb_pixel_total : 62826 time to create 1 rle with old method : 0.07369184494018555 length of segment : 329 time for calcul the mask position with numpy : 0.13181257247924805 nb_pixel_total : 2135880 time to create 1 rle with new method : 0.6852991580963135 length of segment : 3108 time for calcul the mask position with numpy : 0.00015974044799804688 nb_pixel_total : 2734 time to create 1 rle with old method : 0.003490447998046875 length of segment : 63 time for calcul the mask position with numpy : 0.010939836502075195 nb_pixel_total : 485266 time to create 1 rle with new method : 0.021824121475219727 length of segment : 1424 time for calcul the mask position with numpy : 0.0010745525360107422 nb_pixel_total : 74920 time to create 1 rle with old method : 0.08991646766662598 length of segment : 470 time for calcul the mask position with numpy : 0.0015397071838378906 nb_pixel_total : 84862 time to create 1 rle with old method : 0.09666967391967773 length of segment : 312 time for calcul the mask position with numpy : 0.01040029525756836 nb_pixel_total : 745645 time to create 1 rle with new method : 0.15887045860290527 length of segment : 1912 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 1232 time to create 1 rle with old method : 0.0015132427215576172 length of segment : 55 time for calcul the mask position with numpy : 0.001322031021118164 nb_pixel_total : 49935 time to create 1 rle with old method : 0.06262588500976562 length of segment : 318 time for calcul the mask position with numpy : 0.0002994537353515625 nb_pixel_total : 8432 time to create 1 rle with old method : 0.010349750518798828 length of segment : 86 time for calcul the mask position with numpy : 0.0007703304290771484 nb_pixel_total : 20775 time to create 1 rle with old method : 0.025041818618774414 length of segment : 189 time for calcul the mask position with numpy : 0.0004863739013671875 nb_pixel_total : 17120 time to create 1 rle with old method : 0.021355152130126953 length of segment : 110 time for calcul the mask position with numpy : 0.0011074542999267578 nb_pixel_total : 25501 time to create 1 rle with old method : 0.03211808204650879 length of segment : 396 time for calcul the mask position with numpy : 0.00025534629821777344 nb_pixel_total : 4588 time to create 1 rle with old method : 0.0059909820556640625 length of segment : 64 time for calcul the mask position with numpy : 0.00019359588623046875 nb_pixel_total : 1723 time to create 1 rle with old method : 0.0023267269134521484 length of segment : 52 time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 4623 time to create 1 rle with old method : 0.006166696548461914 length of segment : 85 time for calcul the mask position with numpy : 0.003957986831665039 nb_pixel_total : 143998 time to create 1 rle with old method : 0.1662445068359375 length of segment : 517 time for calcul the mask position with numpy : 0.0012233257293701172 nb_pixel_total : 58657 time to create 1 rle with old method : 0.0730433464050293 length of segment : 258 time for calcul the mask position with numpy : 0.012925386428833008 nb_pixel_total : 423832 time to create 1 rle with new method : 0.04518413543701172 length of segment : 1453 time for calcul the mask position with numpy : 0.0009517669677734375 nb_pixel_total : 29856 time to create 1 rle with old method : 0.035888671875 length of segment : 242 time for calcul the mask position with numpy : 0.0039899349212646484 nb_pixel_total : 126043 time to create 1 rle with old method : 0.16726112365722656 length of segment : 794 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 1580 time to create 1 rle with old method : 0.0019600391387939453 length of segment : 66 time for calcul the mask position with numpy : 0.0008208751678466797 nb_pixel_total : 24686 time to create 1 rle with old method : 0.03120279312133789 length of segment : 223 time for calcul the mask position with numpy : 0.005489826202392578 nb_pixel_total : 289928 time to create 1 rle with new method : 0.016664981842041016 length of segment : 1182 time for calcul the mask position with numpy : 0.0036017894744873047 nb_pixel_total : 157992 time to create 1 rle with new method : 0.004881381988525391 length of segment : 433 time for calcul the mask position with numpy : 0.00023221969604492188 nb_pixel_total : 5591 time to create 1 rle with old method : 0.009614706039428711 length of segment : 95 time for calcul the mask position with numpy : 0.0028290748596191406 nb_pixel_total : 118822 time to create 1 rle with old method : 0.13460993766784668 length of segment : 437 time for calcul the mask position with numpy : 0.0025300979614257812 nb_pixel_total : 127684 time to create 1 rle with old method : 0.15299320220947266 length of segment : 541 time for calcul the mask position with numpy : 0.0008566379547119141 nb_pixel_total : 33783 time to create 1 rle with old method : 0.040796518325805664 length of segment : 279 time for calcul the mask position with numpy : 0.00040221214294433594 nb_pixel_total : 10839 time to create 1 rle with old method : 0.013497114181518555 length of segment : 199 time for calcul the mask position with numpy : 0.002475261688232422 nb_pixel_total : 95741 time to create 1 rle with old method : 0.10910558700561523 length of segment : 360 time for calcul the mask position with numpy : 0.00036215782165527344 nb_pixel_total : 8226 time to create 1 rle with old method : 0.011370658874511719 length of segment : 117 time for calcul the mask position with numpy : 0.0027489662170410156 nb_pixel_total : 130185 time to create 1 rle with old method : 0.16019797325134277 length of segment : 556 time for calcul the mask position with numpy : 0.003631591796875 nb_pixel_total : 155964 time to create 1 rle with new method : 0.007352352142333984 length of segment : 835 time for calcul the mask position with numpy : 0.0006198883056640625 nb_pixel_total : 22353 time to create 1 rle with old method : 0.02839946746826172 length of segment : 123 time for calcul the mask position with numpy : 0.00023221969604492188 nb_pixel_total : 4341 time to create 1 rle with old method : 0.005649566650390625 length of segment : 73 time for calcul the mask position with numpy : 0.0015988349914550781 nb_pixel_total : 57123 time to create 1 rle with old method : 0.07248997688293457 length of segment : 355 time for calcul the mask position with numpy : 0.0008854866027832031 nb_pixel_total : 24520 time to create 1 rle with old method : 0.030084848403930664 length of segment : 234 time for calcul the mask position with numpy : 0.0012776851654052734 nb_pixel_total : 46616 time to create 1 rle with old method : 0.05562138557434082 length of segment : 277 time for calcul the mask position with numpy : 0.00022101402282714844 nb_pixel_total : 5930 time to create 1 rle with old method : 0.007681608200073242 length of segment : 101 time for calcul the mask position with numpy : 0.0005810260772705078 nb_pixel_total : 22955 time to create 1 rle with old method : 0.02754354476928711 length of segment : 182 time for calcul the mask position with numpy : 0.0003581047058105469 nb_pixel_total : 8762 time to create 1 rle with old method : 0.011295557022094727 length of segment : 114 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 1888 time to create 1 rle with old method : 0.002444028854370117 length of segment : 87 time for calcul the mask position with numpy : 0.0004911422729492188 nb_pixel_total : 22819 time to create 1 rle with old method : 0.029326438903808594 length of segment : 162 time for calcul the mask position with numpy : 0.0002663135528564453 nb_pixel_total : 5199 time to create 1 rle with old method : 0.006779909133911133 length of segment : 92 time for calcul the mask position with numpy : 0.0005960464477539062 nb_pixel_total : 12292 time to create 1 rle with old method : 0.016119718551635742 length of segment : 200 time for calcul the mask position with numpy : 0.002900362014770508 nb_pixel_total : 95206 time to create 1 rle with old method : 0.1197972297668457 length of segment : 430 time for calcul the mask position with numpy : 0.003668069839477539 nb_pixel_total : 152903 time to create 1 rle with new method : 0.006463766098022461 length of segment : 524 time for calcul the mask position with numpy : 0.0004718303680419922 nb_pixel_total : 6329 time to create 1 rle with old method : 0.007831096649169922 length of segment : 175 time for calcul the mask position with numpy : 0.001191854476928711 nb_pixel_total : 56335 time to create 1 rle with old method : 0.06594181060791016 length of segment : 339 time for calcul the mask position with numpy : 0.0009775161743164062 nb_pixel_total : 38315 time to create 1 rle with old method : 0.04505777359008789 length of segment : 204 time spent for convertir_results : 13.143754720687866 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 120 chid ids of type : 3663 Number RLEs to save : 40520 save missing photos in datou_result : time spend for datou_step_exec : 62.71644973754883 time spend to save output : 2.2841813564300537 total time spend for step 1 : 65.00063109397888 step2:crop_condition Mon Feb 24 22:23:33 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 120 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 33 About to insert : list_path_to_insert length 33 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 ! 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 : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] Looping around the photos to save general results len do output : 73 /-3685673455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673466Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673459Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673461Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685673534Didn'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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 229 time used for this insertion : 0.03223252296447754 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.986032247543335 time spend to save output : 0.03527021408081055 total time spend for step 2 : 26.021302461624146 step3:thcl Mon Feb 24 22:23:59 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.0056610107421875 time to convert the images to numpy array : 0.0264894962310791 time to import caffe and check if the image exist : 0.006512880325317383 time to convert the images to numpy array : 0.06862592697143555 time to import caffe and check if the image exist : 0.010791301727294922 time to convert the images to numpy array : 0.07705473899841309 time to import caffe and check if the image exist : 0.010284185409545898 time to convert the images to numpy array : 0.08087873458862305 time to import caffe and check if the image exist : 0.013269424438476562 time to convert the images to numpy array : 0.08894085884094238 time to import caffe and check if the image exist : 0.008022785186767578 time to convert the images to numpy array : 0.103912353515625 time to import caffe and check if the image exist : 0.011167049407958984 time to convert the images to numpy array : 0.10347771644592285 time to import caffe and check if the image exist : 0.00860738754272461 time to convert the images to numpy array : 0.4267253875732422 time to import caffe and check if the image exist : 0.01683974266052246 time to convert the images to numpy array : 0.4204549789428711 time to import caffe and check if the image exist : 0.01415252685546875 time to convert the images to numpy array : 0.440859317779541 total time to convert the images to numpy array : 0.7721188068389893 list photo_ids error: [] list photo_ids correct : [-3685673534, -3685673455, -3685673460, -3685673470, -3685673481, -3685673494, -3685673516, -3685673515, -3685673437, -3685673482, -3685673483, -3685673511, -3685673514, -3685673517, -3685673512, -3685673540, -3685673439, -3685673451, -3685673452, -3685673463, -3685673462, -3685673497, -3685673547, -3685673548, -3685673446, -3685673472, -3685673475, -3685673478, -3685673479, -3685673485, -3685673500, -3685673499, -3685673502, -3685673444, -3685673450, -3685673449, -3685673453, -3685673459, -3685673454, -3685673458, -3685673457, -3685673528, -3685673538, -3685673532, -3685673551, -3685673545, -3685673549, -3685673461, -3685673484, -3685673466, -3685673473, -3685673526, -3685673522, -3685673519, -3685673443, -3685673436, -3685673438, -3685673441, -3685673476, -3685673474, -3685673471, -3685673501, -3685673491, -3685673487, -3685673496, -3685673521, -3685673510, -3685673525, -3685673518, -3685673524, -3685673530, -3685673535, -3685673529] number of photos to traite : 73 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 : 10593 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 : 10374 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.6836280822753906 time used to do the prediction : 0.16259121894836426 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 : 10372 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 : 10372 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.6717698574066162 time used to do the prediction : 0.14251017570495605 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 : 1.0967254638671875e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.224314451217651 time spend to save output : 0.000492095947265625 total time spend for step 3 : 9.224806547164917 step4:merge_mask_thcl_custom Mon Feb 24 22:24:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 120 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 [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] Looping around the photos to save general results len do output : 10 /1339341854Didn't retrieve data .Didn't retrieve data . /1339341853Didn't retrieve data .Didn't retrieve data . /1339341852Didn't retrieve data .Didn't retrieve data . /1339341851Didn't retrieve data .Didn't retrieve data . /1339341849Didn't retrieve data .Didn't retrieve data . /1339341847Didn't retrieve data .Didn't retrieve data . /1339341829Didn't retrieve data .Didn't retrieve data . /1339341827Didn't retrieve data .Didn't retrieve data . /1339341826Didn't retrieve data .Didn't retrieve data . /1339341825Didn'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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.06363701820373535 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07007074356079102 time spend to save output : 0.06408929824829102 total time spend for step 4 : 0.13416004180908203 step5:rle_unique_nms_with_priority Mon Feb 24 22:24:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 9.243546724319458 time for calcul the mask position with numpy : 0.6720964908599854 nb_pixel_total : 6257778 time to create 1 rle with new method : 0.5041718482971191 time for calcul the mask position with numpy : 0.03521895408630371 nb_pixel_total : 130855 time to create 1 rle with old method : 0.1675715446472168 time for calcul the mask position with numpy : 0.039669036865234375 nb_pixel_total : 110993 time to create 1 rle with old method : 0.12702202796936035 time for calcul the mask position with numpy : 0.03471779823303223 nb_pixel_total : 7088 time to create 1 rle with old method : 0.008410215377807617 time for calcul the mask position with numpy : 0.034780025482177734 nb_pixel_total : 125147 time to create 1 rle with old method : 0.14610719680786133 time for calcul the mask position with numpy : 0.030394792556762695 nb_pixel_total : 24148 time to create 1 rle with old method : 0.02942037582397461 time for calcul the mask position with numpy : 0.027537822723388672 nb_pixel_total : 208639 time to create 1 rle with new method : 0.564208984375 time for calcul the mask position with numpy : 0.022567272186279297 nb_pixel_total : 9039 time to create 1 rle with old method : 0.010904788970947266 time for calcul the mask position with numpy : 0.02172374725341797 nb_pixel_total : 5364 time to create 1 rle with old method : 0.006181955337524414 time for calcul the mask position with numpy : 0.02482295036315918 nb_pixel_total : 31045 time to create 1 rle with old method : 0.03951263427734375 time for calcul the mask position with numpy : 0.024427175521850586 nb_pixel_total : 22442 time to create 1 rle with old method : 0.029088258743286133 time for calcul the mask position with numpy : 0.024678707122802734 nb_pixel_total : 108946 time to create 1 rle with old method : 0.13942480087280273 time for calcul the mask position with numpy : 0.02232670783996582 nb_pixel_total : 8756 time to create 1 rle with old method : 0.010310173034667969 create new chi : 2.851640462875366 time to delete rle : 0.019147396087646484 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 9575 TO DO : save crop sub photo not yet done ! save time : 0.5288312435150146 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 6.585557699203491 time for calcul the mask position with numpy : 0.5680739879608154 nb_pixel_total : 6913753 time to create 1 rle with new method : 0.579683780670166 time for calcul the mask position with numpy : 0.021815776824951172 nb_pixel_total : 37420 time to create 1 rle with old method : 0.04497337341308594 time for calcul the mask position with numpy : 0.02486443519592285 nb_pixel_total : 29536 time to create 1 rle with old method : 0.03353452682495117 time for calcul the mask position with numpy : 0.021881818771362305 nb_pixel_total : 50410 time to create 1 rle with old method : 0.06011462211608887 time for calcul the mask position with numpy : 0.021577835083007812 nb_pixel_total : 5569 time to create 1 rle with old method : 0.006761074066162109 time for calcul the mask position with numpy : 0.021155595779418945 nb_pixel_total : 2604 time to create 1 rle with old method : 0.0031931400299072266 time for calcul the mask position with numpy : 0.02191948890686035 nb_pixel_total : 2353 time to create 1 rle with old method : 0.0029010772705078125 time for calcul the mask position with numpy : 0.021703004837036133 nb_pixel_total : 1967 time to create 1 rle with old method : 0.0025577545166015625 time for calcul the mask position with numpy : 0.021819591522216797 nb_pixel_total : 6628 time to create 1 rle with old method : 0.007605075836181641 create new chi : 1.525252342224121 time to delete rle : 0.0006413459777832031 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 5746 TO DO : save crop sub photo not yet done ! save time : 0.3496544361114502 nb_obj : 15 nb_hashtags : 7 time to prepare the origin masks : 13.546759843826294 time for calcul the mask position with numpy : 1.8082163333892822 nb_pixel_total : 6489071 time to create 1 rle with new method : 1.0738916397094727 time for calcul the mask position with numpy : 0.033586978912353516 nb_pixel_total : 15054 time to create 1 rle with old method : 0.01830601692199707 time for calcul the mask position with numpy : 0.03388500213623047 nb_pixel_total : 27934 time to create 1 rle with old method : 0.03279924392700195 time for calcul the mask position with numpy : 0.03635883331298828 nb_pixel_total : 116610 time to create 1 rle with old method : 0.13232040405273438 time for calcul the mask position with numpy : 0.032904863357543945 nb_pixel_total : 1013 time to create 1 rle with old method : 0.0012516975402832031 time for calcul the mask position with numpy : 0.03286027908325195 nb_pixel_total : 1046 time to create 1 rle with old method : 0.001241922378540039 time for calcul the mask position with numpy : 0.03432202339172363 nb_pixel_total : 101749 time to create 1 rle with old method : 0.14028072357177734 time for calcul the mask position with numpy : 0.03443431854248047 nb_pixel_total : 3294 time to create 1 rle with old method : 0.0038385391235351562 time for calcul the mask position with numpy : 0.03378701210021973 nb_pixel_total : 33023 time to create 1 rle with old method : 0.03740072250366211 time for calcul the mask position with numpy : 0.021882295608520508 nb_pixel_total : 1521 time to create 1 rle with old method : 0.0018782615661621094 time for calcul the mask position with numpy : 0.021327972412109375 nb_pixel_total : 27022 time to create 1 rle with old method : 0.03216814994812012 time for calcul the mask position with numpy : 0.021809816360473633 nb_pixel_total : 2668 time to create 1 rle with old method : 0.0033407211303710938 time for calcul the mask position with numpy : 0.022942066192626953 nb_pixel_total : 80544 time to create 1 rle with old method : 0.0938715934753418 time for calcul the mask position with numpy : 0.022028446197509766 nb_pixel_total : 45042 time to create 1 rle with old method : 0.055023908615112305 time for calcul the mask position with numpy : 0.023359298706054688 nb_pixel_total : 51820 time to create 1 rle with old method : 0.058959007263183594 time for calcul the mask position with numpy : 0.024349451065063477 nb_pixel_total : 52829 time to create 1 rle with old method : 0.060925960540771484 create new chi : 4.0227038860321045 time to delete rle : 0.0009539127349853516 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 10098 TO DO : save crop sub photo not yet done ! save time : 0.5919363498687744 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 8.846715688705444 time for calcul the mask position with numpy : 0.8631002902984619 nb_pixel_total : 6489039 time to create 1 rle with new method : 1.7947068214416504 time for calcul the mask position with numpy : 0.03221011161804199 nb_pixel_total : 204862 time to create 1 rle with new method : 1.2614548206329346 time for calcul the mask position with numpy : 0.029866456985473633 nb_pixel_total : 165871 time to create 1 rle with new method : 1.1627824306488037 time for calcul the mask position with numpy : 0.022553205490112305 nb_pixel_total : 108 time to create 1 rle with old method : 0.00044274330139160156 time for calcul the mask position with numpy : 0.022148847579956055 nb_pixel_total : 45350 time to create 1 rle with old method : 0.053948163986206055 time for calcul the mask position with numpy : 0.023874521255493164 nb_pixel_total : 53311 time to create 1 rle with old method : 0.08266258239746094 time for calcul the mask position with numpy : 0.025241851806640625 nb_pixel_total : 38862 time to create 1 rle with old method : 0.04725217819213867 time for calcul the mask position with numpy : 0.021135568618774414 nb_pixel_total : 19730 time to create 1 rle with old method : 0.025295019149780273 time for calcul the mask position with numpy : 0.03674793243408203 nb_pixel_total : 33107 time to create 1 rle with old method : 0.03909158706665039 create new chi : 5.643280506134033 time to delete rle : 0.0007088184356689453 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 6398 TO DO : save crop sub photo not yet done ! save time : 0.541881799697876 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 9.648810625076294 time for calcul the mask position with numpy : 0.5841548442840576 nb_pixel_total : 6908314 time to create 1 rle with new method : 1.022597074508667 time for calcul the mask position with numpy : 0.02205824851989746 nb_pixel_total : 5941 time to create 1 rle with old method : 0.006920576095581055 time for calcul the mask position with numpy : 0.03566288948059082 nb_pixel_total : 58589 time to create 1 rle with old method : 0.07402896881103516 time for calcul the mask position with numpy : 0.04027414321899414 nb_pixel_total : 8022 time to create 1 rle with old method : 0.011575460433959961 time for calcul the mask position with numpy : 0.0460047721862793 nb_pixel_total : 4043 time to create 1 rle with old method : 0.005059719085693359 time for calcul the mask position with numpy : 0.03560614585876465 nb_pixel_total : 3434 time to create 1 rle with old method : 0.0041429996490478516 time for calcul the mask position with numpy : 0.02785634994506836 nb_pixel_total : 37687 time to create 1 rle with old method : 0.04564929008483887 time for calcul the mask position with numpy : 0.021249055862426758 nb_pixel_total : 3259 time to create 1 rle with old method : 0.004017829895019531 time for calcul the mask position with numpy : 0.02301192283630371 nb_pixel_total : 20951 time to create 1 rle with old method : 0.0262451171875 create new chi : 2.0794999599456787 time to delete rle : 0.00045299530029296875 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 4550 TO DO : save crop sub photo not yet done ! save time : 0.3651394844055176 nb_obj : 17 nb_hashtags : 6 time to prepare the origin masks : 15.79004955291748 time for calcul the mask position with numpy : 0.4897606372833252 nb_pixel_total : 5129996 time to create 1 rle with new method : 0.6685407161712646 time for calcul the mask position with numpy : 0.04300856590270996 nb_pixel_total : 48482 time to create 1 rle with old method : 0.0626676082611084 time for calcul the mask position with numpy : 0.03613686561584473 nb_pixel_total : 2893 time to create 1 rle with old method : 0.0038480758666992188 time for calcul the mask position with numpy : 0.03545427322387695 nb_pixel_total : 1347 time to create 1 rle with old method : 0.0017430782318115234 time for calcul the mask position with numpy : 0.036078453063964844 nb_pixel_total : 27769 time to create 1 rle with old method : 0.03351092338562012 time for calcul the mask position with numpy : 0.0352625846862793 nb_pixel_total : 1597 time to create 1 rle with old method : 0.0020105838775634766 time for calcul the mask position with numpy : 0.03578329086303711 nb_pixel_total : 481 time to create 1 rle with old method : 0.000698089599609375 time for calcul the mask position with numpy : 0.03783154487609863 nb_pixel_total : 7765 time to create 1 rle with old method : 0.009490013122558594 time for calcul the mask position with numpy : 0.051817893981933594 nb_pixel_total : 51494 time to create 1 rle with old method : 0.07764697074890137 time for calcul the mask position with numpy : 0.039780378341674805 nb_pixel_total : 9266 time to create 1 rle with old method : 0.012013435363769531 time for calcul the mask position with numpy : 0.04636526107788086 nb_pixel_total : 199926 time to create 1 rle with new method : 0.6441943645477295 time for calcul the mask position with numpy : 0.04602336883544922 nb_pixel_total : 195561 time to create 1 rle with new method : 0.44302845001220703 time for calcul the mask position with numpy : 0.0408625602722168 nb_pixel_total : 2110 time to create 1 rle with old method : 0.0026578903198242188 time for calcul the mask position with numpy : 0.04713797569274902 nb_pixel_total : 1062877 time to create 1 rle with new method : 0.5574400424957275 time for calcul the mask position with numpy : 0.03593945503234863 nb_pixel_total : 107943 time to create 1 rle with old method : 0.13552069664001465 time for calcul the mask position with numpy : 0.03245353698730469 nb_pixel_total : 62591 time to create 1 rle with old method : 0.06977963447570801 time for calcul the mask position with numpy : 0.03258085250854492 nb_pixel_total : 104135 time to create 1 rle with old method : 0.12133240699768066 time for calcul the mask position with numpy : 0.02814030647277832 nb_pixel_total : 34007 time to create 1 rle with old method : 0.03988385200500488 create new chi : 4.1469407081604 time to delete rle : 0.0012402534484863281 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 13029 TO DO : save crop sub photo not yet done ! save time : 0.799663782119751 nb_obj : 7 nb_hashtags : 1 time to prepare the origin masks : 7.644090175628662 time for calcul the mask position with numpy : 0.19728302955627441 nb_pixel_total : 3955693 time to create 1 rle with new method : 1.0920350551605225 time for calcul the mask position with numpy : 0.03411436080932617 nb_pixel_total : 1222 time to create 1 rle with old method : 0.0018966197967529297 time for calcul the mask position with numpy : 0.035143375396728516 nb_pixel_total : 365172 time to create 1 rle with new method : 0.7855043411254883 time for calcul the mask position with numpy : 0.040404558181762695 nb_pixel_total : 84776 time to create 1 rle with old method : 0.09257936477661133 time for calcul the mask position with numpy : 0.040416717529296875 nb_pixel_total : 21617 time to create 1 rle with old method : 0.02556324005126953 time for calcul the mask position with numpy : 0.10013747215270996 nb_pixel_total : 484573 time to create 1 rle with new method : 1.1290812492370605 time for calcul the mask position with numpy : 0.04363536834716797 nb_pixel_total : 2724 time to create 1 rle with old method : 0.0032052993774414062 time for calcul the mask position with numpy : 0.06919479370117188 nb_pixel_total : 2134463 time to create 1 rle with new method : 0.7465384006500244 create new chi : 4.561410903930664 time to delete rle : 0.002157449722290039 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 15763 TO DO : save crop sub photo not yet done ! save time : 1.1125578880310059 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 15.01994252204895 time for calcul the mask position with numpy : 0.29413580894470215 nb_pixel_total : 5895698 time to create 1 rle with new method : 0.9363462924957275 time for calcul the mask position with numpy : 0.03336477279663086 nb_pixel_total : 4566 time to create 1 rle with old method : 0.005556344985961914 time for calcul the mask position with numpy : 0.03494882583618164 nb_pixel_total : 74759 time to create 1 rle with old method : 0.09019279479980469 time for calcul the mask position with numpy : 0.03343510627746582 nb_pixel_total : 4597 time to create 1 rle with old method : 0.005681037902832031 time for calcul the mask position with numpy : 0.032643795013427734 nb_pixel_total : 25443 time to create 1 rle with old method : 0.030884265899658203 time for calcul the mask position with numpy : 0.027367830276489258 nb_pixel_total : 5564 time to create 1 rle with old method : 0.0067882537841796875 time for calcul the mask position with numpy : 0.022461652755737305 nb_pixel_total : 49844 time to create 1 rle with old method : 0.058588504791259766 time for calcul the mask position with numpy : 0.02317643165588379 nb_pixel_total : 143819 time to create 1 rle with old method : 0.16644620895385742 time for calcul the mask position with numpy : 0.024205446243286133 nb_pixel_total : 4509 time to create 1 rle with old method : 0.0060787200927734375 time for calcul the mask position with numpy : 0.03010845184326172 nb_pixel_total : 8410 time to create 1 rle with old method : 0.016161680221557617 time for calcul the mask position with numpy : 0.032822370529174805 nb_pixel_total : 29765 time to create 1 rle with old method : 0.05081319808959961 time for calcul the mask position with numpy : 0.027150392532348633 nb_pixel_total : 20737 time to create 1 rle with old method : 0.029301881790161133 time for calcul the mask position with numpy : 0.027480602264404297 nb_pixel_total : 422304 time to create 1 rle with new method : 0.35539889335632324 time for calcul the mask position with numpy : 0.02442789077758789 nb_pixel_total : 157569 time to create 1 rle with new method : 0.6129553318023682 time for calcul the mask position with numpy : 0.02215743064880371 nb_pixel_total : 17038 time to create 1 rle with old method : 0.019321918487548828 time for calcul the mask position with numpy : 0.02165818214416504 nb_pixel_total : 58486 time to create 1 rle with old method : 0.06951785087585449 time for calcul the mask position with numpy : 0.021767377853393555 nb_pixel_total : 1713 time to create 1 rle with old method : 0.0020716190338134766 time for calcul the mask position with numpy : 0.022805452346801758 nb_pixel_total : 125419 time to create 1 rle with old method : 0.1513688564300537 create new chi : 3.4551427364349365 time to delete rle : 0.0018329620361328125 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 13962 TO DO : save crop sub photo not yet done ! save time : 0.7678050994873047 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 8.330528974533081 time for calcul the mask position with numpy : 0.4592435359954834 nb_pixel_total : 6314555 time to create 1 rle with new method : 0.6524767875671387 time for calcul the mask position with numpy : 0.02210235595703125 nb_pixel_total : 95536 time to create 1 rle with old method : 0.11097073554992676 time for calcul the mask position with numpy : 0.03853654861450195 nb_pixel_total : 127003 time to create 1 rle with old method : 0.14599895477294922 time for calcul the mask position with numpy : 0.03469657897949219 nb_pixel_total : 33722 time to create 1 rle with old method : 0.03923392295837402 time for calcul the mask position with numpy : 0.034819841384887695 nb_pixel_total : 155213 time to create 1 rle with new method : 0.475574254989624 time for calcul the mask position with numpy : 0.029419898986816406 nb_pixel_total : 57041 time to create 1 rle with old method : 0.06844234466552734 time for calcul the mask position with numpy : 0.02733159065246582 nb_pixel_total : 118635 time to create 1 rle with old method : 0.14277338981628418 time for calcul the mask position with numpy : 0.02084517478942871 nb_pixel_total : 129597 time to create 1 rle with old method : 0.14712738990783691 time for calcul the mask position with numpy : 0.02075815200805664 nb_pixel_total : 8139 time to create 1 rle with old method : 0.009271621704101562 time for calcul the mask position with numpy : 0.01997208595275879 nb_pixel_total : 10799 time to create 1 rle with old method : 0.013157129287719727 create new chi : 2.5735695362091064 time to delete rle : 0.000858306884765625 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 9371 TO DO : save crop sub photo not yet done ! save time : 2.1935527324676514 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 7.437774181365967 time for calcul the mask position with numpy : 0.7622246742248535 nb_pixel_total : 6590176 time to create 1 rle with new method : 0.5491490364074707 time for calcul the mask position with numpy : 0.02391672134399414 nb_pixel_total : 22698 time to create 1 rle with old method : 0.028672456741333008 time for calcul the mask position with numpy : 0.02164173126220703 nb_pixel_total : 94876 time to create 1 rle with old method : 0.10985994338989258 time for calcul the mask position with numpy : 0.02147364616394043 nb_pixel_total : 56030 time to create 1 rle with old method : 0.06270694732666016 time for calcul the mask position with numpy : 0.019872665405273438 nb_pixel_total : 12216 time to create 1 rle with old method : 0.014054536819458008 time for calcul the mask position with numpy : 0.02026224136352539 nb_pixel_total : 6274 time to create 1 rle with old method : 0.0076215267181396484 time for calcul the mask position with numpy : 0.021021604537963867 nb_pixel_total : 5189 time to create 1 rle with old method : 0.008584260940551758 time for calcul the mask position with numpy : 0.02329254150390625 nb_pixel_total : 1882 time to create 1 rle with old method : 0.003117084503173828 time for calcul the mask position with numpy : 0.029699325561523438 nb_pixel_total : 46462 time to create 1 rle with old method : 0.05487537384033203 time for calcul the mask position with numpy : 0.03399062156677246 nb_pixel_total : 8698 time to create 1 rle with old method : 0.010457515716552734 time for calcul the mask position with numpy : 0.033359527587890625 nb_pixel_total : 22854 time to create 1 rle with old method : 0.026590347290039062 time for calcul the mask position with numpy : 0.03339958190917969 nb_pixel_total : 5914 time to create 1 rle with old method : 0.007196664810180664 time for calcul the mask position with numpy : 0.03577685356140137 nb_pixel_total : 24434 time to create 1 rle with old method : 0.029615163803100586 time for calcul the mask position with numpy : 0.037918806076049805 nb_pixel_total : 152537 time to create 1 rle with new method : 0.747103214263916 create new chi : 2.8447816371917725 time to delete rle : 0.0012385845184326172 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 7939 TO DO : save crop sub photo not yet done ! save time : 0.7069284915924072 map_output_result : {1339341854: (0.0, 'Should be the crop_list due to order', 0), 1339341853: (0.0, 'Should be the crop_list due to order', 0), 1339341852: (0.0, 'Should be the crop_list due to order', 0), 1339341851: (0.0, 'Should be the crop_list due to order', 0), 1339341849: (0.0, 'Should be the crop_list due to order', 0), 1339341847: (0.0, 'Should be the crop_list due to order', 0), 1339341829: (0.0, 'Should be the crop_list due to order', 0), 1339341827: (0.0, 'Should be the crop_list due to order', 0), 1339341826: (0.0, 'Should be the crop_list due to order', 0), 1339341825: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] Looping around the photos to save general results len do output : 10 /1339341854.Didn't retrieve data . /1339341853.Didn't retrieve data . /1339341852.Didn't retrieve data . /1339341851.Didn't retrieve data . /1339341849.Didn't retrieve data . /1339341847.Didn't retrieve data . /1339341829.Didn't retrieve data . /1339341827.Didn't retrieve data . /1339341826.Didn't retrieve data . /1339341825.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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014277935028076172 save_final save missing photos in datou_result : time spend for datou_step_exec : 144.78680443763733 time spend to save output : 0.014902114868164062 total time spend for step 5 : 144.8017065525055 step6:crop_condition Mon Feb 24 22:26:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 124 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! 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/1740432396_2350662 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2551777362823486 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! 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/1740432399_2350662 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9229927062988281 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 ! 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/1740432403_2350662 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.731473684310913 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 ! 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/1740432406_2350662 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.292938232421875 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 ! 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/1740432410_2350662 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.3874597549438477 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 ! 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/1740432415_2350662 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 5.467348337173462 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 [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] Looping around the photos to save general results len do output : 22 /1339423198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423304Didn'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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 76 time used for this insertion : 0.025929927825927734 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.886648893356323 time spend to save output : 0.02675032615661621 total time spend for step 6 : 26.91339921951294 step7:ventilate_hashtags_in_portfolio Mon Feb 24 22:27:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 20782993 get user id for portfolio 20782993 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`=20782993 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','metal','autre_refus','Carton_gris','kraft','cartonnette','plastique','Carton_brun','environnement','mal_croppe','Teint_Dans_La_Masse')) 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`=20782993 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','metal','autre_refus','Carton_gris','kraft','cartonnette','plastique','Carton_brun','environnement','mal_croppe','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20783122,20783123,20783124,20783125,20783126,20783127,20783128,20783129,20783130,20783131,20783132,20783133?tags=Carton_gris,Teint_Dans_La_Masse,kraft,mal_croppe,environnement,autre_refus,Carton_brun,plastique,flou,cartonnette,metal,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] Looping around the photos to save general results len do output : 1 /20782993. 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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015838146209716797 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3760194778442383 time spend to save output : 0.01610565185546875 total time spend for step 7 : 1.392125129699707 step8:final Mon Feb 24 22:27:02 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 : {1339341854: ('0.06459912570909143',), 1339341853: ('0.06459912570909143',), 1339341852: ('0.06459912570909143',), 1339341851: ('0.06459912570909143',), 1339341849: ('0.06459912570909143',), 1339341847: ('0.06459912570909143',), 1339341829: ('0.06459912570909143',), 1339341827: ('0.06459912570909143',), 1339341826: ('0.06459912570909143',), 1339341825: ('0.06459912570909143',)} new output for save of step final : {1339341854: ('0.06459912570909143',), 1339341853: ('0.06459912570909143',), 1339341852: ('0.06459912570909143',), 1339341851: ('0.06459912570909143',), 1339341849: ('0.06459912570909143',), 1339341847: ('0.06459912570909143',), 1339341829: ('0.06459912570909143',), 1339341827: ('0.06459912570909143',), 1339341826: ('0.06459912570909143',), 1339341825: ('0.06459912570909143',)} [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] Looping around the photos to save general results len do output : 10 /1339341854.Didn't retrieve data . /1339341853.Didn't retrieve data . /1339341852.Didn't retrieve data . /1339341851.Didn't retrieve data . /1339341849.Didn't retrieve data . /1339341847.Didn't retrieve data . /1339341829.Didn't retrieve data . /1339341827.Didn't retrieve data . /1339341826.Didn't retrieve data . /1339341825.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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015160799026489258 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09898042678833008 time spend to save output : 0.01572561264038086 total time spend for step 8 : 0.11470603942871094 step9:velours_tree Mon Feb 24 22:27:02 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.06638860702514648 time spend to save output : 5.9604644775390625e-05 total time spend for step 9 : 0.06644821166992188 step10:send_mail_cod Mon Feb 24 22:27:02 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_P20782993_24-02-2025_22_27_02.pdf 20783124 change filename to text .imagette207831241740432422 20783125 imagette207831251740432422 20783127 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 .imagette207831271740432422 20783129 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 .imagette207831291740432423 20783130 imagette207831301740432423 20783131 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207831311740432423 20783132 imagette207831321740432424 20783122 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 .imagette207831221740432424 20783123 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 .imagette207831231740432425 20783128 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 .imagette207831281740432425 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20782993 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20783122,20783123,20783124,20783125,20783126,20783127,20783128,20783129,20783130,20783131,20783132,20783133?tags=Carton_gris,Teint_Dans_La_Masse,kraft,mal_croppe,environnement,autre_refus,Carton_brun,plastique,flou,cartonnette,metal,papier your option no_mail is active, we will not send the real mail to your client args[1339341854] : ('0.06459912570909143',) no score found for photo 1339341854 We are sending mail with results at report@fotonower.com args[1339341853] : ('0.06459912570909143',) no score found for photo 1339341853 We are sending mail with results at report@fotonower.com args[1339341852] : ('0.06459912570909143',) no score found for photo 1339341852 We are sending mail with results at report@fotonower.com args[1339341851] : ('0.06459912570909143',) no score found for photo 1339341851 We are sending mail with results at report@fotonower.com args[1339341849] : ('0.06459912570909143',) no score found for photo 1339341849 We are sending mail with results at report@fotonower.com args[1339341847] : ('0.06459912570909143',) no score found for photo 1339341847 We are sending mail with results at report@fotonower.com args[1339341829] : ('0.06459912570909143',) no score found for photo 1339341829 We are sending mail with results at report@fotonower.com args[1339341827] : ('0.06459912570909143',) no score found for photo 1339341827 We are sending mail with results at report@fotonower.com args[1339341826] : ('0.06459912570909143',) no score found for photo 1339341826 We are sending mail with results at report@fotonower.com args[1339341825] : ('0.06459912570909143',) no score found for photo 1339341825 We are sending mail with results at report@fotonower.com refus_total : 0.06459912570909143 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=20782993 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339341854,1339346898,1339346895,1339346852,1339341887,1339341886,1339341880,1339341874,1339341853,1339341852,1339341851,1339341847,1339341827,1339341826,1339341825,1339341849,1339341778,1339341829,1339346850,1339346851) Found this number of photos: 20 begin to download photo : 1339341854 begin to download photo : 1339341886 begin to download photo : 1339341851 begin to download photo : 1339341849 download finish for photo 1339341849 begin to download photo : 1339341778 download finish for photo 1339341854 begin to download photo : 1339346898 download finish for photo 1339341886 begin to download photo : 1339341880 download finish for photo 1339341851 begin to download photo : 1339341847 download finish for photo 1339346898 begin to download photo : 1339346895 download finish for photo 1339341880 begin to download photo : 1339341874 download finish for photo 1339341847 begin to download photo : 1339341827 download finish for photo 1339341778 begin to download photo : 1339341829 download finish for photo 1339346895 begin to download photo : 1339346852 download finish for photo 1339341827 begin to download photo : 1339341826 download finish for photo 1339341829 begin to download photo : 1339346850 download finish for photo 1339341874 begin to download photo : 1339341853 download finish for photo 1339346852 begin to download photo : 1339341887 download finish for photo 1339346850 begin to download photo : 1339346851 download finish for photo 1339341826 begin to download photo : 1339341825 download finish for photo 1339341853 begin to download photo : 1339341852 download finish for photo 1339341887 download finish for photo 1339346851 download finish for photo 1339341852 download finish for photo 1339341825 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_27_02.pdf results_Auto_P20782993_24-02-2025_22_27_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_27_02.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','20782993','results_Auto_P20782993_24-02-2025_22_27_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_27_02.pdf','pdf','','1.02','0.06459912570909143') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] 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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.021589040756225586 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.969710350036621 time spend to save output : 0.021914243698120117 total time spend for step 10 : 7.991624593734741 step11:split_time_score Mon Feb 24 22:27:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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'}] (('13', 21),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24022025 20782993 Nombre de photos uploadées : 21 / 23040 (0%) 24022025 20782993 Nombre de photos taguées (types de déchets): 0 / 21 (0%) 24022025 20782993 Nombre de photos taguées (volume) : 0 / 21 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.52587890625e-05 ????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012257099151611328 elapsed_time : insert_dashboard_record_day_entry 0.0359952449798584 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 = 20782976 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782977 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782978 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782979 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782980 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782981 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782982 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782983 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782984 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782985 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782986 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782987 order by id desc limit 1 Qualite : 0.12499677790385096 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782988_24-02-2025_22_23_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782988 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 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 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 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 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 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 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`=20782988 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782989 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782990 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782991 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782992 order by id desc limit 1 Qualite : 0.08146381333007933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_27_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782993 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`=20782993 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782994 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782995 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782996 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782997 order by id desc limit 1 Qualite : 0.048543972049013485 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782998_24-02-2025_22_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782998 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`=20782998 AND mptpi.`type`=4207 To do Qualite : 0.010130825529190729 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782999 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`=20782999 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783000 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783001 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783002 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783003 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783004 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783005 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783006 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783007 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783008 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783009 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783010 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783011 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783012 order by id desc limit 1 Qualite : 0.052401843008330756 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783013_24-02-2025_22_23_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783013 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`=20783013 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783014 order by id desc limit 1 Qualite : 0.056568829757248966 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783015_24-02-2025_22_24_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783015 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`=20783015 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24022025': {'nb_upload': 21, '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 [1339341854, 1339341853, 1339341852, 1339341851, 1339341849, 1339341847, 1339341829, 1339341827, 1339341826, 1339341825] Looping around the photos to save general results len do output : 1 /20782993Didn'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, '2610884') ('3459', None, '1339341854', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341849', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341847', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341829', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341827', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341826', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', None, '1339341825', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01588726043701172 save_final save missing photos in datou_result : time spend for datou_step_exec : 27.285208225250244 time spend to save output : 0.016153573989868164 total time spend for step 11 : 27.301361799240112 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 111.88user 154.66system 5:14.40elapsed 84%CPU (0avgtext+0avgdata 4022856maxresident)k 630624inputs+122424outputs (13236major+11309690minor)pagefaults 0swaps