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 : 3881545 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 29>10 please execute split_portfolio.py -i 20478693 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2579608'] with mtr_portfolio_ids : ['20478693'] and first list_photo_ids : [] new path : /proc/3881545/ 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 ! BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.6141741275787354 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 Wed Feb 12 15:04:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-12 15:04:31.548628: 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-12 15:04:31.579134: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-12 15:04:31.581414: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9920000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-12 15:04:31.581452: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-12 15:04:31.586019: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-12 15:04:31.926463: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1351ad70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-12 15:04:31.926517: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-12 15:04:31.929198: 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-12 15:04:31.929580: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-12 15:04:31.932350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-12 15:04:31.935026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-12 15:04:31.935628: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-12 15:04:31.937762: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-12 15:04:31.938827: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-12 15:04:31.942948: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-12 15:04:31.946186: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-12 15:04:31.946599: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-12 15:04:31.953001: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-12 15:04:31.953025: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-12 15:04:31.953034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-12 15:04:31.956253: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10181 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-12 15:04:32.282481: 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-12 15:04:32.282593: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-12 15:04:32.282615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-12 15:04:32.282635: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-12 15:04:32.282654: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-12 15:04:32.282672: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-12 15:04:32.282690: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-12 15:04:32.282709: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-12 15:04:32.284396: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-12 15:04:32.285733: 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-12 15:04:32.285785: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-12 15:04:32.285806: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-12 15:04:32.285824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-12 15:04:32.285842: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-12 15:04:32.285860: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-12 15:04:32.285877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-12 15:04:32.285896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-12 15:04:32.287525: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-12 15:04:32.287559: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-12 15:04:32.287570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-12 15:04:32.287579: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-12 15:04:32.289259: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10181 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-12 15:04:43.930340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-12 15:04:44.101625: 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 : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 3881900 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 10998 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.003186941146850586 nb_pixel_total : 122407 time to create 1 rle with old method : 0.12360548973083496 length of segment : 669 time for calcul the mask position with numpy : 0.0007805824279785156 nb_pixel_total : 32628 time to create 1 rle with old method : 0.036554813385009766 length of segment : 219 time for calcul the mask position with numpy : 0.004093170166015625 nb_pixel_total : 216713 time to create 1 rle with new method : 0.008242368698120117 length of segment : 621 time for calcul the mask position with numpy : 0.0017902851104736328 nb_pixel_total : 114678 time to create 1 rle with old method : 0.11870026588439941 length of segment : 734 time for calcul the mask position with numpy : 0.0014197826385498047 nb_pixel_total : 90177 time to create 1 rle with old method : 0.09304523468017578 length of segment : 595 time for calcul the mask position with numpy : 0.00047397613525390625 nb_pixel_total : 31361 time to create 1 rle with old method : 0.03352642059326172 length of segment : 297 time for calcul the mask position with numpy : 0.002344846725463867 nb_pixel_total : 207783 time to create 1 rle with new method : 0.008760690689086914 length of segment : 560 time for calcul the mask position with numpy : 0.0010232925415039062 nb_pixel_total : 38855 time to create 1 rle with old method : 0.0415799617767334 length of segment : 526 time for calcul the mask position with numpy : 0.0005154609680175781 nb_pixel_total : 36170 time to create 1 rle with old method : 0.04011702537536621 length of segment : 240 time for calcul the mask position with numpy : 0.00021457672119140625 nb_pixel_total : 9696 time to create 1 rle with old method : 0.010993003845214844 length of segment : 115 time for calcul the mask position with numpy : 0.0015587806701660156 nb_pixel_total : 107905 time to create 1 rle with old method : 0.11125516891479492 length of segment : 459 time for calcul the mask position with numpy : 0.004133701324462891 nb_pixel_total : 221985 time to create 1 rle with new method : 0.010156869888305664 length of segment : 569 time for calcul the mask position with numpy : 0.0018534660339355469 nb_pixel_total : 104375 time to create 1 rle with old method : 0.11425614356994629 length of segment : 391 time for calcul the mask position with numpy : 0.002383708953857422 nb_pixel_total : 103978 time to create 1 rle with old method : 0.11322331428527832 length of segment : 422 time for calcul the mask position with numpy : 0.0004329681396484375 nb_pixel_total : 11192 time to create 1 rle with old method : 0.012969493865966797 length of segment : 142 time for calcul the mask position with numpy : 0.0009984970092773438 nb_pixel_total : 38817 time to create 1 rle with old method : 0.042464494705200195 length of segment : 239 time for calcul the mask position with numpy : 0.004243612289428711 nb_pixel_total : 172353 time to create 1 rle with new method : 0.012748241424560547 length of segment : 819 time for calcul the mask position with numpy : 0.004822492599487305 nb_pixel_total : 245829 time to create 1 rle with new method : 0.013829946517944336 length of segment : 638 time for calcul the mask position with numpy : 0.00554347038269043 nb_pixel_total : 206185 time to create 1 rle with new method : 0.011909723281860352 length of segment : 612 time for calcul the mask position with numpy : 0.00273895263671875 nb_pixel_total : 103336 time to create 1 rle with old method : 0.11646652221679688 length of segment : 454 time for calcul the mask position with numpy : 0.0018906593322753906 nb_pixel_total : 39587 time to create 1 rle with old method : 0.04544186592102051 length of segment : 424 time for calcul the mask position with numpy : 0.006170749664306641 nb_pixel_total : 266498 time to create 1 rle with new method : 0.01590895652770996 length of segment : 653 time for calcul the mask position with numpy : 0.0013015270233154297 nb_pixel_total : 56686 time to create 1 rle with old method : 0.06294798851013184 length of segment : 392 time for calcul the mask position with numpy : 0.0012962818145751953 nb_pixel_total : 28810 time to create 1 rle with old method : 0.032199859619140625 length of segment : 310 time for calcul the mask position with numpy : 0.00020551681518554688 nb_pixel_total : 5839 time to create 1 rle with old method : 0.006903648376464844 length of segment : 80 time for calcul the mask position with numpy : 0.0010993480682373047 nb_pixel_total : 25724 time to create 1 rle with old method : 0.027901411056518555 length of segment : 362 time for calcul the mask position with numpy : 0.0016710758209228516 nb_pixel_total : 58491 time to create 1 rle with old method : 0.06395506858825684 length of segment : 382 time for calcul the mask position with numpy : 0.0005240440368652344 nb_pixel_total : 15078 time to create 1 rle with old method : 0.018370866775512695 length of segment : 150 time for calcul the mask position with numpy : 0.00023412704467773438 nb_pixel_total : 6032 time to create 1 rle with old method : 0.007261753082275391 length of segment : 62 time for calcul the mask position with numpy : 0.0022687911987304688 nb_pixel_total : 58994 time to create 1 rle with old method : 0.06252646446228027 length of segment : 420 time for calcul the mask position with numpy : 0.0026171207427978516 nb_pixel_total : 139159 time to create 1 rle with old method : 0.14594507217407227 length of segment : 439 time for calcul the mask position with numpy : 0.005160331726074219 nb_pixel_total : 250626 time to create 1 rle with new method : 0.011803865432739258 length of segment : 921 time for calcul the mask position with numpy : 0.0007050037384033203 nb_pixel_total : 18666 time to create 1 rle with old method : 0.026303529739379883 length of segment : 141 time for calcul the mask position with numpy : 0.00590062141418457 nb_pixel_total : 190860 time to create 1 rle with new method : 0.010899066925048828 length of segment : 562 time for calcul the mask position with numpy : 0.0021979808807373047 nb_pixel_total : 101468 time to create 1 rle with old method : 0.11153554916381836 length of segment : 418 time for calcul the mask position with numpy : 0.0016841888427734375 nb_pixel_total : 46734 time to create 1 rle with old method : 0.05276060104370117 length of segment : 376 time for calcul the mask position with numpy : 0.0035448074340820312 nb_pixel_total : 141146 time to create 1 rle with old method : 0.14686203002929688 length of segment : 433 time for calcul the mask position with numpy : 0.0031065940856933594 nb_pixel_total : 203705 time to create 1 rle with new method : 0.011096954345703125 length of segment : 576 time for calcul the mask position with numpy : 0.006572246551513672 nb_pixel_total : 295924 time to create 1 rle with new method : 0.013334989547729492 length of segment : 733 time for calcul the mask position with numpy : 0.0031731128692626953 nb_pixel_total : 201595 time to create 1 rle with new method : 0.011501073837280273 length of segment : 561 time for calcul the mask position with numpy : 0.003681182861328125 nb_pixel_total : 202823 time to create 1 rle with new method : 0.008792400360107422 length of segment : 400 time for calcul the mask position with numpy : 0.0021500587463378906 nb_pixel_total : 96719 time to create 1 rle with old method : 0.11851716041564941 length of segment : 363 time for calcul the mask position with numpy : 0.00020885467529296875 nb_pixel_total : 2440 time to create 1 rle with old method : 0.0028476715087890625 length of segment : 67 time for calcul the mask position with numpy : 0.0006699562072753906 nb_pixel_total : 10852 time to create 1 rle with old method : 0.012909650802612305 length of segment : 144 time for calcul the mask position with numpy : 0.00040721893310546875 nb_pixel_total : 15853 time to create 1 rle with old method : 0.017926931381225586 length of segment : 103 time for calcul the mask position with numpy : 0.0006833076477050781 nb_pixel_total : 15174 time to create 1 rle with old method : 0.017113447189331055 length of segment : 120 time for calcul the mask position with numpy : 0.004430532455444336 nb_pixel_total : 180151 time to create 1 rle with new method : 0.011586904525756836 length of segment : 1042 time for calcul the mask position with numpy : 0.018858909606933594 nb_pixel_total : 638847 time to create 1 rle with new method : 0.03368639945983887 length of segment : 933 time for calcul the mask position with numpy : 0.0006556510925292969 nb_pixel_total : 17401 time to create 1 rle with old method : 0.02080988883972168 length of segment : 159 time for calcul the mask position with numpy : 0.03990364074707031 nb_pixel_total : 1272615 time to create 1 rle with new method : 0.9001240730285645 length of segment : 3313 time for calcul the mask position with numpy : 0.00028324127197265625 nb_pixel_total : 15127 time to create 1 rle with old method : 0.016496896743774414 length of segment : 153 time for calcul the mask position with numpy : 0.0015969276428222656 nb_pixel_total : 84649 time to create 1 rle with old method : 0.08963227272033691 length of segment : 342 time for calcul the mask position with numpy : 0.0014595985412597656 nb_pixel_total : 86315 time to create 1 rle with old method : 0.09633946418762207 length of segment : 447 time for calcul the mask position with numpy : 0.007864236831665039 nb_pixel_total : 451590 time to create 1 rle with new method : 0.02256178855895996 length of segment : 1451 time for calcul the mask position with numpy : 0.0005867481231689453 nb_pixel_total : 18647 time to create 1 rle with old method : 0.020215272903442383 length of segment : 184 time for calcul the mask position with numpy : 0.002508878707885742 nb_pixel_total : 73379 time to create 1 rle with old method : 0.08071589469909668 length of segment : 757 time for calcul the mask position with numpy : 0.0001933574676513672 nb_pixel_total : 2505 time to create 1 rle with old method : 0.002829313278198242 length of segment : 82 time for calcul the mask position with numpy : 0.03628230094909668 nb_pixel_total : 1946606 time to create 1 rle with new method : 0.589531421661377 length of segment : 2387 time for calcul the mask position with numpy : 0.0008635520935058594 nb_pixel_total : 55116 time to create 1 rle with old method : 0.05741715431213379 length of segment : 455 time for calcul the mask position with numpy : 0.00013971328735351562 nb_pixel_total : 2166 time to create 1 rle with old method : 0.0025017261505126953 length of segment : 80 time for calcul the mask position with numpy : 0.004126310348510742 nb_pixel_total : 297456 time to create 1 rle with new method : 0.010328054428100586 length of segment : 1181 time for calcul the mask position with numpy : 0.0009961128234863281 nb_pixel_total : 41150 time to create 1 rle with old method : 0.045236825942993164 length of segment : 550 time for calcul the mask position with numpy : 0.000209808349609375 nb_pixel_total : 9246 time to create 1 rle with old method : 0.010781049728393555 length of segment : 99 time for calcul the mask position with numpy : 0.0024352073669433594 nb_pixel_total : 98840 time to create 1 rle with old method : 0.11517715454101562 length of segment : 370 time for calcul the mask position with numpy : 0.003774404525756836 nb_pixel_total : 181347 time to create 1 rle with new method : 0.007397651672363281 length of segment : 579 time for calcul the mask position with numpy : 0.003415822982788086 nb_pixel_total : 167068 time to create 1 rle with new method : 0.006076335906982422 length of segment : 546 time for calcul the mask position with numpy : 0.0025916099548339844 nb_pixel_total : 166393 time to create 1 rle with new method : 0.006951332092285156 length of segment : 621 time for calcul the mask position with numpy : 0.00232696533203125 nb_pixel_total : 121521 time to create 1 rle with old method : 0.13355135917663574 length of segment : 518 time for calcul the mask position with numpy : 0.0011892318725585938 nb_pixel_total : 9211 time to create 1 rle with old method : 0.01070094108581543 length of segment : 269 time for calcul the mask position with numpy : 0.0004105567932128906 nb_pixel_total : 15285 time to create 1 rle with old method : 0.016753673553466797 length of segment : 170 time for calcul the mask position with numpy : 0.0008447170257568359 nb_pixel_total : 19860 time to create 1 rle with old method : 0.03201889991760254 length of segment : 346 time for calcul the mask position with numpy : 0.000392913818359375 nb_pixel_total : 10991 time to create 1 rle with old method : 0.013900995254516602 length of segment : 176 time for calcul the mask position with numpy : 0.00031375885009765625 nb_pixel_total : 5366 time to create 1 rle with old method : 0.00612950325012207 length of segment : 110 time for calcul the mask position with numpy : 0.0012660026550292969 nb_pixel_total : 44065 time to create 1 rle with old method : 0.048201799392700195 length of segment : 281 time for calcul the mask position with numpy : 0.0006422996520996094 nb_pixel_total : 18353 time to create 1 rle with old method : 0.021079301834106445 length of segment : 127 time for calcul the mask position with numpy : 0.0018782615661621094 nb_pixel_total : 72525 time to create 1 rle with old method : 0.07834887504577637 length of segment : 349 time for calcul the mask position with numpy : 0.0002894401550292969 nb_pixel_total : 7623 time to create 1 rle with old method : 0.008963823318481445 length of segment : 67 time for calcul the mask position with numpy : 0.0011639595031738281 nb_pixel_total : 49063 time to create 1 rle with old method : 0.05526137351989746 length of segment : 285 time for calcul the mask position with numpy : 0.0021331310272216797 nb_pixel_total : 71950 time to create 1 rle with old method : 0.07829880714416504 length of segment : 455 time for calcul the mask position with numpy : 0.00026679039001464844 nb_pixel_total : 6544 time to create 1 rle with old method : 0.007716178894042969 length of segment : 69 time for calcul the mask position with numpy : 0.0006127357482910156 nb_pixel_total : 20767 time to create 1 rle with old method : 0.02290940284729004 length of segment : 123 time for calcul the mask position with numpy : 0.0010747909545898438 nb_pixel_total : 41891 time to create 1 rle with old method : 0.04545760154724121 length of segment : 260 time for calcul the mask position with numpy : 0.005694389343261719 nb_pixel_total : 224882 time to create 1 rle with new method : 0.009033918380737305 length of segment : 664 time for calcul the mask position with numpy : 0.0007240772247314453 nb_pixel_total : 31091 time to create 1 rle with old method : 0.03445696830749512 length of segment : 229 time for calcul the mask position with numpy : 0.0010251998901367188 nb_pixel_total : 16062 time to create 1 rle with old method : 0.01799917221069336 length of segment : 218 time for calcul the mask position with numpy : 0.003036022186279297 nb_pixel_total : 209294 time to create 1 rle with new method : 0.007308244705200195 length of segment : 664 time for calcul the mask position with numpy : 0.0006248950958251953 nb_pixel_total : 33388 time to create 1 rle with old method : 0.03662562370300293 length of segment : 199 time for calcul the mask position with numpy : 0.0005118846893310547 nb_pixel_total : 9885 time to create 1 rle with old method : 0.01154327392578125 length of segment : 80 time for calcul the mask position with numpy : 0.0008473396301269531 nb_pixel_total : 27182 time to create 1 rle with old method : 0.03034496307373047 length of segment : 231 time for calcul the mask position with numpy : 0.00334930419921875 nb_pixel_total : 152980 time to create 1 rle with new method : 0.004744052886962891 length of segment : 464 time for calcul the mask position with numpy : 0.008514165878295898 nb_pixel_total : 447593 time to create 1 rle with new method : 0.012256383895874023 length of segment : 663 time for calcul the mask position with numpy : 0.0005466938018798828 nb_pixel_total : 25503 time to create 1 rle with old method : 0.027891159057617188 length of segment : 135 time for calcul the mask position with numpy : 0.0003674030303955078 nb_pixel_total : 13973 time to create 1 rle with old method : 0.015787839889526367 length of segment : 158 time for calcul the mask position with numpy : 0.0006172657012939453 nb_pixel_total : 36208 time to create 1 rle with old method : 0.040040016174316406 length of segment : 240 time for calcul the mask position with numpy : 0.001692056655883789 nb_pixel_total : 108108 time to create 1 rle with old method : 0.11438560485839844 length of segment : 367 time for calcul the mask position with numpy : 0.0003330707550048828 nb_pixel_total : 10054 time to create 1 rle with old method : 0.01119685173034668 length of segment : 162 time for calcul the mask position with numpy : 0.0014190673828125 nb_pixel_total : 64040 time to create 1 rle with old method : 0.06870055198669434 length of segment : 410 time for calcul the mask position with numpy : 0.001188039779663086 nb_pixel_total : 49725 time to create 1 rle with old method : 0.05713486671447754 length of segment : 353 time spent for convertir_results : 12.984377145767212 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 98 chid ids of type : 3663 Number RLEs to save : 43486 save missing photos in datou_result : time spend for datou_step_exec : 54.806514263153076 time spend to save output : 2.6611087322235107 total time spend for step 1 : 57.46762299537659 step2:crop_condition Wed Feb 12 15:05:25 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 : 9 ! batch 1 Loaded 98 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 37 About to insert : list_path_to_insert length 37 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : 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 [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] Looping around the photos to save general results len do output : 74 /-3671839139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839175Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3671839200Didn'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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 231 time used for this insertion : 0.029653072357177734 save_final save missing photos in datou_result : time spend for datou_step_exec : 37.44392228126526 time spend to save output : 0.03559470176696777 total time spend for step 2 : 37.47951698303223 step3:thcl Wed Feb 12 15:06:03 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.008306264877319336 time to convert the images to numpy array : 0.19825220108032227 time to import caffe and check if the image exist : 0.012051105499267578 time to convert the images to numpy array : 0.4609811305999756 time to import caffe and check if the image exist : 0.014726400375366211 time to convert the images to numpy array : 0.47010302543640137 time to import caffe and check if the image exist : 0.012662172317504883 time to convert the images to numpy array : 0.48250484466552734 time to import caffe and check if the image exist : 0.016460418701171875 time to convert the images to numpy array : 0.735508918762207 time to import caffe and check if the image exist : 0.013151407241821289 time to convert the images to numpy array : 0.7395679950714111 time to import caffe and check if the image exist : 0.01464533805847168 time to convert the images to numpy array : 0.7400305271148682 time to import caffe and check if the image exist : 0.01138615608215332 time to convert the images to numpy array : 0.7467381954193115 time to import caffe and check if the image exist : 0.012595415115356445 time to convert the images to numpy array : 0.7482295036315918 time to import caffe and check if the image exist : 0.020071744918823242 time to convert the images to numpy array : 1.3871095180511475 total time to convert the images to numpy array : 1.8213481903076172 list photo_ids error: [] list photo_ids correct : [-3671839179, -3671839200, -3671839187, -3671839196, -3671839202, -3671839203, -3671839107, -3671839114, -3671839115, -3671839121, -3671839139, -3671839137, -3671839173, -3671839186, -3671839184, -3671839201, -3671839198, -3671839110, -3671839149, -3671839150, -3671839147, -3671839160, -3671839161, -3671839164, -3671839166, -3671839176, -3671839108, -3671839116, -3671839113, -3671839118, -3671839127, -3671839126, -3671839124, -3671839129, -3671839175, -3671839180, -3671839171, -3671839170, -3671839169, -3671839181, -3671839191, -3671839189, -3671839119, -3671839125, -3671839142, -3671839151, -3671839174, -3671839183, -3671839172, -3671839194, -3671839120, -3671839133, -3671839111, -3671839112, -3671839117, -3671839123, -3671839136, -3671839167, -3671839131, -3671839143, -3671839152, -3671839154, -3671839188, -3671839192, -3671839197, -3671839106, -3671839128, -3671839122, -3671839140, -3671839145, -3671839132, -3671839146, -3671839135, -3671839144] number of photos to traite : 74 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5706 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 : 5487 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9964687824249268 time used to do the prediction : 0.23121070861816406 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 : 5485 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 : 5485 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.0074596405029297 time used to do the prediction : 0.15177702903747559 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.9550323486328125e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.14101243019104 time spend to save output : 0.0006589889526367188 total time spend for step 3 : 11.141671419143677 step4:merge_mask_thcl_custom Wed Feb 12 15:06:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 98 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 [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] Looping around the photos to save general results len do output : 9 /1337065446Didn't retrieve data .Didn't retrieve data . /1337065359Didn't retrieve data .Didn't retrieve data . /1337065329Didn't retrieve data .Didn't retrieve data . /1337065322Didn't retrieve data .Didn't retrieve data . /1337064056Didn't retrieve data .Didn't retrieve data . /1337064044Didn't retrieve data .Didn't retrieve data . /1337064032Didn't retrieve data .Didn't retrieve data . /1337063981Didn't retrieve data .Didn't retrieve data . /1337063848Didn'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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013547658920288086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06812071800231934 time spend to save output : 0.014050006866455078 total time spend for step 4 : 0.08217072486877441 step5:rle_unique_nms_with_priority Wed Feb 12 15:06:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 4.850792646408081 time for calcul the mask position with numpy : 0.317716121673584 nb_pixel_total : 6550981 time to create 1 rle with new method : 0.7962112426757812 time for calcul the mask position with numpy : 0.02844858169555664 nb_pixel_total : 94260 time to create 1 rle with old method : 0.1052861213684082 time for calcul the mask position with numpy : 0.04505300521850586 nb_pixel_total : 31287 time to create 1 rle with old method : 0.03290987014770508 time for calcul the mask position with numpy : 0.03875374794006348 nb_pixel_total : 32568 time to create 1 rle with old method : 0.041349172592163086 time for calcul the mask position with numpy : 0.043280601501464844 nb_pixel_total : 11475 time to create 1 rle with old method : 0.01400303840637207 time for calcul the mask position with numpy : 0.03896594047546387 nb_pixel_total : 122180 time to create 1 rle with old method : 0.1328279972076416 time for calcul the mask position with numpy : 0.027532100677490234 nb_pixel_total : 207489 time to create 1 rle with new method : 0.9063100814819336 create new chi : 2.636225461959839 time to delete rle : 0.013718843460083008 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 7364 TO DO : save crop sub photo not yet done ! save time : 0.43280839920043945 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 6.757316827774048 time for calcul the mask position with numpy : 0.5436086654663086 nb_pixel_total : 6530220 time to create 1 rle with new method : 1.2544522285461426 time for calcul the mask position with numpy : 0.024155378341674805 nb_pixel_total : 104297 time to create 1 rle with old method : 0.11336660385131836 time for calcul the mask position with numpy : 0.023489713668823242 nb_pixel_total : 5579 time to create 1 rle with old method : 0.006906747817993164 time for calcul the mask position with numpy : 0.0235135555267334 nb_pixel_total : 9671 time to create 1 rle with old method : 0.010536909103393555 time for calcul the mask position with numpy : 0.025079727172851562 nb_pixel_total : 103842 time to create 1 rle with old method : 0.11469578742980957 time for calcul the mask position with numpy : 0.0221099853515625 nb_pixel_total : 38671 time to create 1 rle with old method : 0.041287899017333984 time for calcul the mask position with numpy : 0.02207326889038086 nb_pixel_total : 36123 time to create 1 rle with old method : 0.03772091865539551 time for calcul the mask position with numpy : 0.02592015266418457 nb_pixel_total : 221837 time to create 1 rle with new method : 0.8752496242523193 create new chi : 3.2409720420837402 time to delete rle : 0.0008058547973632812 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 7239 TO DO : save crop sub photo not yet done ! save time : 0.7303121089935303 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 10.284703731536865 time for calcul the mask position with numpy : 0.4356567859649658 nb_pixel_total : 5859661 time to create 1 rle with new method : 0.6017627716064453 time for calcul the mask position with numpy : 0.02818608283996582 nb_pixel_total : 25528 time to create 1 rle with old method : 0.03080606460571289 time for calcul the mask position with numpy : 0.026436567306518555 nb_pixel_total : 56610 time to create 1 rle with old method : 0.05594921112060547 time for calcul the mask position with numpy : 0.02628183364868164 nb_pixel_total : 245096 time to create 1 rle with new method : 0.47353124618530273 time for calcul the mask position with numpy : 0.03574800491333008 nb_pixel_total : 266047 time to create 1 rle with new method : 0.38125109672546387 time for calcul the mask position with numpy : 0.0310516357421875 nb_pixel_total : 205863 time to create 1 rle with new method : 0.576486349105835 time for calcul the mask position with numpy : 0.02751469612121582 nb_pixel_total : 11151 time to create 1 rle with old method : 0.012186527252197266 time for calcul the mask position with numpy : 0.027040481567382812 nb_pixel_total : 5791 time to create 1 rle with old method : 0.007417917251586914 time for calcul the mask position with numpy : 0.03328537940979004 nb_pixel_total : 164347 time to create 1 rle with new method : 0.5964221954345703 time for calcul the mask position with numpy : 0.03685426712036133 nb_pixel_total : 103097 time to create 1 rle with old method : 0.11799764633178711 time for calcul the mask position with numpy : 0.05509066581726074 nb_pixel_total : 28763 time to create 1 rle with old method : 0.031208515167236328 time for calcul the mask position with numpy : 0.05372118949890137 nb_pixel_total : 38775 time to create 1 rle with old method : 0.04136085510253906 time for calcul the mask position with numpy : 0.05446028709411621 nb_pixel_total : 39511 time to create 1 rle with old method : 0.06208634376525879 create new chi : 4.037720680236816 time to delete rle : 0.0020132064819335938 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 12103 TO DO : save crop sub photo not yet done ! save time : 0.6794002056121826 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 8.43997836112976 time for calcul the mask position with numpy : 0.34813833236694336 nb_pixel_total : 5938062 time to create 1 rle with new method : 0.41551637649536133 time for calcul the mask position with numpy : 0.027135372161865234 nb_pixel_total : 55454 time to create 1 rle with old method : 0.0603182315826416 time for calcul the mask position with numpy : 0.02216362953186035 nb_pixel_total : 15046 time to create 1 rle with old method : 0.016598224639892578 time for calcul the mask position with numpy : 0.025761842727661133 nb_pixel_total : 98770 time to create 1 rle with old method : 0.10266780853271484 time for calcul the mask position with numpy : 0.02298569679260254 nb_pixel_total : 58793 time to create 1 rle with old method : 0.06297731399536133 time for calcul the mask position with numpy : 0.023438453674316406 nb_pixel_total : 18499 time to create 1 rle with old method : 0.01968097686767578 time for calcul the mask position with numpy : 0.02214980125427246 nb_pixel_total : 58331 time to create 1 rle with old method : 0.06157636642456055 time for calcul the mask position with numpy : 0.025201797485351562 nb_pixel_total : 249927 time to create 1 rle with new method : 0.4480140209197998 time for calcul the mask position with numpy : 0.02382183074951172 nb_pixel_total : 163 time to create 1 rle with old method : 0.0006611347198486328 time for calcul the mask position with numpy : 0.025826215744018555 nb_pixel_total : 5974 time to create 1 rle with old method : 0.0065877437591552734 time for calcul the mask position with numpy : 0.025770902633666992 nb_pixel_total : 3486 time to create 1 rle with old method : 0.0050923824310302734 time for calcul the mask position with numpy : 0.02705669403076172 nb_pixel_total : 201191 time to create 1 rle with new method : 0.34731125831604004 time for calcul the mask position with numpy : 0.031183481216430664 nb_pixel_total : 5154 time to create 1 rle with old method : 0.006581306457519531 time for calcul the mask position with numpy : 0.027543306350708008 nb_pixel_total : 138968 time to create 1 rle with old method : 0.14818096160888672 time for calcul the mask position with numpy : 0.023513317108154297 nb_pixel_total : 202422 time to create 1 rle with new method : 0.42644762992858887 create new chi : 2.9544360637664795 time to delete rle : 0.0013654232025146484 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 12394 TO DO : save crop sub photo not yet done ! save time : 0.6883800029754639 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 10.535179138183594 time for calcul the mask position with numpy : 0.5058739185333252 nb_pixel_total : 4759144 time to create 1 rle with new method : 0.4655914306640625 time for calcul the mask position with numpy : 0.03795766830444336 nb_pixel_total : 74622 time to create 1 rle with old method : 0.085235595703125 time for calcul the mask position with numpy : 0.039906978607177734 nb_pixel_total : 178079 time to create 1 rle with new method : 0.37847447395324707 time for calcul the mask position with numpy : 0.038548946380615234 nb_pixel_total : 15097 time to create 1 rle with old method : 0.023917198181152344 time for calcul the mask position with numpy : 0.032660722732543945 nb_pixel_total : 2500 time to create 1 rle with old method : 0.004171609878540039 time for calcul the mask position with numpy : 0.025310277938842773 nb_pixel_total : 15745 time to create 1 rle with old method : 0.01774001121520996 time for calcul the mask position with numpy : 0.02419257164001465 nb_pixel_total : 10802 time to create 1 rle with old method : 0.012202978134155273 time for calcul the mask position with numpy : 0.02524280548095703 nb_pixel_total : 98784 time to create 1 rle with old method : 0.10811209678649902 time for calcul the mask position with numpy : 0.03692960739135742 nb_pixel_total : 1122849 time to create 1 rle with new method : 1.250777244567871 time for calcul the mask position with numpy : 0.03342461585998535 nb_pixel_total : 637744 time to create 1 rle with new method : 0.5751814842224121 time for calcul the mask position with numpy : 0.026947975158691406 nb_pixel_total : 96516 time to create 1 rle with old method : 0.1120920181274414 time for calcul the mask position with numpy : 0.027719497680664062 nb_pixel_total : 17340 time to create 1 rle with old method : 0.029161691665649414 time for calcul the mask position with numpy : 0.025603771209716797 nb_pixel_total : 18584 time to create 1 rle with old method : 0.023533344268798828 time for calcul the mask position with numpy : 0.023045778274536133 nb_pixel_total : 2434 time to create 1 rle with old method : 0.0028121471405029297 create new chi : 4.1213059425354 time to delete rle : 0.002083301544189453 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 16962 TO DO : save crop sub photo not yet done ! save time : 0.975635290145874 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 6.758806228637695 time for calcul the mask position with numpy : 0.2914144992828369 nb_pixel_total : 4679764 time to create 1 rle with new method : 0.5861306190490723 time for calcul the mask position with numpy : 0.0245513916015625 nb_pixel_total : 316228 time to create 1 rle with new method : 0.7609336376190186 time for calcul the mask position with numpy : 0.021913766860961914 nb_pixel_total : 2151 time to create 1 rle with old method : 0.0024607181549072266 time for calcul the mask position with numpy : 0.02152228355407715 nb_pixel_total : 40698 time to create 1 rle with old method : 0.04632925987243652 time for calcul the mask position with numpy : 0.03828597068786621 nb_pixel_total : 1954429 time to create 1 rle with new method : 0.15638208389282227 time for calcul the mask position with numpy : 0.023726224899291992 nb_pixel_total : 56970 time to create 1 rle with old method : 0.060590267181396484 create new chi : 2.1084671020507812 time to delete rle : 0.0008585453033447266 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 10482 TO DO : save crop sub photo not yet done ! save time : 0.577338457107544 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 11.44118356704712 time for calcul the mask position with numpy : 1.145146131515503 nb_pixel_total : 6287092 time to create 1 rle with new method : 1.082197904586792 time for calcul the mask position with numpy : 0.03684735298156738 nb_pixel_total : 97472 time to create 1 rle with old method : 0.10376477241516113 time for calcul the mask position with numpy : 0.03574824333190918 nb_pixel_total : 121243 time to create 1 rle with old method : 0.12798643112182617 time for calcul the mask position with numpy : 0.0349123477935791 nb_pixel_total : 17256 time to create 1 rle with old method : 0.0195157527923584 time for calcul the mask position with numpy : 0.03480339050292969 nb_pixel_total : 221 time to create 1 rle with old method : 0.0005710124969482422 time for calcul the mask position with numpy : 0.02387261390686035 nb_pixel_total : 5343 time to create 1 rle with old method : 0.0060672760009765625 time for calcul the mask position with numpy : 0.022453784942626953 nb_pixel_total : 10952 time to create 1 rle with old method : 0.011871814727783203 time for calcul the mask position with numpy : 0.02255535125732422 nb_pixel_total : 48944 time to create 1 rle with old method : 0.05270528793334961 time for calcul the mask position with numpy : 0.023900270462036133 nb_pixel_total : 16749 time to create 1 rle with old method : 0.01961207389831543 time for calcul the mask position with numpy : 0.02621293067932129 nb_pixel_total : 14986 time to create 1 rle with old method : 0.02457737922668457 time for calcul the mask position with numpy : 0.030948638916015625 nb_pixel_total : 15199 time to create 1 rle with old method : 0.018830299377441406 time for calcul the mask position with numpy : 0.03340935707092285 nb_pixel_total : 9136 time to create 1 rle with old method : 0.013567924499511719 time for calcul the mask position with numpy : 0.035153865814208984 nb_pixel_total : 166526 time to create 1 rle with new method : 0.6641643047332764 time for calcul the mask position with numpy : 0.025238990783691406 nb_pixel_total : 72387 time to create 1 rle with old method : 0.08372378349304199 time for calcul the mask position with numpy : 0.02739119529724121 nb_pixel_total : 166734 time to create 1 rle with new method : 1.114924669265747 create new chi : 5.0002570152282715 time to delete rle : 0.0010828971862792969 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 10597 TO DO : save crop sub photo not yet done ! save time : 0.6133551597595215 nb_obj : 13 nb_hashtags : 6 time to prepare the origin masks : 8.39913558959961 time for calcul the mask position with numpy : 0.3132328987121582 nb_pixel_total : 6139666 time to create 1 rle with new method : 0.6069676876068115 time for calcul the mask position with numpy : 0.03139543533325195 nb_pixel_total : 446940 time to create 1 rle with new method : 0.6180579662322998 time for calcul the mask position with numpy : 0.025671720504760742 nb_pixel_total : 27172 time to create 1 rle with old method : 0.03592991828918457 time for calcul the mask position with numpy : 0.023415803909301758 nb_pixel_total : 71726 time to create 1 rle with old method : 0.07914400100708008 time for calcul the mask position with numpy : 0.022388696670532227 nb_pixel_total : 10834 time to create 1 rle with old method : 0.012291669845581055 time for calcul the mask position with numpy : 0.02395033836364746 nb_pixel_total : 17160 time to create 1 rle with old method : 0.01935100555419922 time for calcul the mask position with numpy : 0.02572345733642578 nb_pixel_total : 9805 time to create 1 rle with old method : 0.011021852493286133 time for calcul the mask position with numpy : 0.02433609962463379 nb_pixel_total : 15979 time to create 1 rle with old method : 0.019368886947631836 time for calcul the mask position with numpy : 0.024901866912841797 nb_pixel_total : 819 time to create 1 rle with old method : 0.18605494499206543 time for calcul the mask position with numpy : 0.04579758644104004 nb_pixel_total : 41763 time to create 1 rle with old method : 0.04636120796203613 time for calcul the mask position with numpy : 0.034424543380737305 nb_pixel_total : 207990 time to create 1 rle with new method : 0.6015691757202148 time for calcul the mask position with numpy : 0.03728675842285156 nb_pixel_total : 20567 time to create 1 rle with old method : 0.022574663162231445 time for calcul the mask position with numpy : 0.04482674598693848 nb_pixel_total : 33302 time to create 1 rle with old method : 0.037004709243774414 time for calcul the mask position with numpy : 0.03491497039794922 nb_pixel_total : 6517 time to create 1 rle with old method : 0.007124185562133789 create new chi : 3.128073215484619 time to delete rle : 0.0009341239929199219 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 9535 TO DO : save crop sub photo not yet done ! save time : 0.5823938846588135 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 5.277496337890625 time for calcul the mask position with numpy : 0.43393659591674805 nb_pixel_total : 6768921 time to create 1 rle with new method : 0.8713505268096924 time for calcul the mask position with numpy : 0.023041725158691406 nb_pixel_total : 107688 time to create 1 rle with old method : 0.11378765106201172 time for calcul the mask position with numpy : 0.02259969711303711 nb_pixel_total : 63849 time to create 1 rle with old method : 0.06859469413757324 time for calcul the mask position with numpy : 0.022632837295532227 nb_pixel_total : 10046 time to create 1 rle with old method : 0.010887861251831055 time for calcul the mask position with numpy : 0.023665428161621094 nb_pixel_total : 13931 time to create 1 rle with old method : 0.01503610610961914 time for calcul the mask position with numpy : 0.023563623428344727 nb_pixel_total : 49754 time to create 1 rle with old method : 0.05265998840332031 time for calcul the mask position with numpy : 0.022228240966796875 nb_pixel_total : 36051 time to create 1 rle with old method : 0.05569148063659668 create new chi : 1.8011043071746826 time to delete rle : 0.0008394718170166016 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5586 TO DO : save crop sub photo not yet done ! save time : 0.37297511100769043 map_output_result : {1337065446: (0.0, 'Should be the crop_list due to order', 0.0), 1337065359: (0.0, 'Should be the crop_list due to order', 0.0), 1337065329: (0.0, 'Should be the crop_list due to order', 0.0), 1337065322: (0.0, 'Should be the crop_list due to order', 0.0), 1337064056: (0.0, 'Should be the crop_list due to order', 0.0), 1337064044: (0.0, 'Should be the crop_list due to order', 0.0), 1337064032: (0.0, 'Should be the crop_list due to order', 0.0), 1337063981: (0.0, 'Should be the crop_list due to order', 0.0), 1337063848: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] Looping around the photos to save general results len do output : 9 /1337065446.Didn't retrieve data . /1337065359.Didn't retrieve data . /1337065329.Didn't retrieve data . /1337065322.Didn't retrieve data . /1337064056.Didn't retrieve data . /1337064044.Didn't retrieve data . /1337064032.Didn't retrieve data . /1337063981.Didn't retrieve data . /1337063848.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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013266324996948242 save_final save missing photos in datou_result : time spend for datou_step_exec : 108.51514077186584 time spend to save output : 0.01372838020324707 total time spend for step 5 : 108.52886915206909 step6:crop_condition Wed Feb 12 15:08:03 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 : 9 ! batch 1 Loaded 99 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 ! 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/1739369284_3881545 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.46772098541259766 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739369288_3881545 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0093414783477783 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739369290_3881545 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2743291854858398 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! 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/1739369294_3881545 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.178278923034668 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 begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739369299_3881545 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6183395385742188 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 [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] Looping around the photos to save general results len do output : 16 /1337116945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337116963Didn'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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.027997970581054688 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.21557641029358 time spend to save output : 0.02885150909423828 total time spend for step 6 : 18.244427919387817 step7:ventilate_hashtags_in_portfolio Wed Feb 12 15:08:21 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 : 20478693 get user id for portfolio 20478693 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`=20478693 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','cartonnette','environnement','plastique','Carton_brun','autre_refus','metal','Teint_Dans_La_Masse','mal_croppe','Carton_gris','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`=20478693 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','cartonnette','environnement','plastique','Carton_brun','autre_refus','metal','Teint_Dans_La_Masse','mal_croppe','Carton_gris','kraft')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20478707,20478708,20478709,20478710,20478711,20478712,20478713,20478714,20478715,20478716,20478717,20478718?tags=Teint_Dans_La_Masse,autre_refus,Carton_brun,flou,cartonnette,papier,Carton_gris,plastique,mal_croppe,kraft,metal,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] Looping around the photos to save general results len do output : 1 /20478693. 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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.015198469161987305 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4584474563598633 time spend to save output : 0.015461921691894531 total time spend for step 7 : 1.4739093780517578 step8:final Wed Feb 12 15:08:22 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 : {1337065446: ('0.06810816409748499',), 1337065359: ('0.06810816409748499',), 1337065329: ('0.06810816409748499',), 1337065322: ('0.06810816409748499',), 1337064056: ('0.06810816409748499',), 1337064044: ('0.06810816409748499',), 1337064032: ('0.06810816409748499',), 1337063981: ('0.06810816409748499',), 1337063848: ('0.06810816409748499',)} new output for save of step final : {1337065446: ('0.06810816409748499',), 1337065359: ('0.06810816409748499',), 1337065329: ('0.06810816409748499',), 1337065322: ('0.06810816409748499',), 1337064056: ('0.06810816409748499',), 1337064044: ('0.06810816409748499',), 1337064032: ('0.06810816409748499',), 1337063981: ('0.06810816409748499',), 1337063848: ('0.06810816409748499',)} [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] Looping around the photos to save general results len do output : 9 /1337065446.Didn't retrieve data . /1337065359.Didn't retrieve data . /1337065329.Didn't retrieve data . /1337065322.Didn't retrieve data . /1337064056.Didn't retrieve data . /1337064044.Didn't retrieve data . /1337064032.Didn't retrieve data . /1337063981.Didn't retrieve data . /1337063848.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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013288021087646484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10586094856262207 time spend to save output : 0.013827085494995117 total time spend for step 8 : 0.11968803405761719 step9:velours_tree Wed Feb 12 15:08:23 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.17661762237548828 time spend to save output : 0.0001227855682373047 total time spend for step 9 : 0.17674040794372559 step10:send_mail_cod Wed Feb 12 15:08:23 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_P20478693_12-02-2025_15_08_23.pdf 20478708 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204787081739369303 20478710 imagette204787101739369304 20478711 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 .imagette204787111739369304 20478714 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 .imagette204787141739369305 20478715 imagette204787151739369305 20478716 imagette204787161739369305 20478717 imagette204787171739369305 20478707 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 .imagette204787071739369305 20478709 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 .imagette204787091739369306 20478713 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204787131739369306 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20478693 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20478707,20478708,20478709,20478710,20478711,20478712,20478713,20478714,20478715,20478716,20478717,20478718?tags=Teint_Dans_La_Masse,autre_refus,Carton_brun,flou,cartonnette,papier,Carton_gris,plastique,mal_croppe,kraft,metal,environnement your option no_mail is active, we will not send the real mail to your client args[1337065446] : ('0.06810816409748499',) no score found for photo 1337065446 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337065359] : ('0.06810816409748499',) no score found for photo 1337065359 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337065329] : ('0.06810816409748499',) no score found for photo 1337065329 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337065322] : ('0.06810816409748499',) no score found for photo 1337065322 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337064056] : ('0.06810816409748499',) no score found for photo 1337064056 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337064044] : ('0.06810816409748499',) no score found for photo 1337064044 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337064032] : ('0.06810816409748499',) no score found for photo 1337064032 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337063981] : ('0.06810816409748499',) no score found for photo 1337063981 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com args[1337063848] : ('0.06810816409748499',) no score found for photo 1337063848 apple ('0.06810816409748499',) We are sending mail with results at report@fotonower.com refus_total : 0.06810816409748499 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=20478693 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1337063981,1337076505,1337066242,1337066170,1337066102,1337066070,1337066060,1337066054,1337066046,1337065959,1337065867,1337065826,1337063848,1337065322,1337065863,1337065531,1337065881,1337065921,1337065950,1337065967) Found this number of photos: 20 begin to download photo : 1337063981 begin to download photo : 1337066070 begin to download photo : 1337065867 begin to download photo : 1337065531 download finish for photo 1337066070 begin to download photo : 1337066060 download finish for photo 1337065531 begin to download photo : 1337065881 download finish for photo 1337063981 begin to download photo : 1337076505 download finish for photo 1337065881 begin to download photo : 1337065921 download finish for photo 1337066060 begin to download photo : 1337066054 download finish for photo 1337065867 begin to download photo : 1337065826 download finish for photo 1337076505 begin to download photo : 1337066242 download finish for photo 1337066054 begin to download photo : 1337066046 download finish for photo 1337065921 begin to download photo : 1337065950 download finish for photo 1337065826 begin to download photo : 1337063848 download finish for photo 1337066242 begin to download photo : 1337066170 download finish for photo 1337066046 begin to download photo : 1337065959 download finish for photo 1337065950 begin to download photo : 1337065967 download finish for photo 1337063848 begin to download photo : 1337065322 download finish for photo 1337066170 begin to download photo : 1337066102 download finish for photo 1337065967 download finish for photo 1337065322 begin to download photo : 1337065863 download finish for photo 1337065959 download finish for photo 1337066102 download finish for photo 1337065863 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20478693_12-02-2025_15_08_23.pdf results_Auto_P20478693_12-02-2025_15_08_23.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20478693_12-02-2025_15_08_23.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','20478693','results_Auto_P20478693_12-02-2025_15_08_23.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20478693_12-02-2025_15_08_23.pdf','pdf','','1.0','0.06810816409748499') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] 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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.013016700744628906 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.00551986694336 time spend to save output : 0.013382434844970703 total time spend for step 10 : 9.01890230178833 step11:split_time_score Wed Feb 12 15:08:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 29),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12022025 20478693 Nombre de photos uploadées : 29 / 23040 (0%) 12022025 20478693 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 12022025 20478693 Nombre de photos taguées (volume) : 0 / 29 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015711784362792969 elapsed_time : insert_dashboard_record_day_entry 0.023090362548828125 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.04373579117095025 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20468873_12-02-2025_07_23_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20468873 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20468873 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478684 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478685 order by id desc limit 1 Qualite : 0.06828395186591661 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20470039_12-02-2025_11_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20470039 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20470039 AND mptpi.`type`=3327 To do Qualite : 0.1063891310596211 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20470040_12-02-2025_12_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20470040 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20470040 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20470041 order by id desc limit 1 Qualite : 0.14334913679276415 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20470042_12-02-2025_11_44_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20470042 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20470042 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478686 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478687 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478688 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478689 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478690 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478691 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478692 order by id desc limit 1 Qualite : 0.06412932513927963 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20478693_12-02-2025_15_08_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478693 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`=20478693 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478694 order by id desc limit 1 Qualite : 0.03831497288729437 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20478695_12-02-2025_15_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478695 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20478695 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478696 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478697 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478698 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478699 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478700 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478701 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20478702 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12022025': {'nb_upload': 29, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337065446, 1337065359, 1337065329, 1337065322, 1337064056, 1337064044, 1337064032, 1337063981, 1337063848] Looping around the photos to save general results len do output : 1 /20478693Didn'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, '2579608') ('3459', None, '1337065446', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065359', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065329', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337065322', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064056', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064044', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337064032', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063981', None, None, None, None, None, '2579608') ('3459', None, None, None, None, None, None, None, '2579608') ('3459', None, '1337063848', None, None, None, None, None, '2579608') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013853788375854492 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.972208023071289 time spend to save output : 0.014203310012817383 total time spend for step 11 : 13.986411333084106 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 124.14user 114.34system 4:22.66elapsed 90%CPU (0avgtext+0avgdata 3793724maxresident)k 1771360inputs+114592outputs (19548major+9251814minor)pagefaults 0swaps