python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -C 3911020' -s traitement_4877 -M 0 -S 0 -U 100,80,95 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/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', '/home/admin/workarea/git/apy', '/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 : 4095625 load datou : 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) 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 : step 0 init_dummy_multi_datou is not linked in the step_by_step architecture ! WARNING : step 1294 init_dummy_multi_datou is not linked in the step_by_step architecture ! 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 ! 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 : (photo_id, hashtag_id, score_max) was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? load thcls load pdts 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 : 4877, datou_cur_ids : ['3911020'] with mtr_portfolio_ids : ['27666949'] and first list_photo_ids : [] new path : /proc/4095625/ 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 ! 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 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : 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 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, tfhub_classification2, argmax over limit max, limiting to limit_max 20 list_input_json : [] origin We have 1 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.749274730682373 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 : 9 step1:mask_detect Fri Oct 10 09:17:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-10 09:17:20.824060: 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-10-10 09:17:20.850557: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:17:20.852599: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9a8c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:17:20.852644: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:17:20.856093: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:17:20.962096: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x6be62c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:17:20.962142: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:17:20.963618: 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-10-10 09:17:20.964014: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:17:20.966891: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:17:20.969494: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:17:20.969943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:17:20.972806: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:17:20.974016: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:17:20.978948: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:17:20.980706: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:17:20.980787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:17:20.981698: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:17:20.981717: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:17:20.981728: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:17:20.983439: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9987 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-10-10 09:17:21.386770: 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-10-10 09:17:21.386892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:17:21.386921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:17:21.386946: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:17:21.386988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:17:21.387013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:17:21.387037: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:17:21.387062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:17:21.388570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:17:21.389880: 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-10-10 09:17:21.389940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:17:21.389956: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:17:21.389970: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:17:21.389984: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:17:21.389998: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:17:21.390012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:17:21.390026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:17:21.391349: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:17:21.391385: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:17:21.391395: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:17:21.391403: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:17:21.392784: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9987 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-10 09:17:27.971256: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:17:28.156391: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 5 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 9 Detection mask done ! Trying to reset tf kernel 4095747 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5485 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 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 : 10774 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.00012564659118652344 nb_pixel_total : 1486 time to create 1 rle with old method : 0.0018334388732910156 length of segment : 59 time for calcul the mask position with numpy : 4.6253204345703125e-05 nb_pixel_total : 293 time to create 1 rle with old method : 0.00039696693420410156 length of segment : 22 time for calcul the mask position with numpy : 0.007725954055786133 nb_pixel_total : 325509 time to create 1 rle with new method : 0.026073932647705078 length of segment : 1270 time for calcul the mask position with numpy : 0.00014400482177734375 nb_pixel_total : 6718 time to create 1 rle with old method : 0.00764012336730957 length of segment : 103 time for calcul the mask position with numpy : 0.0029647350311279297 nb_pixel_total : 106674 time to create 1 rle with old method : 0.12699437141418457 length of segment : 434 time for calcul the mask position with numpy : 0.0010423660278320312 nb_pixel_total : 68206 time to create 1 rle with old method : 0.07484221458435059 length of segment : 341 time for calcul the mask position with numpy : 0.0006737709045410156 nb_pixel_total : 53701 time to create 1 rle with old method : 0.0613710880279541 length of segment : 231 time for calcul the mask position with numpy : 0.0004162788391113281 nb_pixel_total : 26421 time to create 1 rle with old method : 0.029231548309326172 length of segment : 297 time for calcul the mask position with numpy : 0.0005402565002441406 nb_pixel_total : 40235 time to create 1 rle with old method : 0.046205997467041016 length of segment : 332 time for calcul the mask position with numpy : 0.0001537799835205078 nb_pixel_total : 4876 time to create 1 rle with old method : 0.005777120590209961 length of segment : 145 time for calcul the mask position with numpy : 0.0005822181701660156 nb_pixel_total : 40229 time to create 1 rle with old method : 0.043639183044433594 length of segment : 364 time for calcul the mask position with numpy : 8.368492126464844e-05 nb_pixel_total : 2263 time to create 1 rle with old method : 0.0026464462280273438 length of segment : 84 time for calcul the mask position with numpy : 0.00016379356384277344 nb_pixel_total : 6849 time to create 1 rle with old method : 0.008089780807495117 length of segment : 137 time for calcul the mask position with numpy : 9.131431579589844e-05 nb_pixel_total : 4426 time to create 1 rle with old method : 0.004995107650756836 length of segment : 122 time for calcul the mask position with numpy : 0.0005052089691162109 nb_pixel_total : 35865 time to create 1 rle with old method : 0.03903961181640625 length of segment : 301 time for calcul the mask position with numpy : 0.00015997886657714844 nb_pixel_total : 9163 time to create 1 rle with old method : 0.009909629821777344 length of segment : 180 time for calcul the mask position with numpy : 5.3882598876953125e-05 nb_pixel_total : 1270 time to create 1 rle with old method : 0.0015642642974853516 length of segment : 55 time for calcul the mask position with numpy : 0.00532984733581543 nb_pixel_total : 371283 time to create 1 rle with new method : 0.01490330696105957 length of segment : 889 time for calcul the mask position with numpy : 4.887580871582031e-05 nb_pixel_total : 510 time to create 1 rle with old method : 0.0006382465362548828 length of segment : 29 time for calcul the mask position with numpy : 0.0016705989837646484 nb_pixel_total : 129071 time to create 1 rle with old method : 0.15637683868408203 length of segment : 467 time for calcul the mask position with numpy : 0.00030112266540527344 nb_pixel_total : 17429 time to create 1 rle with old method : 0.01952052116394043 length of segment : 130 time for calcul the mask position with numpy : 0.00023627281188964844 nb_pixel_total : 11637 time to create 1 rle with old method : 0.013270854949951172 length of segment : 174 time for calcul the mask position with numpy : 0.0003020763397216797 nb_pixel_total : 21373 time to create 1 rle with old method : 0.02293086051940918 length of segment : 132 time for calcul the mask position with numpy : 0.0006124973297119141 nb_pixel_total : 40091 time to create 1 rle with old method : 0.04333806037902832 length of segment : 292 time for calcul the mask position with numpy : 6.604194641113281e-05 nb_pixel_total : 1805 time to create 1 rle with old method : 0.0020012855529785156 length of segment : 91 time for calcul the mask position with numpy : 0.0001327991485595703 nb_pixel_total : 6433 time to create 1 rle with old method : 0.007120370864868164 length of segment : 134 time for calcul the mask position with numpy : 0.0002779960632324219 nb_pixel_total : 15065 time to create 1 rle with old method : 0.016224145889282227 length of segment : 270 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 2324 time to create 1 rle with old method : 0.0027399063110351562 length of segment : 81 time for calcul the mask position with numpy : 0.00033473968505859375 nb_pixel_total : 17514 time to create 1 rle with old method : 0.019970417022705078 length of segment : 196 time for calcul the mask position with numpy : 5.030632019042969e-05 nb_pixel_total : 775 time to create 1 rle with old method : 0.0009315013885498047 length of segment : 50 time for calcul the mask position with numpy : 0.0007839202880859375 nb_pixel_total : 28832 time to create 1 rle with old method : 0.03155374526977539 length of segment : 648 time for calcul the mask position with numpy : 0.005197048187255859 nb_pixel_total : 253980 time to create 1 rle with new method : 0.016765594482421875 length of segment : 1265 time for calcul the mask position with numpy : 0.0012159347534179688 nb_pixel_total : 94639 time to create 1 rle with old method : 0.10066008567810059 length of segment : 387 time for calcul the mask position with numpy : 8.463859558105469e-05 nb_pixel_total : 1809 time to create 1 rle with old method : 0.002220630645751953 length of segment : 92 time for calcul the mask position with numpy : 0.0006079673767089844 nb_pixel_total : 51439 time to create 1 rle with old method : 0.05394387245178223 length of segment : 242 time for calcul the mask position with numpy : 0.00028824806213378906 nb_pixel_total : 11557 time to create 1 rle with old method : 0.012415409088134766 length of segment : 230 time for calcul the mask position with numpy : 5.1975250244140625e-05 nb_pixel_total : 511 time to create 1 rle with old method : 0.0006291866302490234 length of segment : 43 time for calcul the mask position with numpy : 0.006557464599609375 nb_pixel_total : 310771 time to create 1 rle with new method : 0.0197145938873291 length of segment : 974 time for calcul the mask position with numpy : 0.0002665519714355469 nb_pixel_total : 5237 time to create 1 rle with old method : 0.008154869079589844 length of segment : 94 time for calcul the mask position with numpy : 0.0006353855133056641 nb_pixel_total : 7941 time to create 1 rle with old method : 0.013538599014282227 length of segment : 232 time for calcul the mask position with numpy : 0.0011398792266845703 nb_pixel_total : 90453 time to create 1 rle with old method : 0.09680557250976562 length of segment : 355 time for calcul the mask position with numpy : 0.0007462501525878906 nb_pixel_total : 39673 time to create 1 rle with old method : 0.04512357711791992 length of segment : 284 time for calcul the mask position with numpy : 0.00017952919006347656 nb_pixel_total : 1978 time to create 1 rle with old method : 0.0023729801177978516 length of segment : 53 time for calcul the mask position with numpy : 0.0023102760314941406 nb_pixel_total : 45526 time to create 1 rle with old method : 0.04908442497253418 length of segment : 364 time for calcul the mask position with numpy : 0.00019788742065429688 nb_pixel_total : 2764 time to create 1 rle with old method : 0.003104686737060547 length of segment : 55 time for calcul the mask position with numpy : 0.00031566619873046875 nb_pixel_total : 6748 time to create 1 rle with old method : 0.007886886596679688 length of segment : 163 time for calcul the mask position with numpy : 0.002929210662841797 nb_pixel_total : 104327 time to create 1 rle with old method : 0.11059045791625977 length of segment : 608 time for calcul the mask position with numpy : 0.0008020401000976562 nb_pixel_total : 41508 time to create 1 rle with old method : 0.045755624771118164 length of segment : 289 time for calcul the mask position with numpy : 0.0005106925964355469 nb_pixel_total : 8974 time to create 1 rle with old method : 0.010111570358276367 length of segment : 256 time for calcul the mask position with numpy : 7.557868957519531e-05 nb_pixel_total : 1362 time to create 1 rle with old method : 0.0016105175018310547 length of segment : 73 time for calcul the mask position with numpy : 0.002586841583251953 nb_pixel_total : 73638 time to create 1 rle with old method : 0.0778646469116211 length of segment : 360 time for calcul the mask position with numpy : 5.3882598876953125e-05 nb_pixel_total : 834 time to create 1 rle with old method : 0.0009686946868896484 length of segment : 41 time for calcul the mask position with numpy : 0.00037550926208496094 nb_pixel_total : 8520 time to create 1 rle with old method : 0.00941324234008789 length of segment : 208 time for calcul the mask position with numpy : 0.00011014938354492188 nb_pixel_total : 3613 time to create 1 rle with old method : 0.00404810905456543 length of segment : 110 time for calcul the mask position with numpy : 0.0003571510314941406 nb_pixel_total : 8847 time to create 1 rle with old method : 0.009966850280761719 length of segment : 242 time for calcul the mask position with numpy : 0.0010416507720947266 nb_pixel_total : 64726 time to create 1 rle with old method : 0.06860971450805664 length of segment : 345 time for calcul the mask position with numpy : 0.00011038780212402344 nb_pixel_total : 513 time to create 1 rle with old method : 0.0006253719329833984 length of segment : 42 time for calcul the mask position with numpy : 0.0001266002655029297 nb_pixel_total : 1564 time to create 1 rle with old method : 0.0017561912536621094 length of segment : 76 time for calcul the mask position with numpy : 0.0072557926177978516 nb_pixel_total : 314392 time to create 1 rle with new method : 0.014185428619384766 length of segment : 1052 time for calcul the mask position with numpy : 0.0013117790222167969 nb_pixel_total : 104017 time to create 1 rle with old method : 0.10905623435974121 length of segment : 327 time for calcul the mask position with numpy : 0.00019025802612304688 nb_pixel_total : 4987 time to create 1 rle with old method : 0.005681276321411133 length of segment : 89 time for calcul the mask position with numpy : 0.0005810260772705078 nb_pixel_total : 40780 time to create 1 rle with old method : 0.04377937316894531 length of segment : 313 time for calcul the mask position with numpy : 0.0006024837493896484 nb_pixel_total : 41366 time to create 1 rle with old method : 0.04587602615356445 length of segment : 387 time for calcul the mask position with numpy : 0.00048422813415527344 nb_pixel_total : 20748 time to create 1 rle with old method : 0.022415876388549805 length of segment : 161 time for calcul the mask position with numpy : 0.0014138221740722656 nb_pixel_total : 118975 time to create 1 rle with old method : 0.12896037101745605 length of segment : 446 time for calcul the mask position with numpy : 0.00020503997802734375 nb_pixel_total : 3491 time to create 1 rle with old method : 0.004059553146362305 length of segment : 71 time spent for convertir_results : 4.811767816543579 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 66 chid ids of type : 3663 Number RLEs to save : 18389 save missing photos in datou_result : time spend for datou_step_exec : 22.049940586090088 time spend to save output : 2.0400257110595703 total time spend for step 1 : 24.089966297149658 step2:crop_condition Fri Oct 10 09:17:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 5 ! batch 1 Loaded 66 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1388574250, 1388574019, 1388573968, 1388573911, 1388573821] Looping around the photos to save general results len do output : 37 /-3991820402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820459Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820442Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991820441Didn'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 ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574250', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574019', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573968', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573911', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573821', None, None, None, None, None, '3911020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 116 time used for this insertion : 0.04063820838928223 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.43071985244751 time spend to save output : 0.042444467544555664 total time spend for step 2 : 6.473164319992065 step3:thcl Fri Oct 10 09:17:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.0055484771728515625 time to convert the images to numpy array : 0.0064008235931396484 time to import caffe and check if the image exist : 0.0038368701934814453 time to convert the images to numpy array : 0.014827251434326172 time to import caffe and check if the image exist : 0.006584882736206055 time to convert the images to numpy array : 0.017220020294189453 time to import caffe and check if the image exist : 0.009116649627685547 time to convert the images to numpy array : 0.02349400520324707 time to import caffe and check if the image exist : 0.007982015609741211 time to convert the images to numpy array : 0.02910327911376953 time to import caffe and check if the image exist : 0.006949901580810547 time to convert the images to numpy array : 0.031011343002319336 time to import caffe and check if the image exist : 0.008606910705566406 time to convert the images to numpy array : 0.03175163269042969 time to import caffe and check if the image exist : 0.006068229675292969 time to convert the images to numpy array : 0.03532552719116211 time to import caffe and check if the image exist : 0.004955291748046875 time to convert the images to numpy array : 0.03870129585266113 time to import caffe and check if the image exist : 0.011412858963012695 time to convert the images to numpy array : 0.036675214767456055 total time to convert the images to numpy array : 0.233475923538208 list photo_ids error: [] list photo_ids correct : [-3991820441, -3991820402, -3991820414, -3991820419, -3991820412, -3991820438, -3991820437, -3991820459, -3991820421, -3991820451, -3991820439, -3991820447, -3991820443, -3991820460, -3991820464, -3991820458, -3991820453, -3991820409, -3991820449, -3991820446, -3991820444, -3991820433, -3991820431, -3991820432, -3991820442, -3991820427, -3991820422, -3991820440, -3991820445, -3991820413, -3991820418, -3991820429, -3991820425, -3991820404, -3991820405, -3991820407, -3991820403] number of photos to traite : 37 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10772 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/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/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10553 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.266521692276001 time used to do the prediction : 0.10255265235900879 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10551 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/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/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 7325 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.25980687141418457 time used to do the prediction : 0.08345985412597656 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.2874603271484375e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.808317184448242 time spend to save output : 0.00031304359436035156 total time spend for step 3 : 7.8086302280426025 step4:merge_mask_thcl_custom Fri Oct 10 09:17:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 66 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++As expected we have just one thcl present End of step merge_mask_thcl_custom Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : merge_mask_thcl_custom we use saveGeneral [1388574250, 1388574019, 1388573968, 1388573911, 1388573821] Looping around the photos to save general results len do output : 5 /1388574250Didn't retrieve data .Didn't retrieve data . /1388574019Didn't retrieve data .Didn't retrieve data . /1388573968Didn't retrieve data .Didn't retrieve data . /1388573911Didn't retrieve data .Didn't retrieve data . /1388573821Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574250', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574019', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573968', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573911', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573821', None, None, None, None, None, '3911020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.041155099868774414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.19293999671936035 time spend to save output : 0.0415346622467041 total time spend for step 4 : 0.23447465896606445 step5:rle_unique_nms_with_priority Fri Oct 10 09:17:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 0.8695788383483887 time for calcul the mask position with numpy : 0.01592230796813965 nb_pixel_total : 1087625 time to create 1 rle with new method : 0.04024481773376465 time for calcul the mask position with numpy : 0.0056304931640625 nb_pixel_total : 6691 time to create 1 rle with old method : 0.0073986053466796875 time for calcul the mask position with numpy : 0.005652427673339844 nb_pixel_total : 106325 time to create 1 rle with old method : 0.11132431030273438 time for calcul the mask position with numpy : 0.005517244338989258 nb_pixel_total : 942 time to create 1 rle with old method : 0.0011723041534423828 time for calcul the mask position with numpy : 0.004963397979736328 nb_pixel_total : 19297 time to create 1 rle with old method : 0.020912885665893555 time for calcul the mask position with numpy : 0.0054225921630859375 nb_pixel_total : 40296 time to create 1 rle with old method : 0.04259991645812988 time for calcul the mask position with numpy : 0.007884740829467773 nb_pixel_total : 377927 time to create 1 rle with new method : 0.03193092346191406 time for calcul the mask position with numpy : 0.0057027339935302734 nb_pixel_total : 53622 time to create 1 rle with old method : 0.0574798583984375 time for calcul the mask position with numpy : 0.005055665969848633 nb_pixel_total : 290 time to create 1 rle with old method : 0.00035500526428222656 time for calcul the mask position with numpy : 0.0053522586822509766 nb_pixel_total : 68067 time to create 1 rle with old method : 0.0715184211730957 time for calcul the mask position with numpy : 0.0051877498626708984 nb_pixel_total : 1478 time to create 1 rle with old method : 0.0016901493072509766 create new chi : 0.4621613025665283 time to delete rle : 0.06897950172424316 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 6675 TO DO : save crop sub photo not yet done ! save time : 0.7934324741363525 nb_obj : 12 nb_hashtags : 3 time to prepare the origin masks : 0.6942522525787354 time for calcul the mask position with numpy : 0.013992786407470703 nb_pixel_total : 1163402 time to create 1 rle with new method : 0.03551626205444336 time for calcul the mask position with numpy : 0.005594730377197266 nb_pixel_total : 129000 time to create 1 rle with old method : 0.1360642910003662 time for calcul the mask position with numpy : 0.005006074905395508 nb_pixel_total : 5981 time to create 1 rle with old method : 0.006505012512207031 time for calcul the mask position with numpy : 0.004851579666137695 nb_pixel_total : 11582 time to create 1 rle with old method : 0.012493133544921875 time for calcul the mask position with numpy : 0.004901885986328125 nb_pixel_total : 4414 time to create 1 rle with old method : 0.00480341911315918 time for calcul the mask position with numpy : 0.004811286926269531 nb_pixel_total : 507 time to create 1 rle with old method : 0.0005536079406738281 time for calcul the mask position with numpy : 0.007042407989501953 nb_pixel_total : 371063 time to create 1 rle with new method : 0.025561809539794922 time for calcul the mask position with numpy : 0.0047149658203125 nb_pixel_total : 9095 time to create 1 rle with old method : 0.009515762329101562 time for calcul the mask position with numpy : 0.004768848419189453 nb_pixel_total : 1268 time to create 1 rle with old method : 0.0013573169708251953 time for calcul the mask position with numpy : 0.004742622375488281 nb_pixel_total : 6833 time to create 1 rle with old method : 0.007170677185058594 time for calcul the mask position with numpy : 0.0046961307525634766 nb_pixel_total : 2251 time to create 1 rle with old method : 0.0023679733276367188 time for calcul the mask position with numpy : 0.004787445068359375 nb_pixel_total : 21332 time to create 1 rle with old method : 0.02191019058227539 time for calcul the mask position with numpy : 0.004894733428955078 nb_pixel_total : 35832 time to create 1 rle with old method : 0.03741765022277832 create new chi : 0.3792750835418701 time to delete rle : 0.0005433559417724609 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 6442 TO DO : save crop sub photo not yet done ! save time : 0.7619233131408691 nb_obj : 12 nb_hashtags : 2 time to prepare the origin masks : 1.0436067581176758 time for calcul the mask position with numpy : 0.013056278228759766 nb_pixel_total : 1268549 time to create 1 rle with new method : 0.029926776885986328 time for calcul the mask position with numpy : 0.005415678024291992 nb_pixel_total : 17457 time to create 1 rle with old method : 0.01896834373474121 time for calcul the mask position with numpy : 0.0050144195556640625 nb_pixel_total : 1798 time to create 1 rle with old method : 0.002028942108154297 time for calcul the mask position with numpy : 0.0049588680267333984 nb_pixel_total : 8946 time to create 1 rle with old method : 0.010253667831420898 time for calcul the mask position with numpy : 0.0062487125396728516 nb_pixel_total : 253380 time to create 1 rle with new method : 0.027324199676513672 time for calcul the mask position with numpy : 0.004903078079223633 nb_pixel_total : 766 time to create 1 rle with old method : 0.0008599758148193359 time for calcul the mask position with numpy : 0.004918336868286133 nb_pixel_total : 2313 time to create 1 rle with old method : 0.0025377273559570312 time for calcul the mask position with numpy : 0.005545139312744141 nb_pixel_total : 94508 time to create 1 rle with old method : 0.10040402412414551 time for calcul the mask position with numpy : 0.005158662796020508 nb_pixel_total : 6398 time to create 1 rle with old method : 0.006884574890136719 time for calcul the mask position with numpy : 0.005231618881225586 nb_pixel_total : 39985 time to create 1 rle with old method : 0.04249310493469238 time for calcul the mask position with numpy : 0.005087375640869141 nb_pixel_total : 1803 time to create 1 rle with old method : 0.0020253658294677734 time for calcul the mask position with numpy : 0.005101442337036133 nb_pixel_total : 51253 time to create 1 rle with old method : 0.05512118339538574 time for calcul the mask position with numpy : 0.0052492618560791016 nb_pixel_total : 15404 time to create 1 rle with old method : 0.017011642456054688 create new chi : 0.3940544128417969 time to delete rle : 0.0006606578826904297 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 7747 TO DO : save crop sub photo not yet done ! save time : 0.8804543018341064 nb_obj : 20 nb_hashtags : 5 time to prepare the origin masks : 1.5948669910430908 time for calcul the mask position with numpy : 0.016225576400756836 nb_pixel_total : 1147087 time to create 1 rle with new method : 0.03433370590209961 time for calcul the mask position with numpy : 0.0051572322845458984 nb_pixel_total : 535 time to create 1 rle with old method : 0.0006725788116455078 time for calcul the mask position with numpy : 0.0053789615631103516 nb_pixel_total : 72887 time to create 1 rle with old method : 0.08011841773986816 time for calcul the mask position with numpy : 0.00519871711730957 nb_pixel_total : 503 time to create 1 rle with old method : 0.0005533695220947266 time for calcul the mask position with numpy : 0.005167722702026367 nb_pixel_total : 1603 time to create 1 rle with old method : 0.001936197280883789 time for calcul the mask position with numpy : 0.0051555633544921875 nb_pixel_total : 2371 time to create 1 rle with old method : 0.0027229785919189453 time for calcul the mask position with numpy : 0.005128622055053711 nb_pixel_total : 5203 time to create 1 rle with old method : 0.005997657775878906 time for calcul the mask position with numpy : 0.0050144195556640625 nb_pixel_total : 831 time to create 1 rle with old method : 0.000978708267211914 time for calcul the mask position with numpy : 0.005217552185058594 nb_pixel_total : 18713 time to create 1 rle with old method : 0.021236896514892578 time for calcul the mask position with numpy : 0.00561070442199707 nb_pixel_total : 6285 time to create 1 rle with old method : 0.006897449493408203 time for calcul the mask position with numpy : 0.005112648010253906 nb_pixel_total : 1355 time to create 1 rle with old method : 0.00154876708984375 time for calcul the mask position with numpy : 0.00504302978515625 nb_pixel_total : 2748 time to create 1 rle with old method : 0.0031130313873291016 time for calcul the mask position with numpy : 0.004933595657348633 nb_pixel_total : 2532 time to create 1 rle with old method : 0.003097057342529297 time for calcul the mask position with numpy : 0.00546717643737793 nb_pixel_total : 90393 time to create 1 rle with old method : 0.09781122207641602 time for calcul the mask position with numpy : 0.005420684814453125 nb_pixel_total : 39558 time to create 1 rle with old method : 0.04548978805541992 time for calcul the mask position with numpy : 0.007148265838623047 nb_pixel_total : 305980 time to create 1 rle with new method : 0.027975082397460938 time for calcul the mask position with numpy : 0.005336761474609375 nb_pixel_total : 511 time to create 1 rle with old method : 0.0005993843078613281 time for calcul the mask position with numpy : 0.005220174789428711 nb_pixel_total : 8437 time to create 1 rle with old method : 0.009559392929077148 time for calcul the mask position with numpy : 0.0054357051849365234 nb_pixel_total : 770 time to create 1 rle with old method : 0.0009434223175048828 time for calcul the mask position with numpy : 0.005496978759765625 nb_pixel_total : 8977 time to create 1 rle with old method : 0.010286808013916016 time for calcul the mask position with numpy : 0.005606174468994141 nb_pixel_total : 45281 time to create 1 rle with old method : 0.051001787185668945 create new chi : 0.5336320400238037 time to delete rle : 0.0008671283721923828 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 9373 TO DO : save crop sub photo not yet done ! save time : 1.0147814750671387 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 0.3924107551574707 time for calcul the mask position with numpy : 0.01457977294921875 nb_pixel_total : 1269402 time to create 1 rle with new method : 0.026658058166503906 time for calcul the mask position with numpy : 0.005610466003417969 nb_pixel_total : 20721 time to create 1 rle with old method : 0.023554325103759766 time for calcul the mask position with numpy : 0.005219221115112305 nb_pixel_total : 3486 time to create 1 rle with old method : 0.003972053527832031 time for calcul the mask position with numpy : 0.006093025207519531 nb_pixel_total : 103951 time to create 1 rle with old method : 0.11397266387939453 time for calcul the mask position with numpy : 0.0051610469818115234 nb_pixel_total : 4963 time to create 1 rle with old method : 0.005509138107299805 time for calcul the mask position with numpy : 0.005079984664916992 nb_pixel_total : 40644 time to create 1 rle with old method : 0.04471135139465332 time for calcul the mask position with numpy : 0.008941411972045898 nb_pixel_total : 317839 time to create 1 rle with new method : 0.02613544464111328 time for calcul the mask position with numpy : 0.005209207534790039 nb_pixel_total : 1554 time to create 1 rle with old method : 0.0018563270568847656 create new chi : 0.30570530891418457 time to delete rle : 0.00046825408935546875 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 5138 TO DO : save crop sub photo not yet done ! save time : 0.6687242984771729 map_output_result : {1388574250: (0.0, 'Should be the crop_list due to order', 0.0), 1388574019: (0.0, 'Should be the crop_list due to order', 0.0), 1388573968: (0.0, 'Should be the crop_list due to order', 0.0), 1388573911: (0.0, 'Should be the crop_list due to order', 0.0), 1388573821: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1388574250, 1388574019, 1388573968, 1388573911, 1388573821] Looping around the photos to save general results len do output : 5 /1388574250.Didn't retrieve data . /1388574019.Didn't retrieve data . /1388573968.Didn't retrieve data . /1388573911.Didn't retrieve data . /1388573821.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 ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574250', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574019', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573968', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573911', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573821', None, None, None, None, None, '3911020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.03498244285583496 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.035662412643433 time spend to save output : 0.03523445129394531 total time spend for step 5 : 11.070896863937378 step6:crop_condition Fri Oct 10 09:18:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 5 ! batch 1 Loaded 66 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760080688_4095625 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760080688), 0.0, 0.0, 14, '', 0, 0, '1760080637_4095625_1388573821_e37a36cbb5e994b5ac7b97e65000af3a_rle_crop_3991820655_0.png', 0, 94, 73, 0, 1760080688,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7056565284729004 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760080689_4095625 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760080689), 0.0, 0.0, 14, '', 0, 0, '1760080637_4095625_1388573821_e37a36cbb5e994b5ac7b97e65000af3a_rle_crop_3991820653_0.png', 0, 70, 71, 0, 1760080689,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6925406455993652 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760080690_4095625 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760080690), 0.0, 0.0, 14, '', 0, 0, '1760080637_4095625_1388573911_f84609142cefa77b060a9cc175d4e0a9_rle_crop_3991820641_0.png', 0, 69, 55, 0, 1760080690,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8003349304199219 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1388574250, 1388574019, 1388573968, 1388573911, 1388573821] Looping around the photos to save general results len do output : 3 /1388629346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388629348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388629349Didn'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 ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574250', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574019', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573968', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573911', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573821', None, None, None, None, None, '3911020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.10348987579345703 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4894919395446777 time spend to save output : 0.10381770133972168 total time spend for step 6 : 3.5933096408843994 step7:ventilate_hashtags_in_portfolio Fri Oct 10 09:18:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 Iterating over portfolio : 27666949 get user id for portfolio 27666949 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`=27666949 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','environnement','plastique','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','Carton_brun','flou','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 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`=27666949 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','environnement','plastique','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','Carton_brun','flou','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27666949 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','environnement','plastique','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','Carton_brun','flou','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 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`=27666949 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','environnement','plastique','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','Carton_brun','flou','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27685091,27685092,27685093,27685094,27685095,27685096,27685097,27685098,27685099,27685100,27685101,27685102?tags=kraft,papier,environnement,plastique,cartonnette,Teint_Dans_La_Masse,metal,autre_refus,Carton_brun,flou,Carton_gris,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388574250, 1388574019, 1388573968, 1388573911, 1388573821] Looping around the photos to save general results len do output : 1 /27666949. 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 ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574250', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574019', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573968', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573911', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573821', None, None, None, None, None, '3911020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.03595304489135742 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.925962686538696 time spend to save output : 0.036147356033325195 total time spend for step 7 : 6.9621100425720215 step8:tfhub_classification2 Fri Oct 10 09:18:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou_step TFHub with tf2 ! nombre de thcls : 3 we are using the classfication for multi_thcl [3513, 3379, 3847] begin to check gpu status inside check gpu memory 2025-10-10 09:18:20.982013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:18:20.982766: 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-10-10 09:18:20.982830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:18:20.982875: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:18:20.984606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:18:20.984669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:18:20.986518: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:18:20.987344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:18:20.990738: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:18:20.992034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:18:20.992459: 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-10-10 09:18:21.018525: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:18:21.020099: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9970000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:18:21.020153: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:18:21.023988: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x17c79620 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:18:21.024025: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:18:21.025322: 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-10-10 09:18:21.025410: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:18:21.025440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:18:21.025520: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:18:21.025550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:18:21.025586: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:18:21.025626: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:18:21.025666: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:18:21.027507: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:18:21.027571: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:18:21.027631: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:18:21.027647: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:18:21.027660: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:18:21.029034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3096 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) l 3637 free memory gpu now : 6995 max_wait_temp : 1 max_wait : 5 1 Physical GPUs, 1 Logical GPUs tagging for thcl : 3513 To do loadFromThcl(), then load ParamDescType : thcl3513 thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', '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': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] thcl {'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', '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': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'} Update svm_hashtag_type_desc : 5767 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5767, 'Rungis_amount_dechets_fall_2018_v2_tf', 2048, 2048, 'Rungis_amount_dechets_fall_2018_v2_tf', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2023, 3, 16, 15, 52, 10), datetime.datetime(2023, 3, 16, 15, 52, 10)) model_name : Rungis_amount_dechets_fall_2018_v2_tf model_param file didn't exist model_name : Rungis_amount_dechets_fall_2018_v2_tf model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_05102018_Papier_non_papier_dense.jpg', 'Precision_Recall_05102018_Papier_non_papier_peu_dense.jpg', 'Precision_Recall_05102018_Papier_non_papier_presque_vide.jpg', 'Precision_Recall_05102018_Papier_non_papier_tres_dense.jpg', 'Precision_Recall_05102018_Papier_non_papier_tres_peu_dense.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_05102018_Papier_non_papier_dense.jpg', 'Precision_Recall_05102018_Papier_non_papier_peu_dense.jpg', 'Precision_Recall_05102018_Papier_non_papier_presque_vide.jpg', 'Precision_Recall_05102018_Papier_non_papier_tres_dense.jpg', 'Precision_Recall_05102018_Papier_non_papier_tres_peu_dense.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/Confusion_Matrix.png size_local : 67810 size in s3 : 67810 create time local : 2023-10-30 16:21:37 create time in s3 : 2023-10-30 14:09:29 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/Precision_Recall_05102018_Papier_non_papier_dense.jpg size_local : 73949 size in s3 : 73949 create time local : 2023-10-30 16:21:38 create time in s3 : 2023-10-30 14:09:30 Precision_Recall_05102018_Papier_non_papier_dense.jpg already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/Precision_Recall_05102018_Papier_non_papier_peu_dense.jpg size_local : 85572 size in s3 : 85572 create time local : 2023-10-30 16:21:38 create time in s3 : 2023-10-30 14:09:39 Precision_Recall_05102018_Papier_non_papier_peu_dense.jpg already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/Precision_Recall_05102018_Papier_non_papier_presque_vide.jpg size_local : 72361 size in s3 : 72361 create time local : 2023-10-30 16:21:38 create time in s3 : 2023-10-30 14:09:37 Precision_Recall_05102018_Papier_non_papier_presque_vide.jpg already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/Precision_Recall_05102018_Papier_non_papier_tres_dense.jpg size_local : 83567 size in s3 : 83567 create time local : 2023-10-30 16:21:38 create time in s3 : 2023-10-30 14:09:48 Precision_Recall_05102018_Papier_non_papier_tres_dense.jpg already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/Precision_Recall_05102018_Papier_non_papier_tres_peu_dense.jpg size_local : 71611 size in s3 : 71611 create time local : 2023-10-30 16:21:38 create time in s3 : 2023-10-30 14:09:29 Precision_Recall_05102018_Papier_non_papier_tres_peu_dense.jpg already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/Result_Summary.txt size_local : 1058 size in s3 : 1058 create time local : 2023-10-30 16:21:38 create time in s3 : 2023-10-30 14:09:30 Result_Summary.txt already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/checkpoint size_local : 99 size in s3 : 99 create time local : 2023-10-30 16:21:38 create time in s3 : 2023-10-30 14:09:36 checkpoint already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/model_checkpoint.ckpt.data-00000-of-00001 size_local : 188538519 size in s3 : 188538519 create time local : 2023-10-30 16:21:41 create time in s3 : 2023-10-30 14:09:40 model_checkpoint.ckpt.data-00000-of-00001 already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/model_checkpoint.ckpt.data-00000-of-00002 size_local : 216572 size in s3 : 216572 create time local : 2023-10-30 16:21:41 create time in s3 : 2023-03-16 14:52:09 model_checkpoint.ckpt.data-00000-of-00002 already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/model_checkpoint.ckpt.data-00001-of-00002 size_local : 32279708 size in s3 : 32279708 create time local : 2023-10-30 16:21:42 create time in s3 : 2023-03-16 14:52:07 model_checkpoint.ckpt.data-00001-of-00002 already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/model_checkpoint.ckpt.index size_local : 28001 size in s3 : 28001 create time local : 2023-10-30 16:21:42 create time in s3 : 2023-10-30 14:09:30 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/Rungis_amount_dechets_fall_2018_v2_tf/model_weights.h5 size_local : 94501976 size in s3 : 94501976 create time local : 2023-10-30 16:21:44 create time in s3 : 2023-10-30 14:09:37 model_weights.h5 already exist and didn't need to update desc size : 2048 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 2048) 23561152 _________________________________________________________________ Rungis_amount_dechets_fall_2 (None, 5) 10245 ================================================================= Total params: 23,571,397 Trainable params: 10,245 Non-trainable params: 23,561,152 _________________________________________________________________ Loading Weights... time used to create the model : 8.05440902709961 time used to load_weights : 0.13413643836975098 0it [00:00, ?it/s] 5it [00:00, 2783.95it/s]2025-10-10 09:18:31.195401: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:18:31.220566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1760080637_4095625_1388574250_8a3b666b964f7a17fd2356c62f8dfda8.jpg temp/1760080637_4095625_1388574019_d2cf932cbdbf48ef03ee9c62318a3196.jpg temp/1760080637_4095625_1388573968_b507fd504fa1fd76a4b640d7d332df03.jpg temp/1760080637_4095625_1388573911_f84609142cefa77b060a9cc175d4e0a9.jpg temp/1760080637_4095625_1388573821_e37a36cbb5e994b5ac7b97e65000af3a.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 2.1970012187957764 (5,) (5, 5) (5, 2048) shape of features : (5, 2048) shape of new features : (1, 5, 2048) save descriptor for thcl : 3513 time to traite the descriptors : 0.03937888145446777 storage_type for insertDescriptorsMulti : 3 To insert : 1388574250 To insert : 1388574019 To insert : 1388573968 To insert : 1388573911 To insert : 1388573821 Catched exception ! Connect or reconnect ! time to insert the descriptors : 2.9542412757873535 tagging for thcl : 3379 To do loadFromThcl(), then load ParamDescType : thcl3379 thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcl {'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'} Update svm_hashtag_type_desc : 5680 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5680, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 1280, 1280, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2022, 6, 4, 1, 31, 10), datetime.datetime(2022, 6, 4, 1, 31, 10)) model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_param file didn't exist model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022 /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Confusion_Matrix.png size_local : 82527 size in s3 : 82527 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:31:09 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_aluminium.jpg size_local : 67602 size in s3 : 67602 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_aluminium.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_ela.jpg size_local : 67189 size in s3 : 67189 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:13 Precision_Recall_ela.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_film_pedb.jpg size_local : 71280 size in s3 : 71280 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:14 Precision_Recall_film_pedb.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_flux_dev.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_flux_dev.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_jrm.jpg size_local : 67657 size in s3 : 67657 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:31:06 Precision_Recall_jrm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcm.jpg size_local : 83042 size in s3 : 83042 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:40 Precision_Recall_pcm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcnc.jpg size_local : 69972 size in s3 : 69972 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:05 Precision_Recall_pcnc.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pehd_pp.jpg size_local : 67313 size in s3 : 67313 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_pehd_pp.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pet_clair.jpg size_local : 67320 size in s3 : 67320 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:04 Precision_Recall_pet_clair.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_refus.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Precision_Recall_refus.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_tapis_vide.jpg size_local : 80244 size in s3 : 80244 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_tapis_vide.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Result_Summary.txt size_local : 1018 size in s3 : 1018 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/checkpoint size_local : 99 size in s3 : 99 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:06 checkpoint already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00000-of-00002 size_local : 216640 size in s3 : 216640 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:43 model_checkpoint.ckpt.data-00000-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00001-of-00002 size_local : 32341196 size in s3 : 32341196 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:15 model_checkpoint.ckpt.data-00001-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.index size_local : 43546 size in s3 : 43546 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:13 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_weights.h5 size_local : 16531224 size in s3 : 16531224 create time local : 2022-06-06 13:01:29 create time in s3 : 2022-06-03 23:23:46 model_weights.h5 already exist and didn't need to update desc size : 1280 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 1280) 4049564 _________________________________________________________________ learn_classif_flux_maj_gener (None, 11) 14091 ================================================================= Total params: 4,063,655 Trainable params: 14,091 Non-trainable params: 4,049,564 _________________________________________________________________ Loading Weights... time used to create the model : 6.870993137359619 time used to load_weights : 0.11541080474853516 0it [00:00, ?it/s] 5it [00:00, 2924.90it/s]temp/1760080637_4095625_1388574250_8a3b666b964f7a17fd2356c62f8dfda8.jpg temp/1760080637_4095625_1388574019_d2cf932cbdbf48ef03ee9c62318a3196.jpg temp/1760080637_4095625_1388573968_b507fd504fa1fd76a4b640d7d332df03.jpg temp/1760080637_4095625_1388573911_f84609142cefa77b060a9cc175d4e0a9.jpg temp/1760080637_4095625_1388573821_e37a36cbb5e994b5ac7b97e65000af3a.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.07080078125 (5,) (5, 11) (5, 1280) shape of features : (5, 1280) shape of new features : (1, 5, 1280) save descriptor for thcl : 3379 time to traite the descriptors : 0.04314470291137695 storage_type for insertDescriptorsMulti : 3 To insert : 1388574250 To insert : 1388574019 To insert : 1388573968 To insert : 1388573911 To insert : 1388573821 time to insert the descriptors : 1.2471954822540283 tagging for thcl : 3847 To do loadFromThcl(), then load ParamDescType : thcl3847 thcls : [{'id': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcl {'id': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'} Update svm_hashtag_type_desc : 6032 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (6032, 'learn_MM_generique_050224', 1280, 1280, 'learn_MM_generique_050224', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2024, 2, 5, 21, 42, 4), datetime.datetime(2024, 2, 5, 21, 42, 4)) model_name : learn_MM_generique_050224 model_param file didn't exist model_name : learn_MM_generique_050224 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_emr.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_emr.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_MM_generique_050224 /data/models_weight/learn_MM_generique_050224/Confusion_Matrix.png size_local : 88145 size in s3 : 88145 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:54 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_aluminium.jpg size_local : 67983 size in s3 : 67983 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:42:02 Precision_Recall_aluminium.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_ela.jpg size_local : 68484 size in s3 : 68484 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_ela.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_emr.jpg size_local : 77930 size in s3 : 77930 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:55 Precision_Recall_emr.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_film_pedb.jpg size_local : 66701 size in s3 : 66701 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:55 Precision_Recall_film_pedb.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_flux_dev.jpg size_local : 59936 size in s3 : 59936 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_flux_dev.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_jrm.jpg size_local : 72890 size in s3 : 72890 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_jrm.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pcm.jpg size_local : 93916 size in s3 : 93916 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:02 Precision_Recall_pcm.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pcnc.jpg size_local : 74701 size in s3 : 74701 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_pcnc.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pehd_pp.jpg size_local : 68765 size in s3 : 68765 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:03 Precision_Recall_pehd_pp.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pet_clair.jpg size_local : 69649 size in s3 : 69649 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:03 Precision_Recall_pet_clair.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_refus.jpg size_local : 59936 size in s3 : 59936 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:59 Precision_Recall_refus.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_tapis_vide.jpg size_local : 71529 size in s3 : 71529 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:54 Precision_Recall_tapis_vide.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Result_Summary.txt size_local : 1076 size in s3 : 1076 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:55 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/checkpoint size_local : 99 size in s3 : 99 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:00 checkpoint already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_checkpoint.ckpt.data-00000-of-00001 size_local : 32591049 size in s3 : 32591049 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:42:02 model_checkpoint.ckpt.data-00000-of-00001 already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_checkpoint.ckpt.index size_local : 42495 size in s3 : 42495 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:41:55 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_weights.h5 size_local : 16536200 size in s3 : 16536200 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:42:00 model_weights.h5 already exist and didn't need to update desc size : 1280 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 1280) 4049564 _________________________________________________________________ learn_MM_generique_050224den (None, 12) 15372 ================================================================= Total params: 4,064,936 Trainable params: 15,372 Non-trainable params: 4,049,564 _________________________________________________________________ Loading Weights... time used to create the model : 7.099248886108398 time used to load_weights : 0.11351442337036133 0it [00:00, ?it/s] 5it [00:00, 2681.78it/s]temp/1760080637_4095625_1388574250_8a3b666b964f7a17fd2356c62f8dfda8.jpg temp/1760080637_4095625_1388574019_d2cf932cbdbf48ef03ee9c62318a3196.jpg temp/1760080637_4095625_1388573968_b507fd504fa1fd76a4b640d7d332df03.jpg temp/1760080637_4095625_1388573911_f84609142cefa77b060a9cc175d4e0a9.jpg temp/1760080637_4095625_1388573821_e37a36cbb5e994b5ac7b97e65000af3a.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.8506951332092285 (5,) (5, 12) (5, 1280) shape of features : (5, 1280) shape of new features : (1, 5, 1280) save descriptor for thcl : 3847 time to traite the descriptors : 0.05142807960510254 storage_type for insertDescriptorsMulti : 3 To insert : 1388574250 To insert : 1388574019 To insert : 1388573968 To insert : 1388573911 To insert : 1388573821 time to insert the descriptors : 1.1013941764831543 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1388574250, 1388574019, 1388573968, 1388573911, 1388573821] Looping around the photos to save general results len do output : 5 /1388574250Didn't retrieve data . /1388574019Didn't retrieve data . /1388573968Didn't retrieve data . /1388573911Didn't retrieve data . /1388573821Didn'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 ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574250', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388574019', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573968', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573911', None, None, None, None, None, '3911020') ('4877', None, None, None, None, None, None, None, '3911020') ('4877', '27666949', '1388573821', None, None, None, None, None, '3911020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.03734588623046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 40.40669775009155 time spend to save output : 0.03767228126525879 total time spend for step 8 : 40.44437003135681 step9:argmax Fri Oct 10 09:18:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou_step Argmax ! Inside saveOutput : final : True verbose : 0 photo_id : 1388574250 output[photo_id] : [[(1388574250, '05102018_Papier_non_papier_presque_vide', 0.57222044, 4557, 3513), (1388574250, 'jrm', 0.86052036, 4374, 3379), (1388574250, 'jrm', 0.8892166, 4932, 3847)], 'temp/1760080637_4095625_1388574250_8a3b666b964f7a17fd2356c62f8dfda8.jpg'] photo_id : 1388574019 output[photo_id] : [[(1388574019, '05102018_Papier_non_papier_presque_vide', 0.40568227, 4557, 3513), (1388574019, 'jrm', 0.9072591, 4374, 3379), (1388574019, 'jrm', 0.87559795, 4932, 3847)], 'temp/1760080637_4095625_1388574019_d2cf932cbdbf48ef03ee9c62318a3196.jpg'] photo_id : 1388573968 output[photo_id] : [[(1388573968, '05102018_Papier_non_papier_peu_dense', 0.48107558, 4557, 3513), (1388573968, 'jrm', 0.8989766, 4374, 3379), (1388573968, 'jrm', 0.86998516, 4932, 3847)], 'temp/1760080637_4095625_1388573968_b507fd504fa1fd76a4b640d7d332df03.jpg'] photo_id : 1388573911 output[photo_id] : [[(1388573911, '05102018_Papier_non_papier_peu_dense', 0.51211506, 4557, 3513), (1388573911, 'jrm', 0.8284717, 4374, 3379), (1388573911, 'jrm', 0.8225874, 4932, 3847)], 'temp/1760080637_4095625_1388573911_f84609142cefa77b060a9cc175d4e0a9.jpg'] photo_id : 1388573821 output[photo_id] : [[(1388573821, '05102018_Papier_non_papier_presque_vide', 0.5088815, 4557, 3513), (1388573821, 'jrm', 0.8003065, 4374, 3379), (1388573821, 'jrm', 0.84733534, 4932, 3847)], 'temp/1760080637_4095625_1388573821_e37a36cbb5e994b5ac7b97e65000af3a.jpg'] begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.03675985336303711 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 15 time used for this insertion : 0.03830409049987793 len list_finale : 15, len picture : 5 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.03647208213806152 saving photo_ids in datou_result begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.03581976890563965 save missing photos in datou_result : time spend for datou_step_exec : 0.017708301544189453 time spend to save output : 0.19687700271606445 total time spend for step 9 : 0.2145853042602539 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 62.60user 20.94system 1:46.40elapsed 78%CPU (0avgtext+0avgdata 3025708maxresident)k 48inputs+19032outputs (2major+3023853minor)pagefaults 0swaps