python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4741 -l 30 ' -s datou_current_4741 -M 0 -S 0 -U 95,95,120 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 : 3897747 load datou : 4741 # 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 13156 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13160 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13160 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13157 crop_condition is not consistent : 4 used against 2 in the step definition ! WARNING : number of outputs for step 13157 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 13161 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13159 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 13159 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 13156 doesn't seem to be define in the database( WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13161 doesn't seem to be define in the database( WARNING : type of input 3 of step 13159 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13163 have datatype=6 whereas input 2 of step 13157 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13162 have datatype=6 whereas input 2 of step 13157 have datatype=None We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13161 have datatype=10 whereas input 3 of step 13164 have datatype=6 WARNING : output 0 of step 13161 have datatype=10 whereas input 0 of step 13166 have datatype=18 WARNING : type of input 5 of step 13164 doesn't seem to be define in the database( WARNING : output 0 of step 13166 have datatype=11 whereas input 5 of step 13164 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 1 of step 13158 have datatype=7 whereas input 2 of step 13157 have datatype=None WARNING : type of output 3 of step 13157 doesn't seem to be define in the database( WARNING : type of input 3 of step 13161 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13163 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13162 doesn't seem to be define in the database( 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 ? 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 ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 : (5732, 'mask_refus_amiens_050123', 16384, 25088, 'mask_refus_amiens_050123', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2023, 1, 5, 13, 23, 59), datetime.datetime(2023, 1, 5, 13, 23, 59)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5972, 'learn_entrant_syctomXV_111023', 16384, 25088, 'learn_entrant_syctomXV_111023', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2023, 10, 11, 15, 57, 35), datetime.datetime(2023, 10, 11, 15, 57, 35)) load thcls load THCL from format json or kwargs add thcl : 3453 in CacheModelConfig load THCL from format json or kwargs add thcl : 3783 in CacheModelConfig load pdts add pdt : 5732 in CacheModelConfig add pdt : 5972 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 4741, datou_cur_ids : ['2827972'] with mtr_portfolio_ids : ['22889868'] and first list_photo_ids : [] new path : /proc/3897747/ 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 13156 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13160 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13160 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13157 crop_condition is not consistent : 4 used against 2 in the step definition ! WARNING : number of outputs for step 13157 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 13161 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13159 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 13159 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 13156 doesn't seem to be define in the database( WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13161 doesn't seem to be define in the database( WARNING : type of input 3 of step 13159 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13163 have datatype=6 whereas input 2 of step 13157 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13162 have datatype=6 whereas input 2 of step 13157 have datatype=None We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13161 have datatype=10 whereas input 3 of step 13164 have datatype=6 WARNING : output 0 of step 13161 have datatype=10 whereas input 0 of step 13166 have datatype=18 WARNING : type of input 5 of step 13164 doesn't seem to be define in the database( WARNING : output 0 of step 13166 have datatype=11 whereas input 5 of step 13164 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 1 of step 13158 have datatype=7 whereas input 2 of step 13157 have datatype=None WARNING : type of output 3 of step 13157 doesn't seem to be define in the database( WARNING : type of input 3 of step 13161 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13163 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13162 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, mask_detect, blur_detection, brightness, 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 , BFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 2 ; length of list_pids : 2 ; length of list_args : 2 time to download the photos : 0.45374083518981934 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Mon May 12 21:01:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3471 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-12 21:01:32.297231: 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-05-12 21:01:32.323326: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-12 21:01:32.325403: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1334000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-12 21:01:32.325439: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-12 21:01:32.329767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-12 21:01:32.473015: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x39b34f80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-12 21:01:32.473094: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-12 21:01:32.474364: 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-05-12 21:01:32.475010: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:01:32.478407: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:01:32.481226: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-12 21:01:32.481634: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-12 21:01:32.484384: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-12 21:01:32.485777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-12 21:01:32.491314: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-12 21:01:32.492415: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-12 21:01:32.492497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:01:32.493031: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-12 21:01:32.493046: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-12 21:01:32.493055: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-12 21:01:32.493921: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2866 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-05-12 21:01:32.803530: 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-05-12 21:01:32.803696: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:01:32.803720: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:01:32.803741: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-12 21:01:32.803761: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-12 21:01:32.803780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-12 21:01:32.803800: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-12 21:01:32.803820: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-12 21:01:32.807474: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-12 21:01:32.808758: 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-05-12 21:01:32.808824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:01:32.808845: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:01:32.808864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-12 21:01:32.808895: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-12 21:01:32.808914: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-12 21:01:32.808932: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-12 21:01:32.808951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-12 21:01:32.809977: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-12 21:01:32.810026: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-12 21:01:32.810037: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-12 21:01:32.810047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-12 21:01:32.811148: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2866 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 : thcl3783 thcls : [{'id': 3783, 'mtr_user_id': 31, 'name': 'learn_entrant_syctomXV_111023', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,sac,textiles,verre,organique,dasri,masque,encombrant,autre_emballage,autre_non_emballage,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4853, 'photo_desc_type': 5972, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 3783, 'mtr_user_id': 31, 'name': 'learn_entrant_syctomXV_111023', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,sac,textiles,verre,organique,dasri,masque,encombrant,autre_emballage,autre_non_emballage,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4853, 'photo_desc_type': 5972, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5972 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5972, 'learn_entrant_syctomXV_111023', 16384, 25088, 'learn_entrant_syctomXV_111023', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2023, 10, 11, 15, 57, 35), datetime.datetime(2023, 10, 11, 15, 57, 35)) {'thcl': {'id': 3783, 'mtr_user_id': 31, 'name': 'learn_entrant_syctomXV_111023', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,sac,textiles,verre,organique,dasri,masque,encombrant,autre_emballage,autre_non_emballage,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4853, 'photo_desc_type': 5972, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'sac', 'textiles', 'verre', 'organique', 'dasri', 'masque', 'encombrant', 'autre_emballage', 'autre_non_emballage', 'environnement'], 'list_hashtags_csv': 'background,sac,textiles,verre,organique,dasri,masque,encombrant,autre_emballage,autre_non_emballage,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4853, 'svm_hashtag_type_desc': 5972, 'photo_desc_type': 5972, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'sac', 'textiles', 'verre', 'organique', 'dasri', 'masque', 'encombrant', 'autre_emballage', 'autre_non_emballage', '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_entrant_syctomXV_111023 NUM_CLASSES 11 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_entrant_syctomXV_111023 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-05-12 21:01:43.118132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:01:43.330538: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-12 21:01:45.550772: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-12 21:01:45.550854: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-12 21:01:45.557654: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-12 21:01:45.557685: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. local folder : /data/models_weight/learn_entrant_syctomXV_111023 /data/models_weight/learn_entrant_syctomXV_111023/mask_modNone max_time_sub_proc : 3600 parent process len(results) : 2 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 : 5304 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl3783 Catched exception ! Connect or reconnect ! thcls : [{'id': 3783, 'mtr_user_id': 31, 'name': 'learn_entrant_syctomXV_111023', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,sac,textiles,verre,organique,dasri,masque,encombrant,autre_emballage,autre_non_emballage,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4853, 'photo_desc_type': 5972, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 3783, 'mtr_user_id': 31, 'name': 'learn_entrant_syctomXV_111023', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,sac,textiles,verre,organique,dasri,masque,encombrant,autre_emballage,autre_non_emballage,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4853, 'photo_desc_type': 5972, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5972 ['background', 'sac', 'textiles', 'verre', 'organique', 'dasri', 'masque', 'encombrant', 'autre_emballage', 'autre_non_emballage', 'environnement'] time for calcul the mask position with numpy : 0.0009815692901611328 nb_pixel_total : 46286 time to create 1 rle with old method : 0.05121445655822754 length of segment : 242 time for calcul the mask position with numpy : 0.49251699447631836 nb_pixel_total : 2947612 time to create 1 rle with new method : 0.8128907680511475 length of segment : 1131 time for calcul the mask position with numpy : 0.0005095005035400391 nb_pixel_total : 21198 time to create 1 rle with old method : 0.022901058197021484 length of segment : 215 time for calcul the mask position with numpy : 0.005991220474243164 nb_pixel_total : 163850 time to create 1 rle with new method : 0.016382694244384766 length of segment : 697 time for calcul the mask position with numpy : 0.0003345012664794922 nb_pixel_total : 16569 time to create 1 rle with old method : 0.018747806549072266 length of segment : 160 time for calcul the mask position with numpy : 0.0005328655242919922 nb_pixel_total : 26002 time to create 1 rle with old method : 0.03350353240966797 length of segment : 146 time for calcul the mask position with numpy : 0.00035190582275390625 nb_pixel_total : 9456 time to create 1 rle with old method : 0.010835647583007812 length of segment : 68 time for calcul the mask position with numpy : 0.0006718635559082031 nb_pixel_total : 18161 time to create 1 rle with old method : 0.02051520347595215 length of segment : 122 time for calcul the mask position with numpy : 0.0019526481628417969 nb_pixel_total : 17126 time to create 1 rle with old method : 0.01902461051940918 length of segment : 191 time for calcul the mask position with numpy : 0.00029969215393066406 nb_pixel_total : 7224 time to create 1 rle with old method : 0.008375167846679688 length of segment : 79 time for calcul the mask position with numpy : 0.0006034374237060547 nb_pixel_total : 10580 time to create 1 rle with old method : 0.012322425842285156 length of segment : 97 time for calcul the mask position with numpy : 0.0016553401947021484 nb_pixel_total : 48599 time to create 1 rle with old method : 0.053642988204956055 length of segment : 329 time for calcul the mask position with numpy : 0.010717153549194336 nb_pixel_total : 306280 time to create 1 rle with new method : 0.23302412033081055 length of segment : 677 time for calcul the mask position with numpy : 0.000545501708984375 nb_pixel_total : 14649 time to create 1 rle with old method : 0.023662567138671875 length of segment : 91 time for calcul the mask position with numpy : 0.00041365623474121094 nb_pixel_total : 12524 time to create 1 rle with old method : 0.015409708023071289 length of segment : 129 time for calcul the mask position with numpy : 0.016970157623291016 nb_pixel_total : 886036 time to create 1 rle with new method : 0.058669090270996094 length of segment : 784 time for calcul the mask position with numpy : 0.0003600120544433594 nb_pixel_total : 5983 time to create 1 rle with old method : 0.0068416595458984375 length of segment : 92 time for calcul the mask position with numpy : 0.0005249977111816406 nb_pixel_total : 3247 time to create 1 rle with old method : 0.003580808639526367 length of segment : 138 time for calcul the mask position with numpy : 0.41295599937438965 nb_pixel_total : 2830036 time to create 1 rle with new method : 0.5180737972259521 length of segment : 1123 time for calcul the mask position with numpy : 0.0020830631256103516 nb_pixel_total : 68623 time to create 1 rle with old method : 0.07737374305725098 length of segment : 410 time for calcul the mask position with numpy : 0.003357410430908203 nb_pixel_total : 89771 time to create 1 rle with old method : 0.11715316772460938 length of segment : 305 time for calcul the mask position with numpy : 0.0003440380096435547 nb_pixel_total : 18622 time to create 1 rle with old method : 0.021915912628173828 length of segment : 154 time for calcul the mask position with numpy : 0.0022482872009277344 nb_pixel_total : 70788 time to create 1 rle with old method : 0.08218169212341309 length of segment : 367 time for calcul the mask position with numpy : 0.0019609928131103516 nb_pixel_total : 68745 time to create 1 rle with old method : 0.0831441879272461 length of segment : 252 time for calcul the mask position with numpy : 0.0006566047668457031 nb_pixel_total : 13810 time to create 1 rle with old method : 0.026183128356933594 length of segment : 94 time for calcul the mask position with numpy : 0.0044176578521728516 nb_pixel_total : 182592 time to create 1 rle with new method : 0.006434917449951172 length of segment : 564 time for calcul the mask position with numpy : 0.0030517578125 nb_pixel_total : 139525 time to create 1 rle with old method : 0.15349483489990234 length of segment : 433 time for calcul the mask position with numpy : 0.0028214454650878906 nb_pixel_total : 40271 time to create 1 rle with old method : 0.045623064041137695 length of segment : 607 time for calcul the mask position with numpy : 0.0006773471832275391 nb_pixel_total : 19742 time to create 1 rle with old method : 0.022266626358032227 length of segment : 143 time for calcul the mask position with numpy : 0.0005550384521484375 nb_pixel_total : 17375 time to create 1 rle with old method : 0.02232074737548828 length of segment : 185 time for calcul the mask position with numpy : 0.00034236907958984375 nb_pixel_total : 13800 time to create 1 rle with old method : 0.01637125015258789 length of segment : 95 time for calcul the mask position with numpy : 0.0005412101745605469 nb_pixel_total : 17619 time to create 1 rle with old method : 0.02035808563232422 length of segment : 173 time for calcul the mask position with numpy : 0.0002894401550292969 nb_pixel_total : 13532 time to create 1 rle with old method : 0.015852928161621094 length of segment : 101 time for calcul the mask position with numpy : 0.0006079673767089844 nb_pixel_total : 17959 time to create 1 rle with old method : 0.021032094955444336 length of segment : 123 time for calcul the mask position with numpy : 0.0007681846618652344 nb_pixel_total : 23240 time to create 1 rle with old method : 0.02609419822692871 length of segment : 214 time spent for convertir_results : 7.659937381744385 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 35 chid ids of type : 4854 Number RLEs to save : 0 save missing photos in datou_result : time spend for datou_step_exec : 37.52401828765869 time spend to save output : 0.0892171859741211 total time spend for step 1 : 37.61323547363281 step2:mask_detect Mon May 12 21:02:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5304 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-12 21:02:09.693869: 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-05-12 21:02:09.719133: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-12 21:02:09.721197: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f132c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-12 21:02:09.721243: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-12 21:02:09.724917: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-12 21:02:09.964046: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3a8b5f10 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-12 21:02:09.964090: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-12 21:02:09.965299: 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-05-12 21:02:09.965736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:02:09.968632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:02:09.970764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-12 21:02:09.971194: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-12 21:02:09.973996: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-12 21:02:09.975343: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-12 21:02:09.979867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-12 21:02:09.981019: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-12 21:02:09.981097: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:02:09.981707: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-12 21:02:09.981723: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-12 21:02:09.981733: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-12 21:02:09.982804: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4843 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-05-12 21:02:10.220314: 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-05-12 21:02:10.220450: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:02:10.220472: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:02:10.220493: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-12 21:02:10.220512: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-12 21:02:10.220531: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-12 21:02:10.220550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-12 21:02:10.220569: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-12 21:02:10.221474: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-12 21:02:10.222493: 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-05-12 21:02:10.222527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-12 21:02:10.222545: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:02:10.222560: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-12 21:02:10.222576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-12 21:02:10.222592: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-12 21:02:10.222608: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-12 21:02:10.222624: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-12 21:02:10.223629: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-12 21:02:10.223666: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-12 21:02:10.223674: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-12 21:02:10.223682: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-12 21:02:10.224621: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4843 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 : thcl3453 thcls : [{'id': 3453, 'mtr_user_id': 31, 'name': 'mask_refus_amiens_050123', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4485, 'photo_desc_type': 5732, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 3453, 'mtr_user_id': 31, 'name': 'mask_refus_amiens_050123', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4485, 'photo_desc_type': 5732, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5732 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5732, 'mask_refus_amiens_050123', 16384, 25088, 'mask_refus_amiens_050123', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2023, 1, 5, 13, 23, 59), datetime.datetime(2023, 1, 5, 13, 23, 59)) {'thcl': {'id': 3453, 'mtr_user_id': 31, 'name': 'mask_refus_amiens_050123', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4485, 'photo_desc_type': 5732, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4485, 'svm_hashtag_type_desc': 5732, 'photo_desc_type': 5732, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', '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 mask_refus_amiens_050123 NUM_CLASSES 9 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 : mask_refus_amiens_050123 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-05-12 21:02:22.545226: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-12 21:02:22.737200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/mask_refus_amiens_050123 /data/models_weight/mask_refus_amiens_050123/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2023-01-05 13:44:07 create time in s3 : 2023-01-05 12:23:52 mask_model.h5 already exist and didn't need to update list_images length : 2 NEW PHOTO Processing 1 images image shape: (3120, 4160, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 4160.00000 nb d'objets trouves : 32 NEW PHOTO Processing 1 images image shape: (3120, 4160, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 4160.00000 nb d'objets trouves : 36 Detection mask done ! Trying to reset tf kernel 3899708 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 15 tf kernel not reseted sub process len(results) : 2 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 2 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 : 5304 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl3453 Catched exception ! Connect or reconnect ! thcls : [{'id': 3453, 'mtr_user_id': 31, 'name': 'mask_refus_amiens_050123', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4485, 'photo_desc_type': 5732, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 3453, 'mtr_user_id': 31, 'name': 'mask_refus_amiens_050123', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 4485, 'photo_desc_type': 5732, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5732 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0024535655975341797 nb_pixel_total : 30764 time to create 1 rle with old method : 0.038704633712768555 length of segment : 693 time for calcul the mask position with numpy : 0.07039594650268555 nb_pixel_total : 1967846 time to create 1 rle with new method : 0.8098266124725342 length of segment : 1126 time for calcul the mask position with numpy : 0.0011091232299804688 nb_pixel_total : 55713 time to create 1 rle with old method : 0.0717935562133789 length of segment : 265 time for calcul the mask position with numpy : 0.01824331283569336 nb_pixel_total : 794969 time to create 1 rle with new method : 0.031061649322509766 length of segment : 900 time for calcul the mask position with numpy : 0.0013942718505859375 nb_pixel_total : 61419 time to create 1 rle with old method : 0.0692131519317627 length of segment : 293 time for calcul the mask position with numpy : 0.46251606941223145 nb_pixel_total : 5258792 time to create 1 rle with new method : 1.510010004043579 length of segment : 1854 time for calcul the mask position with numpy : 0.0027120113372802734 nb_pixel_total : 102996 time to create 1 rle with old method : 0.11528539657592773 length of segment : 625 time for calcul the mask position with numpy : 0.0005509853363037109 nb_pixel_total : 22327 time to create 1 rle with old method : 0.028726816177368164 length of segment : 87 time for calcul the mask position with numpy : 0.0006284713745117188 nb_pixel_total : 35820 time to create 1 rle with old method : 0.04110836982727051 length of segment : 196 time for calcul the mask position with numpy : 0.00045108795166015625 nb_pixel_total : 24274 time to create 1 rle with old method : 0.028058528900146484 length of segment : 217 time for calcul the mask position with numpy : 0.0010716915130615234 nb_pixel_total : 47232 time to create 1 rle with old method : 0.05360674858093262 length of segment : 292 time for calcul the mask position with numpy : 0.002122163772583008 nb_pixel_total : 120486 time to create 1 rle with old method : 0.1332862377166748 length of segment : 517 time for calcul the mask position with numpy : 0.00031638145446777344 nb_pixel_total : 15245 time to create 1 rle with old method : 0.018181800842285156 length of segment : 106 time for calcul the mask position with numpy : 0.00045180320739746094 nb_pixel_total : 20608 time to create 1 rle with old method : 0.024184465408325195 length of segment : 172 time for calcul the mask position with numpy : 0.001477956771850586 nb_pixel_total : 84672 time to create 1 rle with old method : 0.09845256805419922 length of segment : 273 time for calcul the mask position with numpy : 0.0009477138519287109 nb_pixel_total : 48550 time to create 1 rle with old method : 0.05603289604187012 length of segment : 270 time for calcul the mask position with numpy : 0.00034546852111816406 nb_pixel_total : 13162 time to create 1 rle with old method : 0.015436649322509766 length of segment : 115 time for calcul the mask position with numpy : 0.0008437633514404297 nb_pixel_total : 45080 time to create 1 rle with old method : 0.05240440368652344 length of segment : 288 time for calcul the mask position with numpy : 0.001369476318359375 nb_pixel_total : 83245 time to create 1 rle with old method : 0.09812188148498535 length of segment : 398 time for calcul the mask position with numpy : 0.00031280517578125 nb_pixel_total : 17154 time to create 1 rle with old method : 0.019911766052246094 length of segment : 115 time for calcul the mask position with numpy : 0.00365447998046875 nb_pixel_total : 167924 time to create 1 rle with new method : 0.011240720748901367 length of segment : 743 time for calcul the mask position with numpy : 0.00042819976806640625 nb_pixel_total : 21001 time to create 1 rle with old method : 0.023934602737426758 length of segment : 89 time for calcul the mask position with numpy : 0.0005948543548583984 nb_pixel_total : 29385 time to create 1 rle with old method : 0.03525257110595703 length of segment : 152 time for calcul the mask position with numpy : 0.0008065700531005859 nb_pixel_total : 42914 time to create 1 rle with old method : 0.04914975166320801 length of segment : 194 time for calcul the mask position with numpy : 0.00191497802734375 nb_pixel_total : 117404 time to create 1 rle with old method : 0.13172578811645508 length of segment : 397 time for calcul the mask position with numpy : 0.00035071372985839844 nb_pixel_total : 12246 time to create 1 rle with old method : 0.014536619186401367 length of segment : 92 time for calcul the mask position with numpy : 0.002816438674926758 nb_pixel_total : 158032 time to create 1 rle with new method : 0.00722503662109375 length of segment : 449 time for calcul the mask position with numpy : 0.0015654563903808594 nb_pixel_total : 54653 time to create 1 rle with old method : 0.06184577941894531 length of segment : 320 time for calcul the mask position with numpy : 0.010591268539428711 nb_pixel_total : 3423 time to create 1 rle with old method : 0.006985664367675781 length of segment : 122 time for calcul the mask position with numpy : 0.007871389389038086 nb_pixel_total : 419611 time to create 1 rle with new method : 0.018966197967529297 length of segment : 597 time for calcul the mask position with numpy : 0.000942230224609375 nb_pixel_total : 35767 time to create 1 rle with old method : 0.04158520698547363 length of segment : 106 time for calcul the mask position with numpy : 0.0026476383209228516 nb_pixel_total : 64991 time to create 1 rle with old method : 0.07495903968811035 length of segment : 365 time for calcul the mask position with numpy : 0.05250072479248047 nb_pixel_total : 2312809 time to create 1 rle with new method : 0.8760168552398682 length of segment : 1127 time for calcul the mask position with numpy : 0.31697535514831543 nb_pixel_total : 3753865 time to create 1 rle with new method : 1.1477055549621582 length of segment : 1319 time for calcul the mask position with numpy : 0.0005838871002197266 nb_pixel_total : 30327 time to create 1 rle with old method : 0.03600192070007324 length of segment : 218 time for calcul the mask position with numpy : 0.00036263465881347656 nb_pixel_total : 15049 time to create 1 rle with old method : 0.018177509307861328 length of segment : 108 time for calcul the mask position with numpy : 0.0013394355773925781 nb_pixel_total : 83963 time to create 1 rle with old method : 0.09305953979492188 length of segment : 287 time for calcul the mask position with numpy : 0.0025043487548828125 nb_pixel_total : 166752 time to create 1 rle with new method : 0.006746530532836914 length of segment : 479 time for calcul the mask position with numpy : 0.0005142688751220703 nb_pixel_total : 30415 time to create 1 rle with old method : 0.03415250778198242 length of segment : 160 time for calcul the mask position with numpy : 0.0006306171417236328 nb_pixel_total : 36336 time to create 1 rle with old method : 0.04111599922180176 length of segment : 178 time for calcul the mask position with numpy : 0.0009925365447998047 nb_pixel_total : 8868 time to create 1 rle with old method : 0.010106801986694336 length of segment : 277 time for calcul the mask position with numpy : 0.0003979206085205078 nb_pixel_total : 20846 time to create 1 rle with old method : 0.023792505264282227 length of segment : 108 time for calcul the mask position with numpy : 0.0010421276092529297 nb_pixel_total : 51541 time to create 1 rle with old method : 0.08327603340148926 length of segment : 264 time for calcul the mask position with numpy : 0.0006320476531982422 nb_pixel_total : 38171 time to create 1 rle with old method : 0.04201555252075195 length of segment : 191 time for calcul the mask position with numpy : 0.00234222412109375 nb_pixel_total : 158782 time to create 1 rle with new method : 0.00603938102722168 length of segment : 481 time for calcul the mask position with numpy : 0.003803253173828125 nb_pixel_total : 898 time to create 1 rle with old method : 0.0013461112976074219 length of segment : 76 time for calcul the mask position with numpy : 0.0005288124084472656 nb_pixel_total : 10639 time to create 1 rle with old method : 0.012922048568725586 length of segment : 319 time for calcul the mask position with numpy : 0.0019304752349853516 nb_pixel_total : 112131 time to create 1 rle with old method : 0.12807798385620117 length of segment : 336 time for calcul the mask position with numpy : 0.0018467903137207031 nb_pixel_total : 37415 time to create 1 rle with old method : 0.04275822639465332 length of segment : 439 time for calcul the mask position with numpy : 0.0006215572357177734 nb_pixel_total : 26004 time to create 1 rle with old method : 0.031820058822631836 length of segment : 180 time for calcul the mask position with numpy : 0.0007901191711425781 nb_pixel_total : 48204 time to create 1 rle with old method : 0.05404782295227051 length of segment : 215 time for calcul the mask position with numpy : 0.0018494129180908203 nb_pixel_total : 101424 time to create 1 rle with old method : 0.1122443675994873 length of segment : 330 time for calcul the mask position with numpy : 0.0020089149475097656 nb_pixel_total : 119399 time to create 1 rle with old method : 0.12868022918701172 length of segment : 536 time for calcul the mask position with numpy : 0.0012443065643310547 nb_pixel_total : 64940 time to create 1 rle with old method : 0.07157516479492188 length of segment : 213 time for calcul the mask position with numpy : 0.0008544921875 nb_pixel_total : 31045 time to create 1 rle with old method : 0.035654544830322266 length of segment : 349 time for calcul the mask position with numpy : 0.000354766845703125 nb_pixel_total : 11023 time to create 1 rle with old method : 0.014945745468139648 length of segment : 81 time for calcul the mask position with numpy : 0.001703500747680664 nb_pixel_total : 68141 time to create 1 rle with old method : 0.08324742317199707 length of segment : 405 time for calcul the mask position with numpy : 0.0006656646728515625 nb_pixel_total : 24495 time to create 1 rle with old method : 0.027887582778930664 length of segment : 321 length of segment : 0 time for calcul the mask position with numpy : 0.0045375823974609375 nb_pixel_total : 12089 time to create 1 rle with old method : 0.013973474502563477 length of segment : 121 time for calcul the mask position with numpy : 0.0005307197570800781 nb_pixel_total : 31019 time to create 1 rle with old method : 0.03462052345275879 length of segment : 249 time for calcul the mask position with numpy : 0.019204139709472656 nb_pixel_total : 660018 time to create 1 rle with new method : 0.46184277534484863 length of segment : 1386 time for calcul the mask position with numpy : 0.0017240047454833984 nb_pixel_total : 78690 time to create 1 rle with old method : 0.08503603935241699 length of segment : 267 time for calcul the mask position with numpy : 0.0015358924865722656 nb_pixel_total : 76297 time to create 1 rle with old method : 0.08478140830993652 length of segment : 259 time for calcul the mask position with numpy : 0.0016484260559082031 nb_pixel_total : 86327 time to create 1 rle with old method : 0.0969698429107666 length of segment : 358 time for calcul the mask position with numpy : 0.001638174057006836 nb_pixel_total : 42833 time to create 1 rle with old method : 0.049170732498168945 length of segment : 306 time for calcul the mask position with numpy : 0.005335807800292969 nb_pixel_total : 243287 time to create 1 rle with new method : 0.017697811126708984 length of segment : 937 time for calcul the mask position with numpy : 0.0018239021301269531 nb_pixel_total : 76609 time to create 1 rle with old method : 0.09245586395263672 length of segment : 253 time spent for convertir_results : 17.72188138961792 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 103 chid ids of type : 4854 +++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 0 save missing photos in datou_result : time spend for datou_step_exec : 56.75259351730347 time spend to save output : 0.11512327194213867 total time spend for step 2 : 56.867716789245605 step3:blur_detection Mon May 12 21:03: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 ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: variance laplacian (3120, 4160) 2868.6227989659697 (3120, 4160) 3736.566662166579 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 2 time used for this insertion : 0.014065742492675781 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 2 time used for this insertion : 0.015478372573852539 save missing photos in datou_result : time spend for datou_step_exec : 0.7616357803344727 time spend to save output : 0.033805131912231445 total time spend for step 3 : 0.7954409122467041 step4:brightness Mon May 12 21:03:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1747076488_3897747_1357647104_cfd9a8838f62e781358563dc98e03c18.jpg treat image : temp/1747076488_3897747_1357647099_5a524760ddd574cacd022844a21bbd0e.jpg Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 2 time used for this insertion : 0.015648603439331055 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 2 time used for this insertion : 0.015636682510375977 save missing photos in datou_result : time spend for datou_step_exec : 3.4867303371429443 time spend to save output : 0.03618264198303223 total time spend for step 4 : 3.5229129791259766 step5:rle_unique_nms_with_priority Mon May 12 21:03:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 103 chid ids of type : 4854 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 46 nb_hashtags : 9 time to prepare the origin masks : 55.0182249546051 time for calcul the mask position with numpy : 0.4913973808288574 nb_pixel_total : 2444405 time to create 1 rle with new method : 1.6346015930175781 time for calcul the mask position with numpy : 0.05321383476257324 nb_pixel_total : 16925 time to create 1 rle with old method : 0.019037723541259766 time for calcul the mask position with numpy : 0.054259300231933594 nb_pixel_total : 27233 time to create 1 rle with old method : 0.02947545051574707 time for calcul the mask position with numpy : 0.053987979888916016 nb_pixel_total : 22217 time to create 1 rle with old method : 0.024197816848754883 time for calcul the mask position with numpy : 0.05080056190490723 nb_pixel_total : 13554 time to create 1 rle with old method : 0.01506352424621582 time for calcul the mask position with numpy : 0.05309891700744629 nb_pixel_total : 148825 time to create 1 rle with old method : 0.16097736358642578 time for calcul the mask position with numpy : 0.05307435989379883 nb_pixel_total : 20379 time to create 1 rle with old method : 0.02316117286682129 time for calcul the mask position with numpy : 0.05274605751037598 nb_pixel_total : 2332 time to create 1 rle with old method : 0.0031006336212158203 time for calcul the mask position with numpy : 0.2743089199066162 nb_pixel_total : 2943227 time to create 1 rle with new method : 1.1575405597686768 time for calcul the mask position with numpy : 0.05497264862060547 nb_pixel_total : 1511 time to create 1 rle with old method : 0.0025625228881835938 time for calcul the mask position with numpy : 0.0519871711730957 nb_pixel_total : 8582 time to create 1 rle with old method : 0.009656906127929688 time for calcul the mask position with numpy : 0.052366018295288086 nb_pixel_total : 129 time to create 1 rle with old method : 0.00018453598022460938 time for calcul the mask position with numpy : 0.052320003509521484 nb_pixel_total : 12559 time to create 1 rle with old method : 0.013781070709228516 time for calcul the mask position with numpy : 0.07700634002685547 nb_pixel_total : 738093 time to create 1 rle with new method : 1.535618782043457 time for calcul the mask position with numpy : 0.051825761795043945 nb_pixel_total : 12493 time to create 1 rle with old method : 0.013718843460083008 time for calcul the mask position with numpy : 0.0531458854675293 nb_pixel_total : 12348 time to create 1 rle with old method : 0.013691186904907227 time for calcul the mask position with numpy : 0.05384993553161621 nb_pixel_total : 44977 time to create 1 rle with old method : 0.05004119873046875 time for calcul the mask position with numpy : 0.05294346809387207 nb_pixel_total : 77069 time to create 1 rle with old method : 0.08513331413269043 time for calcul the mask position with numpy : 0.05402064323425293 nb_pixel_total : 30680 time to create 1 rle with old method : 0.03328442573547363 time for calcul the mask position with numpy : 0.053818464279174805 nb_pixel_total : 157203 time to create 1 rle with new method : 1.3036680221557617 time for calcul the mask position with numpy : 0.05002927780151367 nb_pixel_total : 9394 time to create 1 rle with old method : 0.011810541152954102 time for calcul the mask position with numpy : 0.05196356773376465 nb_pixel_total : 4183 time to create 1 rle with old method : 0.004810333251953125 time for calcul the mask position with numpy : 0.052222490310668945 nb_pixel_total : 47608 time to create 1 rle with old method : 0.05068540573120117 time for calcul the mask position with numpy : 0.05235433578491211 nb_pixel_total : 13607 time to create 1 rle with old method : 0.01572561264038086 time for calcul the mask position with numpy : 0.053431034088134766 nb_pixel_total : 9407 time to create 1 rle with old method : 0.010103702545166016 time for calcul the mask position with numpy : 0.05245184898376465 nb_pixel_total : 204904 time to create 1 rle with new method : 1.1741583347320557 time for calcul the mask position with numpy : 0.05880165100097656 nb_pixel_total : 76728 time to create 1 rle with old method : 0.08527827262878418 time for calcul the mask position with numpy : 0.05213427543640137 nb_pixel_total : 21176 time to create 1 rle with old method : 0.022949934005737305 time for calcul the mask position with numpy : 0.05348491668701172 nb_pixel_total : 24251 time to create 1 rle with old method : 0.027556657791137695 time for calcul the mask position with numpy : 0.05388784408569336 nb_pixel_total : 117106 time to create 1 rle with old method : 0.1309812068939209 time for calcul the mask position with numpy : 0.05305767059326172 nb_pixel_total : 50080 time to create 1 rle with old method : 0.05503511428833008 time for calcul the mask position with numpy : 0.053447723388671875 nb_pixel_total : 18452 time to create 1 rle with old method : 0.029523134231567383 time for calcul the mask position with numpy : 0.05976271629333496 nb_pixel_total : 48342 time to create 1 rle with old method : 0.05316615104675293 time for calcul the mask position with numpy : 0.05257225036621094 nb_pixel_total : 25851 time to create 1 rle with old method : 0.028219938278198242 time for calcul the mask position with numpy : 0.05479145050048828 nb_pixel_total : 83241 time to create 1 rle with old method : 0.08986258506774902 time for calcul the mask position with numpy : 0.05308413505554199 nb_pixel_total : 215 time to create 1 rle with old method : 0.00031876564025878906 time for calcul the mask position with numpy : 0.060904741287231445 nb_pixel_total : 35732 time to create 1 rle with old method : 0.04681110382080078 time for calcul the mask position with numpy : 0.052495718002319336 nb_pixel_total : 10072 time to create 1 rle with old method : 0.014028549194335938 time for calcul the mask position with numpy : 0.0532679557800293 nb_pixel_total : 46274 time to create 1 rle with old method : 0.05112171173095703 time for calcul the mask position with numpy : 0.05233168601989746 nb_pixel_total : 4658 time to create 1 rle with old method : 0.005213022232055664 time for calcul the mask position with numpy : 0.05266213417053223 nb_pixel_total : 61323 time to create 1 rle with old method : 0.0682516098022461 time for calcul the mask position with numpy : 0.052481651306152344 nb_pixel_total : 16538 time to create 1 rle with old method : 0.017819881439208984 time for calcul the mask position with numpy : 0.055333852767944336 nb_pixel_total : 2285 time to create 1 rle with old method : 0.002552032470703125 time for calcul the mask position with numpy : 0.47724199295043945 nb_pixel_total : 5306472 time to create 1 rle with new method : 1.4282052516937256 time for calcul the mask position with numpy : 0.050550222396850586 nb_pixel_total : 72 time to create 1 rle with old method : 0.0002663135528564453 time for calcul the mask position with numpy : 0.05237555503845215 nb_pixel_total : 4192 time to create 1 rle with old method : 0.004561424255371094 time for calcul the mask position with numpy : 0.05099916458129883 nb_pixel_total : 2296 time to create 1 rle with old method : 0.0025811195373535156 create new chi : 13.44619870185852 time to delete rle : 0.029706239700317383 batch 1 Loaded 47 chid ids of type : 4855 Number RLEs to save : 25443 TO DO : save crop sub photo not yet done ! save time : 1.5029633045196533 nb_obj : 49 nb_hashtags : 9 time to prepare the origin masks : 65.47345066070557 time for calcul the mask position with numpy : 0.3750648498535156 nb_pixel_total : 4204176 time to create 1 rle with new method : 1.5198791027069092 time for calcul the mask position with numpy : 0.07956743240356445 nb_pixel_total : 116069 time to create 1 rle with old method : 0.13155627250671387 time for calcul the mask position with numpy : 0.05303382873535156 nb_pixel_total : 24382 time to create 1 rle with old method : 0.03099966049194336 time for calcul the mask position with numpy : 0.05311942100524902 nb_pixel_total : 33387 time to create 1 rle with old method : 0.040354251861572266 time for calcul the mask position with numpy : 0.2440321445465088 nb_pixel_total : 2827063 time to create 1 rle with new method : 1.689732551574707 time for calcul the mask position with numpy : 0.07011914253234863 nb_pixel_total : 18159 time to create 1 rle with old method : 0.020813465118408203 time for calcul the mask position with numpy : 0.052726030349731445 nb_pixel_total : 16364 time to create 1 rle with old method : 0.018266916275024414 time for calcul the mask position with numpy : 0.05342674255371094 nb_pixel_total : 3113 time to create 1 rle with old method : 0.0035762786865234375 time for calcul the mask position with numpy : 0.052420616149902344 nb_pixel_total : 18458 time to create 1 rle with old method : 0.020730257034301758 time for calcul the mask position with numpy : 0.05298423767089844 nb_pixel_total : 49474 time to create 1 rle with old method : 0.05330181121826172 time for calcul the mask position with numpy : 0.05124521255493164 nb_pixel_total : 4209 time to create 1 rle with old method : 0.004590749740600586 time for calcul the mask position with numpy : 0.05159187316894531 nb_pixel_total : 46450 time to create 1 rle with old method : 0.04954171180725098 time for calcul the mask position with numpy : 0.0531001091003418 nb_pixel_total : 108032 time to create 1 rle with old method : 0.1147606372833252 time for calcul the mask position with numpy : 0.05260920524597168 nb_pixel_total : 20580 time to create 1 rle with old method : 0.02286529541015625 time for calcul the mask position with numpy : 0.052379608154296875 nb_pixel_total : 640 time to create 1 rle with old method : 0.0007989406585693359 time for calcul the mask position with numpy : 0.05355072021484375 nb_pixel_total : 13759 time to create 1 rle with old method : 0.015392780303955078 time for calcul the mask position with numpy : 0.05656599998474121 nb_pixel_total : 28918 time to create 1 rle with old method : 0.03246164321899414 time for calcul the mask position with numpy : 0.06190133094787598 nb_pixel_total : 17346 time to create 1 rle with old method : 0.019286394119262695 time for calcul the mask position with numpy : 0.05257296562194824 nb_pixel_total : 11118 time to create 1 rle with old method : 0.012886762619018555 time for calcul the mask position with numpy : 0.05231475830078125 nb_pixel_total : 218 time to create 1 rle with old method : 0.0007112026214599609 time for calcul the mask position with numpy : 0.051905155181884766 nb_pixel_total : 530 time to create 1 rle with old method : 0.0009245872497558594 time for calcul the mask position with numpy : 0.05314803123474121 nb_pixel_total : 68481 time to create 1 rle with old method : 0.08149480819702148 time for calcul the mask position with numpy : 0.05326414108276367 nb_pixel_total : 37288 time to create 1 rle with old method : 0.041014671325683594 time for calcul the mask position with numpy : 0.052805185317993164 nb_pixel_total : 89584 time to create 1 rle with old method : 0.09443235397338867 time for calcul the mask position with numpy : 0.05241227149963379 nb_pixel_total : 68409 time to create 1 rle with old method : 0.07478165626525879 time for calcul the mask position with numpy : 0.053360700607299805 nb_pixel_total : 3101 time to create 1 rle with old method : 0.003688812255859375 time for calcul the mask position with numpy : 0.05340933799743652 nb_pixel_total : 119119 time to create 1 rle with old method : 0.12859749794006348 time for calcul the mask position with numpy : 0.05115818977355957 nb_pixel_total : 15947 time to create 1 rle with old method : 0.01734137535095215 time for calcul the mask position with numpy : 0.051175594329833984 nb_pixel_total : 101186 time to create 1 rle with old method : 0.10958981513977051 time for calcul the mask position with numpy : 0.06534576416015625 nb_pixel_total : 506636 time to create 1 rle with new method : 1.7325108051300049 time for calcul the mask position with numpy : 0.05026507377624512 nb_pixel_total : 67825 time to create 1 rle with old method : 0.07147765159606934 time for calcul the mask position with numpy : 0.05140423774719238 nb_pixel_total : 70496 time to create 1 rle with old method : 0.07423067092895508 time for calcul the mask position with numpy : 0.05581808090209961 nb_pixel_total : 17797 time to create 1 rle with old method : 0.01970076560974121 time for calcul the mask position with numpy : 0.05360698699951172 nb_pixel_total : 13718 time to create 1 rle with old method : 0.016732454299926758 time for calcul the mask position with numpy : 0.053270816802978516 nb_pixel_total : 14 time to create 1 rle with old method : 5.841255187988281e-05 time for calcul the mask position with numpy : 0.05301833152770996 nb_pixel_total : 83898 time to create 1 rle with old method : 0.09326720237731934 time for calcul the mask position with numpy : 0.05249810218811035 nb_pixel_total : 10595 time to create 1 rle with old method : 0.011722087860107422 time for calcul the mask position with numpy : 0.05245637893676758 nb_pixel_total : 38031 time to create 1 rle with old method : 0.04126095771789551 time for calcul the mask position with numpy : 0.05173969268798828 nb_pixel_total : 25947 time to create 1 rle with old method : 0.027903079986572266 time for calcul the mask position with numpy : 0.0505368709564209 nb_pixel_total : 17360 time to create 1 rle with old method : 0.018879175186157227 time for calcul the mask position with numpy : 0.0518035888671875 nb_pixel_total : 47994 time to create 1 rle with old method : 0.052947998046875 time for calcul the mask position with numpy : 0.05129384994506836 nb_pixel_total : 1111 time to create 1 rle with old method : 0.001402139663696289 time for calcul the mask position with numpy : 0.05187654495239258 nb_pixel_total : 148185 time to create 1 rle with old method : 0.18648219108581543 time for calcul the mask position with numpy : 0.05016899108886719 nb_pixel_total : 32469 time to create 1 rle with old method : 0.03500938415527344 time for calcul the mask position with numpy : 0.05118250846862793 nb_pixel_total : 32241 time to create 1 rle with old method : 0.03346538543701172 time for calcul the mask position with numpy : 0.37462663650512695 nb_pixel_total : 3747259 time to create 1 rle with new method : 1.214406967163086 time for calcul the mask position with numpy : 0.052498817443847656 nb_pixel_total : 12031 time to create 1 rle with old method : 0.013247013092041016 time for calcul the mask position with numpy : 0.05089449882507324 nb_pixel_total : 8855 time to create 1 rle with old method : 0.009453296661376953 time for calcul the mask position with numpy : 0.05084800720214844 nb_pixel_total : 30310 time to create 1 rle with old method : 0.032622575759887695 time for calcul the mask position with numpy : 0.05108046531677246 nb_pixel_total : 868 time to create 1 rle with old method : 0.0010576248168945312 create new chi : 11.775137662887573 time to delete rle : 0.0024721622467041016 batch 1 Loaded 50 chid ids of type : 4855 Number RLEs to save : 28942 TO DO : save crop sub photo not yet done ! save time : 1.7152233123779297 map_output_result : {1357647104: (0.33657284228474693, 'Should be the crop_list due to order', 0.18701842169161487), 1357647099: (0.33657284228474693, 'Should be the crop_list due to order', 0.48612726287787894)} 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 [1357647104, 1357647099] Looping around the photos to save general results len do output : 2 /1357647104.Didn't retrieve data . /1357647099.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 ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647104', None, None, None, None, None, '2827972') ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647099', None, None, None, None, None, '2827972') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.014821767807006836 save_final save missing photos in datou_result : time spend for datou_step_exec : 149.70529103279114 time spend to save output : 0.015227317810058594 total time spend for step 5 : 149.7205183506012 step6:crop_condition Mon May 12 21:05:37 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 : 4855 Loading chi in step crop for list_pids : 2 ! batch 1 Loaded 97 chid ids of type : 4855 begin to crop the class : papier param for this class : {'min_score': 0.1} filtre for class : papier hashtag_id of this class : 492668766 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 : 3015255 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076743_3897747 we have uploaded 5 photos in the portfolio 3015255 time of upload the photos Elapsed time : 1.6018896102905273 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.1} filtre for class : carton hashtag_id of this class : 492774966 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3015255 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076745_3897747 we have uploaded 2 photos in the portfolio 3015255 time of upload the photos Elapsed time : 0.6886217594146729 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.1} filtre for class : metal hashtag_id of this class : 492628673 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 27 About to insert : list_path_to_insert length 27 new photo from crops ! About to upload 27 photos upload in portfolio : 3015255 init cache_photo without model_param we have 27 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076755_3897747 we have uploaded 27 photos in the portfolio 3015255 time of upload the photos Elapsed time : 6.894903659820557 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.1} filtre for class : pet_clair hashtag_id of this class : 2107755846 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : pet_clair begin to crop the class : pehd param for this class : {'min_score': 0.1} filtre for class : pehd hashtag_id of this class : 628944319 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.1} filtre for class : pet_fonce hashtag_id of this class : 2107755900 begin to crop the class : sac param for this class : {'min_score': 0.1} filtre for class : sac hashtag_id of this class : 492618350 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3015255 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076767_3897747 we have uploaded 15 photos in the portfolio 3015255 time of upload the photos Elapsed time : 4.271470308303833 we have finished the crop for the class : sac begin to crop the class : textiles param for this class : {'min_score': 0.1} filtre for class : textiles hashtag_id of this class : 494789423 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 : 3015255 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076772_3897747 we have uploaded 1 photos in the portfolio 3015255 time of upload the photos Elapsed time : 0.4905509948730469 we have finished the crop for the class : textiles begin to crop the class : verre param for this class : {'min_score': 0.1} filtre for class : verre hashtag_id of this class : 492631919 begin to crop the class : organique param for this class : {'min_score': 0.1} filtre for class : organique hashtag_id of this class : 530726390 begin to crop the class : dasri param for this class : {'min_score': 0.1} filtre for class : dasri hashtag_id of this class : 1608424396 begin to crop the class : masque param for this class : {'min_score': 0.1} filtre for class : masque hashtag_id of this class : 492626781 begin to crop the class : encombrant param for this class : {'min_score': 0.1} filtre for class : encombrant hashtag_id of this class : 605975549 begin to crop the class : autre param for this class : {'min_score': 0.1} filtre for class : autre hashtag_id of this class : 494826614 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3015255 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076776_3897747 we have uploaded 2 photos in the portfolio 3015255 time of upload the photos Elapsed time : 0.7622299194335938 we have finished the crop for the class : autre begin to crop the class : autre_emballage param for this class : {'min_score': 0.1} filtre for class : autre_emballage hashtag_id of this class : 2107760328 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 : 3015255 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076777_3897747 we have uploaded 1 photos in the portfolio 3015255 time of upload the photos Elapsed time : 0.4922661781311035 we have finished the crop for the class : autre_emballage begin to crop the class : autre_non_emballage param for this class : {'min_score': 0.1} filtre for class : autre_non_emballage hashtag_id of this class : 2107760329 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 : 3015255 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076779_3897747 we have uploaded 4 photos in the portfolio 3015255 time of upload the photos Elapsed time : 1.2573723793029785 we have finished the crop for the class : autre_non_emballage begin to crop the class : environnement param for this class : {'min_score': 0.1} filtre for class : environnement hashtag_id of this class : 493012381 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3015255 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747076864_3897747 we have uploaded 14 photos in the portfolio 3015255 time of upload the photos Elapsed time : 5.0053277015686035 we have finished the crop for the class : environnement delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1357647104, 1357647099] Looping around the photos to save general results len do output : 71 /1357721651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357721792Didn'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 ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647104', None, None, None, None, None, '2827972') ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647099', None, None, None, None, None, '2827972') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 215 time used for this insertion : 0.031436920166015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 132.07693481445312 time spend to save output : 0.11693930625915527 total time spend for step 6 : 132.19387412071228 step7:ventilate_hashtags_in_portfolio Mon May 12 21:07:50 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 ! Iterating over portfolio : 22889868 get user id for portfolio 22889868 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`=22889868 AND mptpi.`type`=4855 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','pet_fonce','pet_opaque','barquette_opaque','film_plastique','ela','sac','textiles','verre','organique','dasri','masque','encombrant','autre_emballage','autre_non_emballage','environnement','autre','flux_dev','mal_croppe','flou','film_dev_souple','sac_om_plein')) AND mptpi.`min_score`=0.1 To do To do 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`=22889868 AND mptpi.`type`=4855 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','pet_fonce','pet_opaque','barquette_opaque','film_plastique','ela','sac','textiles','verre','organique','dasri','masque','encombrant','autre_emballage','autre_non_emballage','environnement','autre','flux_dev','mal_croppe','flou','film_dev_souple','sac_om_plein')) AND mptpi.`min_score`=0.1 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") 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") 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`=22889868 AND mptpi.`type`=4856 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','pet_fonce','pet_opaque','barquette_opaque','film_plastique','ela','sac','textiles','verre','organique','dasri','masque','encombrant','autre_emballage','autre_non_emballage','environnement','autre','flux_dev','mal_croppe','flou','film_dev_souple','sac_om_plein')) AND mptpi.`min_score`=0.1 To do To do 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`=22889868 AND mptpi.`type`=4856 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','pet_fonce','pet_opaque','barquette_opaque','film_plastique','ela','sac','textiles','verre','organique','dasri','masque','encombrant','autre_emballage','autre_non_emballage','environnement','autre','flux_dev','mal_croppe','flou','film_dev_souple','sac_om_plein')) AND mptpi.`min_score`=0.1 To do lien utilise dans velours : https://www.fotonower.com/velours/22895780,22895781,22895782,22895783,22895784,22895789,22895791,22895792,22895793,22895794,22895795,22895796,22895798,22895799,22895800,22895801,22895802,22895803,22895804,22895805?tags=papier,carton,metal,pet_clair,pehd,ela,textiles,verre,organique,dasri,masque,encombrant,autre_non_emballage,environnement,autre,flux_dev,mal_croppe,flou,film_dev_souple,sac_om_plein&datou_id_consolidate=4742&port_consolidate=22889868 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1357647104, 1357647099] Looping around the photos to save general results len do output : 1 /22889868. 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 ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647104', None, None, None, None, None, '2827972') ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647099', None, None, None, None, None, '2827972') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.014755487442016602 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.248484134674072 time spend to save output : 0.015001773834228516 total time spend for step 7 : 4.263485908508301 step8:final Mon May 12 21:07:54 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 : {1357647104: ('0.3318970309390654',), 1357647099: ('0.3318970309390654',)} new output for save of step final : {1357647104: ('0.3318970309390654',), 1357647099: ('0.3318970309390654',)} [1357647104, 1357647099] Looping around the photos to save general results len do output : 2 /1357647104.Didn't retrieve data . /1357647099.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 ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647104', None, None, None, None, None, '2827972') ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647099', None, None, None, None, None, '2827972') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012925863265991211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12038683891296387 time spend to save output : 0.013278484344482422 total time spend for step 8 : 0.1336653232574463 step9:velours_tree Mon May 12 21:07:54 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.8479063510894775 time spend to save output : 3.600120544433594e-05 total time spend for step 9 : 0.8479423522949219 step10:send_mail_cod Mon May 12 21:07:55 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 complete output_args for input 1 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_P22889868_12-05-2025_21_07_55.pdf 22895754 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette228957541747076875 22895755 change filename to text .change filename to text .imagette228957551747076875 22895756 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette228957561747076875 22895757 imagette228957571747076877 22895758 imagette228957581747076877 22895759 imagette228957591747076877 22895760 imagette228957601747076877 22895761 imagette228957611747076877 22895762 imagette228957621747076877 22895763 imagette228957631747076877 22895764 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 .imagette228957641747076877 22895765 change filename to text .imagette228957651747076878 22895766 imagette228957661747076878 22895767 imagette228957671747076878 22895768 imagette228957681747076878 22895769 imagette228957691747076878 22895770 imagette228957701747076878 22895771 change filename to text .imagette228957711747076878 22895772 change filename to text .change filename to text .change filename to text .change filename to text .imagette228957721747076878 22895774 change filename to text .change filename to text .imagette228957741747076878 22895775 imagette228957751747076878 22895776 imagette228957761747076878 22895777 imagette228957771747076878 22895778 imagette228957781747076878 22895779 imagette228957791747076879 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22889868 and hashtag_type = 4855 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22895780,22895781,22895782,22895783,22895784,22895789,22895791,22895792,22895793,22895794,22895795,22895796,22895798,22895799,22895800,22895801,22895802,22895803,22895804,22895805?tags=papier,carton,metal,pet_clair,pehd,ela,textiles,verre,organique,dasri,masque,encombrant,autre_non_emballage,environnement,autre,flux_dev,mal_croppe,flou,film_dev_souple,sac_om_plein&datou_id_consolidate=4742&port_consolidate=22889868 your option no_mail is active, we will not send the real mail to your client args[1357647104] : ((1357647104, 2868.6227989659697, 492609224), (1357647104, -0.589578858873519, 501862349), '0.3318970309390654') We are sending mail with results at report@fotonower.com,cod@fotonower.com args[1357647099] : ((1357647099, 3736.566662166579, 492609224), (1357647099, -0.9845338941142276, 501862349), '0.3318970309390654') We are sending mail with results at report@fotonower.com,cod@fotonower.com refus_total : 0.3318970309390654 2022-04-13 10:29:59 0 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22889868_12-05-2025_21_07_55.pdf results_Auto_P22889868_12-05-2025_21_07_55.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22889868_12-05-2025_21_07_55.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4741','22889868','results_Auto_P22889868_12-05-2025_21_07_55.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22889868_12-05-2025_21_07_55.pdf','pdf','','0.62','0.3318970309390654') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1357647104, 1357647099] 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 ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647104', None, None, None, None, None, '2827972') ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647099', None, None, None, None, None, '2827972') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.0152740478515625 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.154642581939697 time spend to save output : 0.015445709228515625 total time spend for step 10 : 5.170088291168213 step11:split_time_score Mon May 12 21:08:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 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'}] (('45', 1), ('46', 1)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12052025 22889868 Nombre de photos uploadées : 2 / 23040 (0%) 12052025 22889868 Nombre de photos taguées (types de déchets): 0 / 2 (0%) 12052025 22889868 Nombre de photos taguées (volume) : 0 / 2 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ?? elapsed_time : fill_and_build_computed_from_old_data 0.0002067089080810547 elapsed_time : insert_dashboard_record_day_entry 0.02761220932006836 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.3318970309390654 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22889868_12-05-2025_21_07_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22889868 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 13156 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13160 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13160 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13157 crop_condition is not consistent : 4 used against 2 in the step definition ! WARNING : number of outputs for step 13157 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 13161 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13159 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 13159 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 13156 doesn't seem to be define in the database( WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13161 doesn't seem to be define in the database( WARNING : type of input 3 of step 13159 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13163 have datatype=6 whereas input 2 of step 13157 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13162 have datatype=6 whereas input 2 of step 13157 have datatype=None We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13161 have datatype=10 whereas input 3 of step 13164 have datatype=6 WARNING : output 0 of step 13161 have datatype=10 whereas input 0 of step 13166 have datatype=18 WARNING : type of input 5 of step 13164 doesn't seem to be define in the database( WARNING : output 0 of step 13166 have datatype=11 whereas input 5 of step 13164 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 1 of step 13158 have datatype=7 whereas input 2 of step 13157 have datatype=None WARNING : type of output 3 of step 13157 doesn't seem to be define in the database( WARNING : type of input 3 of step 13161 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13163 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13162 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`=22889868 AND mptpi.`type`=4855 To do Qualite : 0.3378707242551948 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22889869_12-05-2025_21_00_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22889869 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 13156 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13160 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13160 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13158 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13157 crop_condition is not consistent : 4 used against 2 in the step definition ! WARNING : number of outputs for step 13157 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 13161 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13159 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 13159 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 13156 doesn't seem to be define in the database( WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13161 doesn't seem to be define in the database( WARNING : type of input 3 of step 13159 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13163 have datatype=6 whereas input 2 of step 13157 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 0 of step 13162 have datatype=6 whereas input 2 of step 13157 have datatype=None We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13161 have datatype=10 whereas input 3 of step 13164 have datatype=6 WARNING : output 0 of step 13161 have datatype=10 whereas input 0 of step 13166 have datatype=18 WARNING : type of input 5 of step 13164 doesn't seem to be define in the database( WARNING : output 0 of step 13166 have datatype=11 whereas input 5 of step 13164 have datatype=None WARNING : type of input 2 of step 13157 doesn't seem to be define in the database( WARNING : output 1 of step 13158 have datatype=7 whereas input 2 of step 13157 have datatype=None WARNING : type of output 3 of step 13157 doesn't seem to be define in the database( WARNING : type of input 3 of step 13161 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13163 doesn't seem to be define in the database( WARNING : type of output 2 of step 13160 doesn't seem to be define in the database( WARNING : type of input 1 of step 13162 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`=22889869 AND mptpi.`type`=4855 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12052025': {'nb_upload': 2, '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 [1357647104, 1357647099] Looping around the photos to save general results len do output : 1 /22889868Didn'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 ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647104', None, None, None, None, None, '2827972') ('4741', None, None, None, None, None, None, None, '2827972') ('4741', '22889868', '1357647099', None, None, None, None, None, '2827972') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.015595674514770508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.31584930419921875 time spend to save output : 0.015824556350708008 total time spend for step 11 : 0.33167386054992676 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 1 len(input) + len(total_photo_id_missing) : 2 set_done_treatment 232.55user 136.93system 6:34.47elapsed 93%CPU (0avgtext+0avgdata 4166812maxresident)k 1120144inputs+234664outputs (9918major+18373060minor)pagefaults 0swaps