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 : 2875443 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 : 30>10 please execute split_portfolio.py -i 20879062 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2619500'] with mtr_portfolio_ids : ['20879062'] and first list_photo_ids : [] new path : /proc/2875443/ 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.1708054542541504 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Thu Feb 27 09:18:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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-27 09:18:32.189423: 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-27 09:18:32.215112: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-27 09:18:32.216675: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f040c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-27 09:18:32.216728: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-27 09:18:32.219498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-27 09:18:32.455850: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xa0a12a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-27 09:18:32.455916: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-27 09:18:32.457518: 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-27 09:18:32.457968: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 09:18:32.460827: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 09:18:32.463422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 09:18:32.463801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 09:18:32.466657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 09:18:32.467991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 09:18:32.473234: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 09:18:32.474698: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 09:18:32.474783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 09:18:32.475588: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-27 09:18:32.475606: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-27 09:18:32.475615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-27 09:18:32.476964: 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-27 09:18:32.810597: 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-27 09:18:32.810768: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 09:18:32.810810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 09:18:32.810847: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 09:18:32.810881: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 09:18:32.810936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 09:18:32.810970: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 09:18:32.811005: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 09:18:32.812940: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 09:18:32.814948: 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-27 09:18:32.815042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 09:18:32.815076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 09:18:32.815107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 09:18:32.815133: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 09:18:32.815161: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 09:18:32.815189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 09:18:32.815217: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 09:18:32.816922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 09:18:32.816978: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-27 09:18:32.816993: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-27 09:18:32.817005: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-27 09:18:32.818564: 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-27 09:18:41.746096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 09:18:41.997607: 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: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 9 Detection mask done ! Trying to reset tf kernel 2875827 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.00031948089599609375 nb_pixel_total : 13637 time to create 1 rle with old method : 0.015730857849121094 length of segment : 127 time for calcul the mask position with numpy : 0.0001609325408935547 nb_pixel_total : 10608 time to create 1 rle with old method : 0.011564970016479492 length of segment : 102 time for calcul the mask position with numpy : 0.002607583999633789 nb_pixel_total : 168411 time to create 1 rle with new method : 0.00665593147277832 length of segment : 458 time for calcul the mask position with numpy : 0.004925727844238281 nb_pixel_total : 295182 time to create 1 rle with new method : 0.018726348876953125 length of segment : 1343 time for calcul the mask position with numpy : 0.00044918060302734375 nb_pixel_total : 25742 time to create 1 rle with old method : 0.02949213981628418 length of segment : 201 time for calcul the mask position with numpy : 0.0002963542938232422 nb_pixel_total : 4246 time to create 1 rle with old method : 0.0053822994232177734 length of segment : 163 time for calcul the mask position with numpy : 0.0002541542053222656 nb_pixel_total : 14440 time to create 1 rle with old method : 0.01625847816467285 length of segment : 300 time for calcul the mask position with numpy : 0.0003561973571777344 nb_pixel_total : 7531 time to create 1 rle with old method : 0.00882720947265625 length of segment : 180 time for calcul the mask position with numpy : 0.00012731552124023438 nb_pixel_total : 4337 time to create 1 rle with old method : 0.006682872772216797 length of segment : 61 time for calcul the mask position with numpy : 0.0008976459503173828 nb_pixel_total : 62572 time to create 1 rle with old method : 0.07353353500366211 length of segment : 363 time for calcul the mask position with numpy : 0.00023055076599121094 nb_pixel_total : 13314 time to create 1 rle with old method : 0.01633906364440918 length of segment : 113 time for calcul the mask position with numpy : 0.0004820823669433594 nb_pixel_total : 26368 time to create 1 rle with old method : 0.03229975700378418 length of segment : 258 time for calcul the mask position with numpy : 0.011299610137939453 nb_pixel_total : 790672 time to create 1 rle with new method : 0.03847980499267578 length of segment : 1140 time for calcul the mask position with numpy : 0.0010616779327392578 nb_pixel_total : 83472 time to create 1 rle with old method : 0.09126949310302734 length of segment : 650 time for calcul the mask position with numpy : 0.0003590583801269531 nb_pixel_total : 18977 time to create 1 rle with old method : 0.02073216438293457 length of segment : 398 time for calcul the mask position with numpy : 0.0009982585906982422 nb_pixel_total : 50818 time to create 1 rle with old method : 0.08339238166809082 length of segment : 514 time for calcul the mask position with numpy : 0.0003714561462402344 nb_pixel_total : 24553 time to create 1 rle with old method : 0.027625322341918945 length of segment : 288 time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 7666 time to create 1 rle with old method : 0.0089263916015625 length of segment : 64 time for calcul the mask position with numpy : 0.0012383460998535156 nb_pixel_total : 58446 time to create 1 rle with old method : 0.06644010543823242 length of segment : 288 time for calcul the mask position with numpy : 0.005702972412109375 nb_pixel_total : 276958 time to create 1 rle with new method : 0.009671926498413086 length of segment : 940 time for calcul the mask position with numpy : 0.0002536773681640625 nb_pixel_total : 9085 time to create 1 rle with old method : 0.010457992553710938 length of segment : 129 time for calcul the mask position with numpy : 0.0031299591064453125 nb_pixel_total : 212792 time to create 1 rle with new method : 0.009055614471435547 length of segment : 1353 time for calcul the mask position with numpy : 0.0005826950073242188 nb_pixel_total : 16024 time to create 1 rle with old method : 0.017646074295043945 length of segment : 276 time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 948 time to create 1 rle with old method : 0.0011603832244873047 length of segment : 39 time for calcul the mask position with numpy : 0.014177322387695312 nb_pixel_total : 1033577 time to create 1 rle with new method : 0.31781744956970215 length of segment : 1064 time for calcul the mask position with numpy : 0.0001971721649169922 nb_pixel_total : 11571 time to create 1 rle with old method : 0.015136003494262695 length of segment : 93 time for calcul the mask position with numpy : 0.001878499984741211 nb_pixel_total : 100771 time to create 1 rle with old method : 0.11258053779602051 length of segment : 527 time for calcul the mask position with numpy : 0.00011873245239257812 nb_pixel_total : 2447 time to create 1 rle with old method : 0.003032684326171875 length of segment : 62 time for calcul the mask position with numpy : 8.749961853027344e-05 nb_pixel_total : 2990 time to create 1 rle with old method : 0.003770112991333008 length of segment : 77 time for calcul the mask position with numpy : 0.010095596313476562 nb_pixel_total : 657182 time to create 1 rle with new method : 0.02781391143798828 length of segment : 1316 time for calcul the mask position with numpy : 0.00025844573974609375 nb_pixel_total : 6610 time to create 1 rle with old method : 0.007843017578125 length of segment : 170 time for calcul the mask position with numpy : 0.0003688335418701172 nb_pixel_total : 21788 time to create 1 rle with old method : 0.026710987091064453 length of segment : 172 time for calcul the mask position with numpy : 5.1021575927734375e-05 nb_pixel_total : 463 time to create 1 rle with old method : 0.0006768703460693359 length of segment : 38 time for calcul the mask position with numpy : 6.0558319091796875e-05 nb_pixel_total : 1487 time to create 1 rle with old method : 0.0019884109497070312 length of segment : 69 time for calcul the mask position with numpy : 0.00021886825561523438 nb_pixel_total : 8004 time to create 1 rle with old method : 0.009410619735717773 length of segment : 187 time for calcul the mask position with numpy : 0.0016579627990722656 nb_pixel_total : 63806 time to create 1 rle with old method : 0.07659053802490234 length of segment : 1231 time for calcul the mask position with numpy : 0.015139341354370117 nb_pixel_total : 1027989 time to create 1 rle with new method : 0.06083488464355469 length of segment : 2174 time for calcul the mask position with numpy : 0.0031807422637939453 nb_pixel_total : 211076 time to create 1 rle with new method : 0.009424924850463867 length of segment : 1104 time for calcul the mask position with numpy : 0.0014810562133789062 nb_pixel_total : 139270 time to create 1 rle with old method : 0.1546027660369873 length of segment : 420 time for calcul the mask position with numpy : 0.004477977752685547 nb_pixel_total : 292665 time to create 1 rle with new method : 0.009167194366455078 length of segment : 904 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 2158 time to create 1 rle with old method : 0.002470254898071289 length of segment : 98 time for calcul the mask position with numpy : 0.00020837783813476562 nb_pixel_total : 7368 time to create 1 rle with old method : 0.008501291275024414 length of segment : 84 time for calcul the mask position with numpy : 0.007853269577026367 nb_pixel_total : 419156 time to create 1 rle with new method : 0.01702880859375 length of segment : 1714 time for calcul the mask position with numpy : 0.0002689361572265625 nb_pixel_total : 8383 time to create 1 rle with old method : 0.009428739547729492 length of segment : 165 time for calcul the mask position with numpy : 0.0001633167266845703 nb_pixel_total : 11329 time to create 1 rle with old method : 0.012375593185424805 length of segment : 135 time for calcul the mask position with numpy : 0.0002281665802001953 nb_pixel_total : 6860 time to create 1 rle with old method : 0.007707834243774414 length of segment : 105 time for calcul the mask position with numpy : 0.0007505416870117188 nb_pixel_total : 34620 time to create 1 rle with old method : 0.03730487823486328 length of segment : 267 time for calcul the mask position with numpy : 0.00023651123046875 nb_pixel_total : 15156 time to create 1 rle with old method : 0.017458200454711914 length of segment : 126 time for calcul the mask position with numpy : 0.0075531005859375 nb_pixel_total : 397366 time to create 1 rle with new method : 0.015877246856689453 length of segment : 1082 time for calcul the mask position with numpy : 0.0015411376953125 nb_pixel_total : 92733 time to create 1 rle with old method : 0.0982658863067627 length of segment : 472 time for calcul the mask position with numpy : 0.0002777576446533203 nb_pixel_total : 13603 time to create 1 rle with old method : 0.018109560012817383 length of segment : 77 time for calcul the mask position with numpy : 0.0003657341003417969 nb_pixel_total : 20214 time to create 1 rle with old method : 0.022151708602905273 length of segment : 145 time for calcul the mask position with numpy : 0.0006697177886962891 nb_pixel_total : 43050 time to create 1 rle with old method : 0.047731876373291016 length of segment : 310 time for calcul the mask position with numpy : 0.0034830570220947266 nb_pixel_total : 200941 time to create 1 rle with new method : 0.005734920501708984 length of segment : 624 time for calcul the mask position with numpy : 0.012067794799804688 nb_pixel_total : 626604 time to create 1 rle with new method : 0.04606318473815918 length of segment : 1539 time for calcul the mask position with numpy : 0.0015454292297363281 nb_pixel_total : 68330 time to create 1 rle with old method : 0.07631492614746094 length of segment : 693 time for calcul the mask position with numpy : 0.00034618377685546875 nb_pixel_total : 9993 time to create 1 rle with old method : 0.01179051399230957 length of segment : 111 time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 2487 time to create 1 rle with old method : 0.002826690673828125 length of segment : 94 time for calcul the mask position with numpy : 0.006707668304443359 nb_pixel_total : 278136 time to create 1 rle with new method : 0.013661623001098633 length of segment : 1605 time for calcul the mask position with numpy : 0.015229463577270508 nb_pixel_total : 1114769 time to create 1 rle with new method : 0.3857088088989258 length of segment : 1807 time for calcul the mask position with numpy : 0.001209259033203125 nb_pixel_total : 96914 time to create 1 rle with old method : 0.10544371604919434 length of segment : 673 time for calcul the mask position with numpy : 0.00042748451232910156 nb_pixel_total : 31093 time to create 1 rle with old method : 0.035556793212890625 length of segment : 183 time for calcul the mask position with numpy : 0.000102996826171875 nb_pixel_total : 4444 time to create 1 rle with old method : 0.005359649658203125 length of segment : 98 time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 10767 time to create 1 rle with old method : 0.012828826904296875 length of segment : 105 time for calcul the mask position with numpy : 0.0036356449127197266 nb_pixel_total : 302213 time to create 1 rle with new method : 0.00900125503540039 length of segment : 912 time spent for convertir_results : 7.125741004943848 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 65 chid ids of type : 3663 Number RLEs to save : 32580 save missing photos in datou_result : time spend for datou_step_exec : 30.995235443115234 time spend to save output : 4.3060338497161865 total time spend for step 1 : 35.30126929283142 step2:crop_condition Thu Feb 27 09:19:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 65 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 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 ! 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 : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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 [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] Looping around the photos to save general results len do output : 23 /-3688495323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495335Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688495383Didn'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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 79 time used for this insertion : 0.02126598358154297 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.59390664100647 time spend to save output : 0.022537946701049805 total time spend for step 2 : 5.6164445877075195 step3:thcl Thu Feb 27 09:19:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.0037391185760498047 time to convert the images to numpy array : 1.6689300537109375e-06 time to import caffe and check if the image exist : 0.0041005611419677734 time to convert the images to numpy array : 1.9073486328125e-06 time to import caffe and check if the image exist : 0.005485057830810547 time to convert the images to numpy array : 0.007435321807861328 time to import caffe and check if the image exist : 0.006873130798339844 time to convert the images to numpy array : 0.008461713790893555 time to import caffe and check if the image exist : 0.005043983459472656 time to convert the images to numpy array : 0.025713682174682617 time to import caffe and check if the image exist : 0.005585908889770508 time to convert the images to numpy array : 0.026285886764526367 time to import caffe and check if the image exist : 0.0040700435638427734 time to convert the images to numpy array : 0.22803568840026855 time to import caffe and check if the image exist : 0.008600473403930664 time to convert the images to numpy array : 0.2261035442352295 time to import caffe and check if the image exist : 0.00642704963684082 time to convert the images to numpy array : 0.23297929763793945 time to import caffe and check if the image exist : 0.005913972854614258 time to convert the images to numpy array : 0.2514457702636719 total time to convert the images to numpy array : 0.4496321678161621 list photo_ids error: [] list photo_ids correct : [-3688495365, -3688495383, -3688495344, -3688495352, -3688495353, -3688495351, -3688495359, -3688495362, -3688495346, -3688495372, -3688495373, -3688495323, -3688495325, -3688495328, -3688495382, -3688495326, -3688495347, -3688495376, -3688495327, -3688495339, -3688495335, -3688495340, -3688495338] number of photos to traite : 23 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.21298837661743164 time used to do the prediction : 0.10938644409179688 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.26602602005004883 time used to do the prediction : 0.08008170127868652 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.2636184692382812e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.874669313430786 time spend to save output : 0.00025153160095214844 total time spend for step 3 : 7.874920845031738 step4:merge_mask_thcl_custom Thu Feb 27 09:19:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 65 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 [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] Looping around the photos to save general results len do output : 10 /1339880358Didn't retrieve data .Didn't retrieve data . /1339879936Didn't retrieve data .Didn't retrieve data . /1339879932Didn't retrieve data .Didn't retrieve data . /1339879847Didn't retrieve data .Didn't retrieve data . /1339879842Didn't retrieve data .Didn't retrieve data . /1339879805Didn't retrieve data .Didn't retrieve data . /1339879802Didn't retrieve data .Didn't retrieve data . /1339879714Didn't retrieve data .Didn't retrieve data . /1339879711Didn't retrieve data .Didn't retrieve data . /1339879660Didn'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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.13059592247009277 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06437516212463379 time spend to save output : 0.1309962272644043 total time spend for step 4 : 0.19537138938903809 step5:rle_unique_nms_with_priority Thu Feb 27 09:19:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 2.2101686000823975 time for calcul the mask position with numpy : 0.050107479095458984 nb_pixel_total : 1482897 time to create 1 rle with new method : 0.34765005111694336 time for calcul the mask position with numpy : 0.009395599365234375 nb_pixel_total : 452 time to create 1 rle with old method : 0.0005764961242675781 time for calcul the mask position with numpy : 0.010266304016113281 nb_pixel_total : 57575 time to create 1 rle with old method : 0.06126976013183594 time for calcul the mask position with numpy : 0.009833574295043945 nb_pixel_total : 3296 time to create 1 rle with old method : 0.003488779067993164 time for calcul the mask position with numpy : 0.010492563247680664 nb_pixel_total : 163481 time to create 1 rle with new method : 0.07081389427185059 time for calcul the mask position with numpy : 0.009579896926879883 nb_pixel_total : 9903 time to create 1 rle with old method : 0.010317564010620117 time for calcul the mask position with numpy : 0.009225130081176758 nb_pixel_total : 25677 time to create 1 rle with old method : 0.026460886001586914 time for calcul the mask position with numpy : 0.010737895965576172 nb_pixel_total : 294540 time to create 1 rle with new method : 0.06573629379272461 time for calcul the mask position with numpy : 0.009463787078857422 nb_pixel_total : 4198 time to create 1 rle with old method : 0.004346609115600586 time for calcul the mask position with numpy : 0.009250402450561523 nb_pixel_total : 10589 time to create 1 rle with old method : 0.011040449142456055 time for calcul the mask position with numpy : 0.009092092514038086 nb_pixel_total : 13491 time to create 1 rle with old method : 0.01459503173828125 time for calcul the mask position with numpy : 0.009836435317993164 nb_pixel_total : 7501 time to create 1 rle with old method : 0.00814676284790039 create new chi : 0.800304651260376 time to delete rle : 0.025693178176879883 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7259 TO DO : save crop sub photo not yet done ! save time : 0.425703763961792 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.8299586772918701 time for calcul the mask position with numpy : 0.037537336349487305 nb_pixel_total : 1113280 time to create 1 rle with new method : 0.032149314880371094 time for calcul the mask position with numpy : 0.006381511688232422 nb_pixel_total : 50369 time to create 1 rle with old method : 0.05660557746887207 time for calcul the mask position with numpy : 0.0068683624267578125 nb_pixel_total : 82449 time to create 1 rle with old method : 0.09226202964782715 time for calcul the mask position with numpy : 0.012047290802001953 nb_pixel_total : 782233 time to create 1 rle with new method : 0.029690265655517578 time for calcul the mask position with numpy : 0.006470441818237305 nb_pixel_total : 26390 time to create 1 rle with old method : 0.029436349868774414 time for calcul the mask position with numpy : 0.006524085998535156 nb_pixel_total : 18879 time to create 1 rle with old method : 0.021035194396972656 create new chi : 0.3380157947540283 time to delete rle : 0.0006537437438964844 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6466 TO DO : save crop sub photo not yet done ! save time : 0.426361083984375 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.5979177951812744 time for calcul the mask position with numpy : 0.20927762985229492 nb_pixel_total : 1659218 time to create 1 rle with new method : 0.09751081466674805 time for calcul the mask position with numpy : 0.0063648223876953125 nb_pixel_total : 62213 time to create 1 rle with old method : 0.06593537330627441 time for calcul the mask position with numpy : 0.006116628646850586 nb_pixel_total : 43411 time to create 1 rle with old method : 0.04691910743713379 time for calcul the mask position with numpy : 0.007216691970825195 nb_pixel_total : 276690 time to create 1 rle with new method : 0.24148869514465332 time for calcul the mask position with numpy : 0.006298542022705078 nb_pixel_total : 7646 time to create 1 rle with old method : 0.008521318435668945 time for calcul the mask position with numpy : 0.0067615509033203125 nb_pixel_total : 24422 time to create 1 rle with old method : 0.036919355392456055 create new chi : 0.7499048709869385 time to delete rle : 0.0006165504455566406 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5421 TO DO : save crop sub photo not yet done ! save time : 0.6958246231079102 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.27738475799560547 time for calcul the mask position with numpy : 0.015481948852539062 nb_pixel_total : 1013627 time to create 1 rle with new method : 0.13573813438415527 time for calcul the mask position with numpy : 0.00664067268371582 nb_pixel_total : 943 time to create 1 rle with old method : 0.0011692047119140625 time for calcul the mask position with numpy : 0.008072376251220703 nb_pixel_total : 11515 time to create 1 rle with old method : 0.01489400863647461 time for calcul the mask position with numpy : 0.014765501022338867 nb_pixel_total : 1031538 time to create 1 rle with new method : 0.28894662857055664 time for calcul the mask position with numpy : 0.010740518569946289 nb_pixel_total : 15977 time to create 1 rle with old method : 0.017431259155273438 create new chi : 0.5277154445648193 time to delete rle : 0.00048828125 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 4034 TO DO : save crop sub photo not yet done ! save time : 0.4180471897125244 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 1.4206745624542236 time for calcul the mask position with numpy : 0.17079710960388184 nb_pixel_total : 1251765 time to create 1 rle with new method : 0.0839540958404541 time for calcul the mask position with numpy : 0.005959510803222656 nb_pixel_total : 2829 time to create 1 rle with old method : 0.002914905548095703 time for calcul the mask position with numpy : 0.005835056304931641 nb_pixel_total : 1481 time to create 1 rle with old method : 0.0016787052154541016 time for calcul the mask position with numpy : 0.005934715270996094 nb_pixel_total : 20852 time to create 1 rle with old method : 0.022512197494506836 time for calcul the mask position with numpy : 0.005846977233886719 nb_pixel_total : 7393 time to create 1 rle with old method : 0.008087873458862305 time for calcul the mask position with numpy : 0.010341882705688477 nb_pixel_total : 682854 time to create 1 rle with new method : 0.2611064910888672 time for calcul the mask position with numpy : 0.006829500198364258 nb_pixel_total : 100559 time to create 1 rle with old method : 0.11324667930603027 time for calcul the mask position with numpy : 0.006209135055541992 nb_pixel_total : 2965 time to create 1 rle with old method : 0.0033321380615234375 time for calcul the mask position with numpy : 0.0058939456939697266 nb_pixel_total : 2442 time to create 1 rle with old method : 0.002672433853149414 time for calcul the mask position with numpy : 0.005818605422973633 nb_pixel_total : 460 time to create 1 rle with old method : 0.0005254745483398438 create new chi : 0.7455081939697266 time to delete rle : 0.0005652904510498047 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 5529 TO DO : save crop sub photo not yet done ! save time : 0.7250254154205322 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.49764323234558105 time for calcul the mask position with numpy : 0.010877370834350586 nb_pixel_total : 771616 time to create 1 rle with new method : 0.030729055404663086 time for calcul the mask position with numpy : 0.006258487701416016 nb_pixel_total : 37340 time to create 1 rle with old method : 0.041582345962524414 time for calcul the mask position with numpy : 0.006597995758056641 nb_pixel_total : 88032 time to create 1 rle with old method : 0.09593892097473145 time for calcul the mask position with numpy : 0.012672185897827148 nb_pixel_total : 1037351 time to create 1 rle with new method : 0.02937006950378418 time for calcul the mask position with numpy : 0.009013652801513672 nb_pixel_total : 139261 time to create 1 rle with old method : 0.15249323844909668 create new chi : 0.39659810066223145 time to delete rle : 0.0007920265197753906 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 8114 TO DO : save crop sub photo not yet done ! save time : 0.754690408706665 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.5366730690002441 time for calcul the mask position with numpy : 0.05799365043640137 nb_pixel_total : 1621543 time to create 1 rle with new method : 0.377788782119751 time for calcul the mask position with numpy : 0.0067327022552490234 nb_pixel_total : 7902 time to create 1 rle with old method : 0.008126258850097656 time for calcul the mask position with numpy : 0.006350278854370117 nb_pixel_total : 7328 time to create 1 rle with old method : 0.00801849365234375 time for calcul the mask position with numpy : 0.006422758102416992 nb_pixel_total : 8365 time to create 1 rle with old method : 0.008881330490112305 time for calcul the mask position with numpy : 0.009280681610107422 nb_pixel_total : 426314 time to create 1 rle with new method : 0.08885717391967773 time for calcul the mask position with numpy : 0.006385087966918945 nb_pixel_total : 2148 time to create 1 rle with old method : 0.002250194549560547 create new chi : 0.5976300239562988 time to delete rle : 0.0005595684051513672 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5161 TO DO : save crop sub photo not yet done ! save time : 0.5694160461425781 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 1.0812335014343262 time for calcul the mask position with numpy : 0.07889723777770996 nb_pixel_total : 1462447 time to create 1 rle with new method : 0.0848240852355957 time for calcul the mask position with numpy : 0.0065038204193115234 nb_pixel_total : 44681 time to create 1 rle with old method : 0.04870343208312988 time for calcul the mask position with numpy : 0.006147861480712891 nb_pixel_total : 13539 time to create 1 rle with old method : 0.015016794204711914 time for calcul the mask position with numpy : 0.006489753723144531 nb_pixel_total : 92536 time to create 1 rle with old method : 0.10218286514282227 time for calcul the mask position with numpy : 0.008712530136108398 nb_pixel_total : 402896 time to create 1 rle with new method : 0.3606562614440918 time for calcul the mask position with numpy : 0.006463050842285156 nb_pixel_total : 2933 time to create 1 rle with old method : 0.0033311843872070312 time for calcul the mask position with numpy : 0.007101774215698242 nb_pixel_total : 34444 time to create 1 rle with old method : 0.038316965103149414 time for calcul the mask position with numpy : 0.008095979690551758 nb_pixel_total : 20124 time to create 1 rle with old method : 0.02262425422668457 create new chi : 0.8136870861053467 time to delete rle : 0.0006072521209716797 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 5512 TO DO : save crop sub photo not yet done ! save time : 0.3404731750488281 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.6819896697998047 time for calcul the mask position with numpy : 0.014083385467529297 nb_pixel_total : 1223113 time to create 1 rle with new method : 0.055013418197631836 time for calcul the mask position with numpy : 0.006033658981323242 nb_pixel_total : 2477 time to create 1 rle with old method : 0.003597736358642578 time for calcul the mask position with numpy : 0.00681757926940918 nb_pixel_total : 9947 time to create 1 rle with old method : 0.015652894973754883 time for calcul the mask position with numpy : 0.012035369873046875 nb_pixel_total : 574585 time to create 1 rle with new method : 0.4047253131866455 time for calcul the mask position with numpy : 0.0074138641357421875 nb_pixel_total : 195765 time to create 1 rle with new method : 0.030829668045043945 time for calcul the mask position with numpy : 0.00676727294921875 nb_pixel_total : 67713 time to create 1 rle with old method : 0.0742044448852539 create new chi : 0.6447789669036865 time to delete rle : 0.00064849853515625 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6374 TO DO : save crop sub photo not yet done ! save time : 0.4012446403503418 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.7236919403076172 time for calcul the mask position with numpy : 0.0232393741607666 nb_pixel_total : 630735 time to create 1 rle with new method : 0.07955718040466309 time for calcul the mask position with numpy : 0.006354570388793945 nb_pixel_total : 29757 time to create 1 rle with old method : 0.032767534255981445 time for calcul the mask position with numpy : 0.0064983367919921875 nb_pixel_total : 130799 time to create 1 rle with old method : 0.14353489875793457 time for calcul the mask position with numpy : 0.006333112716674805 nb_pixel_total : 10361 time to create 1 rle with old method : 0.011198282241821289 time for calcul the mask position with numpy : 0.0059435367584228516 nb_pixel_total : 4971 time to create 1 rle with old method : 0.0054662227630615234 time for calcul the mask position with numpy : 0.012145042419433594 nb_pixel_total : 989955 time to create 1 rle with new method : 0.3327181339263916 time for calcul the mask position with numpy : 0.00797891616821289 nb_pixel_total : 277022 time to create 1 rle with new method : 0.2917623519897461 create new chi : 0.9804208278656006 time to delete rle : 0.0007431507110595703 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 8674 TO DO : save crop sub photo not yet done ! save time : 0.4919867515563965 map_output_result : {1339880358: (0.0, 'Should be the crop_list due to order', 0), 1339879936: (0.0, 'Should be the crop_list due to order', 0), 1339879932: (0.0, 'Should be the crop_list due to order', 0), 1339879847: (0.0, 'Should be the crop_list due to order', 0), 1339879842: (0.0, 'Should be the crop_list due to order', 0), 1339879805: (0.0, 'Should be the crop_list due to order', 0), 1339879802: (0.0, 'Should be the crop_list due to order', 0), 1339879714: (0.0, 'Should be the crop_list due to order', 0), 1339879711: (0.0, 'Should be the crop_list due to order', 0), 1339879660: (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 [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] Looping around the photos to save general results len do output : 10 /1339880358.Didn't retrieve data . /1339879936.Didn't retrieve data . /1339879932.Didn't retrieve data . /1339879847.Didn't retrieve data . /1339879842.Didn't retrieve data . /1339879805.Didn't retrieve data . /1339879802.Didn't retrieve data . /1339879714.Didn't retrieve data . /1339879711.Didn't retrieve data . /1339879660.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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013589859008789062 save_final save missing photos in datou_result : time spend for datou_step_exec : 21.04168677330017 time spend to save output : 0.014106512069702148 total time spend for step 5 : 21.055793285369873 step6:crop_condition Thu Feb 27 09:19:39 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 71 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740644380_2875443 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0138323307037354 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740644382_2875443 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5275697708129883 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 ! 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/1740644383_2875443 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8637180328369141 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 begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740644384_2875443 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6710150241851807 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740644385_2875443 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.574310302734375 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 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740644386_2875443 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5520691871643066 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] Looping around the photos to save general results len do output : 9 /1339884840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339884849Didn'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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 time used for this insertion : 0.023205995559692383 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.924300670623779 time spend to save output : 0.023846864700317383 total time spend for step 6 : 7.948147535324097 step7:ventilate_hashtags_in_portfolio Thu Feb 27 09:19:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20879062 get user id for portfolio 20879062 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`=20879062 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','autre_refus','Carton_brun','flou','Carton_gris','Teint_Dans_La_Masse','environnement','mal_croppe','cartonnette','metal','kraft')) 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`=20879062 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','autre_refus','Carton_brun','flou','Carton_gris','Teint_Dans_La_Masse','environnement','mal_croppe','cartonnette','metal','kraft')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20879321,20879322,20879323,20879324,20879325,20879326,20879327,20879328,20879329,20879330,20879331,20879332?tags=flou,Carton_brun,autre_refus,environnement,Carton_gris,mal_croppe,metal,plastique,kraft,papier,Teint_Dans_La_Masse,cartonnette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] Looping around the photos to save general results len do output : 1 /20879062. 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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014440298080444336 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.451826572418213 time spend to save output : 0.014671564102172852 total time spend for step 7 : 1.4664981365203857 step8:final Thu Feb 27 09:19:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1339880358: ('0.044351351101316314',), 1339879936: ('0.044351351101316314',), 1339879932: ('0.044351351101316314',), 1339879847: ('0.044351351101316314',), 1339879842: ('0.044351351101316314',), 1339879805: ('0.044351351101316314',), 1339879802: ('0.044351351101316314',), 1339879714: ('0.044351351101316314',), 1339879711: ('0.044351351101316314',), 1339879660: ('0.044351351101316314',)} new output for save of step final : {1339880358: ('0.044351351101316314',), 1339879936: ('0.044351351101316314',), 1339879932: ('0.044351351101316314',), 1339879847: ('0.044351351101316314',), 1339879842: ('0.044351351101316314',), 1339879805: ('0.044351351101316314',), 1339879802: ('0.044351351101316314',), 1339879714: ('0.044351351101316314',), 1339879711: ('0.044351351101316314',), 1339879660: ('0.044351351101316314',)} [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] Looping around the photos to save general results len do output : 10 /1339880358.Didn't retrieve data . /1339879936.Didn't retrieve data . /1339879932.Didn't retrieve data . /1339879847.Didn't retrieve data . /1339879842.Didn't retrieve data . /1339879805.Didn't retrieve data . /1339879802.Didn't retrieve data . /1339879714.Didn't retrieve data . /1339879711.Didn't retrieve data . /1339879660.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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013599872589111328 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10313916206359863 time spend to save output : 0.01409459114074707 total time spend for step 8 : 0.1172337532043457 step9:velours_tree Thu Feb 27 09:19:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.0388178825378418 time spend to save output : 3.361701965332031e-05 total time spend for step 9 : 0.03885149955749512 step10:send_mail_cod Thu Feb 27 09:19:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P20879062_27-02-2025_09_19_48.pdf 20879321 imagette208793211740644388 20879323 change filename to text .imagette208793231740644388 20879326 imagette208793261740644389 20879327 imagette208793271740644389 20879328 change filename to text .change filename to text .change filename to text .imagette208793281740644389 20879329 change filename to text .imagette208793291740644389 20879332 change filename to text .change filename to text .imagette208793321740644389 20879322 change filename to text .imagette208793221740644389 20879325 change filename to text .change filename to text .change filename to text .change filename to text .imagette208793251740644389 20879331 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 .imagette208793311740644389 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20879062 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20879321,20879322,20879323,20879324,20879325,20879326,20879327,20879328,20879329,20879330,20879331,20879332?tags=flou,Carton_brun,autre_refus,environnement,Carton_gris,mal_croppe,metal,plastique,kraft,papier,Teint_Dans_La_Masse,cartonnette your option no_mail is active, we will not send the real mail to your client args[1339880358] : ('0.044351351101316314',) no score found for photo 1339880358 We are sending mail with results at report@fotonower.com args[1339879936] : ('0.044351351101316314',) no score found for photo 1339879936 We are sending mail with results at report@fotonower.com args[1339879932] : ('0.044351351101316314',) no score found for photo 1339879932 We are sending mail with results at report@fotonower.com args[1339879847] : ('0.044351351101316314',) no score found for photo 1339879847 We are sending mail with results at report@fotonower.com args[1339879842] : ('0.044351351101316314',) no score found for photo 1339879842 We are sending mail with results at report@fotonower.com args[1339879805] : ('0.044351351101316314',) no score found for photo 1339879805 We are sending mail with results at report@fotonower.com args[1339879802] : ('0.044351351101316314',) no score found for photo 1339879802 We are sending mail with results at report@fotonower.com args[1339879714] : ('0.044351351101316314',) no score found for photo 1339879714 We are sending mail with results at report@fotonower.com args[1339879711] : ('0.044351351101316314',) no score found for photo 1339879711 We are sending mail with results at report@fotonower.com args[1339879660] : ('0.044351351101316314',) no score found for photo 1339879660 We are sending mail with results at report@fotonower.com refus_total : 0.044351351101316314 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=20879062 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339879802,1339880973,1339881575,1339881557,1339881539,1339881410,1339879932,1339881049,1339881025,1339881052,1339881089,1339881091,1339881618,1339881619,1339881647,1339881852,1339881932,1339881028,1339879660,1339880975) Found this number of photos: 20 begin to download photo : 1339879802 begin to download photo : 1339881410 begin to download photo : 1339881089 begin to download photo : 1339881852 download finish for photo 1339881089 begin to download photo : 1339881091 download finish for photo 1339879802 begin to download photo : 1339880973 download finish for photo 1339881852 begin to download photo : 1339881932 download finish for photo 1339881410 begin to download photo : 1339879932 download finish for photo 1339880973 begin to download photo : 1339881575 download finish for photo 1339879932 begin to download photo : 1339881049 download finish for photo 1339881091 begin to download photo : 1339881618 download finish for photo 1339881932 begin to download photo : 1339881028 download finish for photo 1339881575 begin to download photo : 1339881557 download finish for photo 1339881618 begin to download photo : 1339881619 download finish for photo 1339881028 begin to download photo : 1339879660 download finish for photo 1339881049 begin to download photo : 1339881025 download finish for photo 1339881557 begin to download photo : 1339881539 download finish for photo 1339881619 begin to download photo : 1339881647 download finish for photo 1339879660 begin to download photo : 1339880975 download finish for photo 1339881539 download finish for photo 1339881025 begin to download photo : 1339881052 download finish for photo 1339880975 download finish for photo 1339881647 download finish for photo 1339881052 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20879062_27-02-2025_09_19_48.pdf results_Auto_P20879062_27-02-2025_09_19_48.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20879062_27-02-2025_09_19_48.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','20879062','results_Auto_P20879062_27-02-2025_09_19_48.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20879062_27-02-2025_09_19_48.pdf','pdf','','0.31','0.044351351101316314') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] 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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012626886367797852 save_final save missing photos in datou_result : time spend for datou_step_exec : 49.82602643966675 time spend to save output : 0.012800216674804688 total time spend for step 10 : 49.83882665634155 step11:split_time_score Thu Feb 27 09:20:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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'}] (('08', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27022025 20879062 Nombre de photos uploadées : 30 / 23040 (0%) 27022025 20879062 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 27022025 20879062 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0024166107177734375 elapsed_time : insert_dashboard_record_day_entry 0.02296733856201172 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.0632687756809284 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20875450_27-02-2025_07_41_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20875450 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`=20875450 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20876646 order by id desc limit 1 Qualite : 0.05016083197612013 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876647_27-02-2025_08_17_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20876647 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`=20876647 AND mptpi.`type`=3726 To do Qualite : 0.06677441255269197 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20876649_27-02-2025_08_11_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20876649 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`=20876649 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20879059 order by id desc limit 1 Qualite : 0.011997544491851541 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20879060_27-02-2025_09_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20879060 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`=20879060 AND mptpi.`type`=3726 To do Qualite : 0.056036866034520565 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20879061_27-02-2025_09_17_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20879061 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`=20879061 AND mptpi.`type`=3726 To do Qualite : 0.05471118690922062 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20879062_27-02-2025_09_19_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20879062 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`=20879062 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27022025': {'nb_upload': 30, '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 [1339880358, 1339879936, 1339879932, 1339879847, 1339879842, 1339879805, 1339879802, 1339879714, 1339879711, 1339879660] Looping around the photos to save general results len do output : 1 /20879062Didn'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, '2619500') ('3459', None, '1339880358', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879936', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879932', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879847', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879842', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879805', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879802', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879714', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879711', None, None, None, None, None, '2619500') ('3459', None, None, None, None, None, None, None, '2619500') ('3459', None, '1339879660', None, None, None, None, None, '2619500') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014204978942871094 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.2397701740264893 time spend to save output : 0.01465463638305664 total time spend for step 11 : 2.254424810409546 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 43.27user 29.98system 2:16.10elapsed 53%CPU (0avgtext+0avgdata 2774000maxresident)k 149104inputs+32560outputs (1081major+2071964minor)pagefaults 0swaps