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 3911000' -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 : 4059128 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 : ['3911000'] with mtr_portfolio_ids : ['27666892'] and first list_photo_ids : [] new path : /proc/4059128/ 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.8478209972381592 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:02:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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:02:11.688604: 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:02:11.718429: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:02:11.719921: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f26fc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:02:11.719973: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:02:11.722719: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:02:12.034767: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x40384250 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:02:12.034831: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:02:12.036038: 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:02:12.036339: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:02:12.042156: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:02:12.044286: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:02:12.044761: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:02:12.047359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:02:12.048461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:02:12.054251: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:02:12.055869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:02:12.055949: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:02:12.056731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:02:12.056746: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:02:12.056756: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:02:12.058053: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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:02:12.470938: 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:02:12.471037: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:02:12.471069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:02:12.471097: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:02:12.471143: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:02:12.471172: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:02:12.471200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:02:12.471227: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:02:12.472842: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:02:12.474018: 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:02:12.474045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:02:12.474059: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:02:12.474072: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:02:12.474085: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:02:12.474098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:02:12.474111: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:02:12.474123: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:02:12.475419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:02:12.475447: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:02:12.475455: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:02:12.475463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:02:12.476758: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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:02:18.926912: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:02:19.084928: 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 : 4 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 : 17 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 : 20 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 : 12 Detection mask done ! Trying to reset tf kernel 4059256 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 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 : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.019182920455932617 nb_pixel_total : 1011297 time to create 1 rle with new method : 0.03441882133483887 length of segment : 1761 time for calcul the mask position with numpy : 0.0017020702362060547 nb_pixel_total : 121214 time to create 1 rle with old method : 0.13655757904052734 length of segment : 348 time for calcul the mask position with numpy : 0.0003883838653564453 nb_pixel_total : 23535 time to create 1 rle with old method : 0.026842117309570312 length of segment : 237 time for calcul the mask position with numpy : 6.413459777832031e-05 nb_pixel_total : 771 time to create 1 rle with old method : 0.001041412353515625 length of segment : 31 time for calcul the mask position with numpy : 0.00021719932556152344 nb_pixel_total : 11834 time to create 1 rle with old method : 0.013783454895019531 length of segment : 175 time for calcul the mask position with numpy : 0.005889892578125 nb_pixel_total : 358164 time to create 1 rle with new method : 0.017137765884399414 length of segment : 1052 time for calcul the mask position with numpy : 0.0010819435119628906 nb_pixel_total : 84953 time to create 1 rle with old method : 0.10339856147766113 length of segment : 298 time for calcul the mask position with numpy : 0.00013256072998046875 nb_pixel_total : 5867 time to create 1 rle with old method : 0.007101535797119141 length of segment : 89 time for calcul the mask position with numpy : 0.00010228157043457031 nb_pixel_total : 4720 time to create 1 rle with old method : 0.005645751953125 length of segment : 68 time for calcul the mask position with numpy : 4.744529724121094e-05 nb_pixel_total : 737 time to create 1 rle with old method : 0.0009968280792236328 length of segment : 27 time for calcul the mask position with numpy : 7.462501525878906e-05 nb_pixel_total : 2614 time to create 1 rle with old method : 0.00312042236328125 length of segment : 78 time for calcul the mask position with numpy : 0.0001704692840576172 nb_pixel_total : 6641 time to create 1 rle with old method : 0.007823467254638672 length of segment : 129 time for calcul the mask position with numpy : 0.00031638145446777344 nb_pixel_total : 19303 time to create 1 rle with old method : 0.022204160690307617 length of segment : 141 time for calcul the mask position with numpy : 0.00023937225341796875 nb_pixel_total : 15767 time to create 1 rle with old method : 0.0180056095123291 length of segment : 143 time for calcul the mask position with numpy : 0.00016045570373535156 nb_pixel_total : 6534 time to create 1 rle with old method : 0.007421255111694336 length of segment : 152 time for calcul the mask position with numpy : 0.00021123886108398438 nb_pixel_total : 6126 time to create 1 rle with old method : 0.007308244705200195 length of segment : 154 time for calcul the mask position with numpy : 0.0060918331146240234 nb_pixel_total : 380157 time to create 1 rle with new method : 0.017681598663330078 length of segment : 886 time for calcul the mask position with numpy : 0.00023674964904785156 nb_pixel_total : 10158 time to create 1 rle with old method : 0.011706352233886719 length of segment : 113 time for calcul the mask position with numpy : 0.0013070106506347656 nb_pixel_total : 92328 time to create 1 rle with old method : 0.10747623443603516 length of segment : 334 time for calcul the mask position with numpy : 0.00034046173095703125 nb_pixel_total : 21675 time to create 1 rle with old method : 0.026041030883789062 length of segment : 194 time for calcul the mask position with numpy : 0.00037217140197753906 nb_pixel_total : 10793 time to create 1 rle with old method : 0.012878656387329102 length of segment : 320 time for calcul the mask position with numpy : 6.246566772460938e-05 nb_pixel_total : 1245 time to create 1 rle with old method : 0.0015747547149658203 length of segment : 54 time for calcul the mask position with numpy : 0.0001232624053955078 nb_pixel_total : 5526 time to create 1 rle with old method : 0.0069086551666259766 length of segment : 76 time for calcul the mask position with numpy : 0.00025534629821777344 nb_pixel_total : 14028 time to create 1 rle with old method : 0.0157623291015625 length of segment : 145 time for calcul the mask position with numpy : 0.00018072128295898438 nb_pixel_total : 10471 time to create 1 rle with old method : 0.01190805435180664 length of segment : 117 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 6998 time to create 1 rle with old method : 0.008370399475097656 length of segment : 94 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 8760 time to create 1 rle with old method : 0.010425090789794922 length of segment : 126 time for calcul the mask position with numpy : 6.103515625e-05 nb_pixel_total : 743 time to create 1 rle with old method : 0.0009872913360595703 length of segment : 40 time for calcul the mask position with numpy : 0.00040221214294433594 nb_pixel_total : 28195 time to create 1 rle with old method : 0.03422188758850098 length of segment : 258 time for calcul the mask position with numpy : 0.00011944770812988281 nb_pixel_total : 3467 time to create 1 rle with old method : 0.004125356674194336 length of segment : 116 time for calcul the mask position with numpy : 0.0001971721649169922 nb_pixel_total : 9371 time to create 1 rle with old method : 0.010815620422363281 length of segment : 111 time for calcul the mask position with numpy : 0.00011754035949707031 nb_pixel_total : 2201 time to create 1 rle with old method : 0.002775907516479492 length of segment : 85 time for calcul the mask position with numpy : 0.001753091812133789 nb_pixel_total : 96246 time to create 1 rle with old method : 0.10802888870239258 length of segment : 413 time for calcul the mask position with numpy : 5.8650970458984375e-05 nb_pixel_total : 977 time to create 1 rle with old method : 0.0011687278747558594 length of segment : 28 time for calcul the mask position with numpy : 0.0009906291961669922 nb_pixel_total : 53140 time to create 1 rle with old method : 0.05894660949707031 length of segment : 308 time for calcul the mask position with numpy : 0.00043964385986328125 nb_pixel_total : 30092 time to create 1 rle with old method : 0.03381824493408203 length of segment : 212 time for calcul the mask position with numpy : 0.005291461944580078 nb_pixel_total : 205589 time to create 1 rle with new method : 0.020955562591552734 length of segment : 1416 time for calcul the mask position with numpy : 0.00020170211791992188 nb_pixel_total : 11040 time to create 1 rle with old method : 0.012148857116699219 length of segment : 123 time for calcul the mask position with numpy : 0.0002841949462890625 nb_pixel_total : 9256 time to create 1 rle with old method : 0.01081085205078125 length of segment : 316 time for calcul the mask position with numpy : 0.000457763671875 nb_pixel_total : 28979 time to create 1 rle with old method : 0.032038211822509766 length of segment : 237 time for calcul the mask position with numpy : 5.173683166503906e-05 nb_pixel_total : 736 time to create 1 rle with old method : 0.0010135173797607422 length of segment : 32 time for calcul the mask position with numpy : 0.00022125244140625 nb_pixel_total : 10276 time to create 1 rle with old method : 0.01204681396484375 length of segment : 112 time for calcul the mask position with numpy : 0.0006504058837890625 nb_pixel_total : 41738 time to create 1 rle with old method : 0.0466313362121582 length of segment : 242 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 4466 time to create 1 rle with old method : 0.005467891693115234 length of segment : 148 time for calcul the mask position with numpy : 8.320808410644531e-05 nb_pixel_total : 401 time to create 1 rle with old method : 0.0005161762237548828 length of segment : 30 time for calcul the mask position with numpy : 0.0003666877746582031 nb_pixel_total : 5646 time to create 1 rle with old method : 0.00682377815246582 length of segment : 177 time for calcul the mask position with numpy : 0.002827167510986328 nb_pixel_total : 128951 time to create 1 rle with old method : 0.14805269241333008 length of segment : 468 time for calcul the mask position with numpy : 0.008491754531860352 nb_pixel_total : 427080 time to create 1 rle with new method : 0.017950057983398438 length of segment : 1148 time for calcul the mask position with numpy : 7.510185241699219e-05 nb_pixel_total : 988 time to create 1 rle with old method : 0.0012760162353515625 length of segment : 42 time for calcul the mask position with numpy : 0.0003771781921386719 nb_pixel_total : 11799 time to create 1 rle with old method : 0.0133056640625 length of segment : 183 time for calcul the mask position with numpy : 0.0011625289916992188 nb_pixel_total : 110837 time to create 1 rle with old method : 0.1190633773803711 length of segment : 326 time for calcul the mask position with numpy : 0.0007081031799316406 nb_pixel_total : 28173 time to create 1 rle with old method : 0.03218221664428711 length of segment : 230 time for calcul the mask position with numpy : 0.0002162456512451172 nb_pixel_total : 5146 time to create 1 rle with old method : 0.006543159484863281 length of segment : 153 time for calcul the mask position with numpy : 0.0006663799285888672 nb_pixel_total : 10360 time to create 1 rle with old method : 0.012669563293457031 length of segment : 288 time for calcul the mask position with numpy : 0.0004787445068359375 nb_pixel_total : 26799 time to create 1 rle with old method : 0.030209779739379883 length of segment : 215 time spent for convertir_results : 4.023318767547607 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 55 chid ids of type : 3663 Number RLEs to save : 14799 save missing photos in datou_result : time spend for datou_step_exec : 21.216503143310547 time spend to save output : 1.7733752727508545 total time spend for step 1 : 22.9898784160614 step2:crop_condition Fri Oct 10 09:02:31 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 55 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 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 [1388570569, 1388570551, 1388570548, 1388570546, 1388570543] Looping around the photos to save general results len do output : 32 /-3991773451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773466Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773468Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773461Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991773447Didn'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, '3911000') ('4877', '27666892', '1388570569', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570551', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570548', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570546', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570543', None, None, None, None, None, '3911000') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.04117703437805176 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.9937052726745605 time spend to save output : 0.04248332977294922 total time spend for step 2 : 5.03618860244751 step3:thcl Fri Oct 10 09:02:36 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.004297733306884766 time to convert the images to numpy array : 2.384185791015625e-06 time to import caffe and check if the image exist : 0.005020856857299805 time to convert the images to numpy array : 2.6226043701171875e-06 time to import caffe and check if the image exist : 0.007231950759887695 time to convert the images to numpy array : 0.012152433395385742 time to import caffe and check if the image exist : 0.0043566226959228516 time to convert the images to numpy array : 0.016179800033569336 time to import caffe and check if the image exist : 0.009380340576171875 time to convert the images to numpy array : 0.011199951171875 time to import caffe and check if the image exist : 0.007894277572631836 time to convert the images to numpy array : 0.016797304153442383 time to import caffe and check if the image exist : 0.00539398193359375 time to convert the images to numpy array : 0.02155280113220215 time to import caffe and check if the image exist : 0.006225109100341797 time to convert the images to numpy array : 0.02087235450744629 time to import caffe and check if the image exist : 0.005409717559814453 time to convert the images to numpy array : 0.023557662963867188 time to import caffe and check if the image exist : 0.008817195892333984 time to convert the images to numpy array : 0.02444005012512207 total time to convert the images to numpy array : 0.23830628395080566 list photo_ids error: [] list photo_ids correct : [-3991773460, -3991773465, -3991773468, -3991773467, -3991773451, -3991773458, -3991773477, -3991773473, -3991773466, -3991773474, -3991773456, -3991773462, -3991773485, -3991773478, -3991773484, -3991773480, -3991773454, -3991773450, -3991773455, -3991773449, -3991773461, -3991773475, -3991773482, -3991773486, -3991773494, -3991773493, -3991773445, -3991773447, -3991773471, -3991773488, -3991773492, -3991773489] number of photos to traite : 32 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 : 10998 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 : 10557 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.2017686367034912 time used to do the prediction : 0.09712958335876465 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 : 10553 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 : 10553 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.2555561065673828 time used to do the prediction : 0.08578372001647949 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 : 9.298324584960938e-06 save missing photos in datou_result : time spend for datou_step_exec : 7.671915769577026 time spend to save output : 0.0002605915069580078 total time spend for step 3 : 7.672176361083984 step4:merge_mask_thcl_custom Fri Oct 10 09:02:44 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 55 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 [1388570569, 1388570551, 1388570548, 1388570546, 1388570543] Looping around the photos to save general results len do output : 5 /1388570569Didn't retrieve data .Didn't retrieve data . /1388570551Didn't retrieve data .Didn't retrieve data . /1388570548Didn't retrieve data .Didn't retrieve data . /1388570546Didn't retrieve data .Didn't retrieve data . /1388570543Didn'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, '3911000') ('4877', '27666892', '1388570569', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570551', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570548', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570546', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570543', None, None, None, None, None, '3911000') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.035390377044677734 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1942434310913086 time spend to save output : 0.03572487831115723 total time spend for step 4 : 0.22996830940246582 step5:rle_unique_nms_with_priority Fri Oct 10 09:02:44 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 : 2 nb_hashtags : 1 time to prepare the origin masks : 0.20074725151062012 time for calcul the mask position with numpy : 0.011471033096313477 nb_pixel_total : 727744 time to create 1 rle with new method : 0.039775848388671875 time for calcul the mask position with numpy : 0.005345582962036133 nb_pixel_total : 22121 time to create 1 rle with old method : 0.0244748592376709 time for calcul the mask position with numpy : 0.013344049453735352 nb_pixel_total : 1012695 time to create 1 rle with new method : 0.033971309661865234 create new chi : 0.13501715660095215 time to delete rle : 0.05211520195007324 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 4616 TO DO : save crop sub photo not yet done ! save time : 0.6118330955505371 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 0.619727373123169 time for calcul the mask position with numpy : 0.015125274658203125 nb_pixel_total : 1232654 time to create 1 rle with new method : 0.032729148864746094 time for calcul the mask position with numpy : 0.004953622817993164 nb_pixel_total : 22182 time to create 1 rle with old method : 0.023357152938842773 time for calcul the mask position with numpy : 0.004691600799560547 nb_pixel_total : 4656 time to create 1 rle with old method : 0.004789829254150391 time for calcul the mask position with numpy : 0.005027055740356445 nb_pixel_total : 15694 time to create 1 rle with old method : 0.017288923263549805 time for calcul the mask position with numpy : 0.004911661148071289 nb_pixel_total : 19239 time to create 1 rle with old method : 0.020625591278076172 time for calcul the mask position with numpy : 0.004993915557861328 nb_pixel_total : 6614 time to create 1 rle with old method : 0.007101774215698242 time for calcul the mask position with numpy : 0.004892110824584961 nb_pixel_total : 728 time to create 1 rle with old method : 0.0007817745208740234 time for calcul the mask position with numpy : 0.004742860794067383 nb_pixel_total : 5846 time to create 1 rle with old method : 0.006325244903564453 time for calcul the mask position with numpy : 0.005194902420043945 nb_pixel_total : 84855 time to create 1 rle with old method : 0.08714532852172852 time for calcul the mask position with numpy : 0.006798505783081055 nb_pixel_total : 357530 time to create 1 rle with new method : 0.02581334114074707 time for calcul the mask position with numpy : 0.004649162292480469 nb_pixel_total : 761 time to create 1 rle with old method : 0.0008227825164794922 time for calcul the mask position with numpy : 0.004758358001708984 nb_pixel_total : 11801 time to create 1 rle with old method : 0.012308359146118164 create new chi : 0.3132436275482178 time to delete rle : 0.0005471706390380859 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 5757 TO DO : save crop sub photo not yet done ! save time : 0.7189655303955078 nb_obj : 12 nb_hashtags : 7 time to prepare the origin masks : 0.7047388553619385 time for calcul the mask position with numpy : 0.015491962432861328 nb_pixel_total : 1208050 time to create 1 rle with new method : 0.03312945365905762 time for calcul the mask position with numpy : 0.004901409149169922 nb_pixel_total : 4435 time to create 1 rle with old method : 0.004819154739379883 time for calcul the mask position with numpy : 0.004683732986450195 nb_pixel_total : 5469 time to create 1 rle with old method : 0.005754947662353516 time for calcul the mask position with numpy : 0.004881143569946289 nb_pixel_total : 10386 time to create 1 rle with old method : 0.010718584060668945 time for calcul the mask position with numpy : 0.004828691482543945 nb_pixel_total : 10072 time to create 1 rle with old method : 0.010653972625732422 time for calcul the mask position with numpy : 0.004836559295654297 nb_pixel_total : 13994 time to create 1 rle with old method : 0.014827966690063477 time for calcul the mask position with numpy : 0.004805088043212891 nb_pixel_total : 1236 time to create 1 rle with old method : 0.0013327598571777344 time for calcul the mask position with numpy : 0.004973649978637695 nb_pixel_total : 21628 time to create 1 rle with old method : 0.02278423309326172 time for calcul the mask position with numpy : 0.0050013065338134766 nb_pixel_total : 5588 time to create 1 rle with old method : 0.005975008010864258 time for calcul the mask position with numpy : 0.004916667938232422 nb_pixel_total : 2951 time to create 1 rle with old method : 0.003403186798095703 time for calcul the mask position with numpy : 0.006863832473754883 nb_pixel_total : 380140 time to create 1 rle with new method : 0.02679300308227539 time for calcul the mask position with numpy : 0.005337715148925781 nb_pixel_total : 92101 time to create 1 rle with old method : 0.09626555442810059 time for calcul the mask position with numpy : 0.005240678787231445 nb_pixel_total : 6510 time to create 1 rle with old method : 0.0071563720703125 create new chi : 0.32367825508117676 time to delete rle : 0.0006129741668701172 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 6001 TO DO : save crop sub photo not yet done ! save time : 0.7512345314025879 nb_obj : 17 nb_hashtags : 5 time to prepare the origin masks : 0.9104366302490234 time for calcul the mask position with numpy : 0.015805959701538086 nb_pixel_total : 1236510 time to create 1 rle with new method : 0.03479361534118652 time for calcul the mask position with numpy : 0.004976987838745117 nb_pixel_total : 11005 time to create 1 rle with old method : 0.01151585578918457 time for calcul the mask position with numpy : 0.004849672317504883 nb_pixel_total : 28907 time to create 1 rle with old method : 0.029880762100219727 time for calcul the mask position with numpy : 0.004690647125244141 nb_pixel_total : 2184 time to create 1 rle with old method : 0.0023040771484375 time for calcul the mask position with numpy : 0.004980802536010742 nb_pixel_total : 30013 time to create 1 rle with old method : 0.03143811225891113 time for calcul the mask position with numpy : 0.005616664886474609 nb_pixel_total : 53079 time to create 1 rle with old method : 0.05705976486206055 time for calcul the mask position with numpy : 0.004999399185180664 nb_pixel_total : 731 time to create 1 rle with old method : 0.0007939338684082031 time for calcul the mask position with numpy : 0.0050084590911865234 nb_pixel_total : 9175 time to create 1 rle with old method : 0.009737014770507812 time for calcul the mask position with numpy : 0.005899667739868164 nb_pixel_total : 205076 time to create 1 rle with new method : 0.030397415161132812 time for calcul the mask position with numpy : 0.005355358123779297 nb_pixel_total : 110 time to create 1 rle with old method : 0.0002570152282714844 time for calcul the mask position with numpy : 0.0054340362548828125 nb_pixel_total : 967 time to create 1 rle with old method : 0.001119852066040039 time for calcul the mask position with numpy : 0.005578041076660156 nb_pixel_total : 10233 time to create 1 rle with old method : 0.012010574340820312 time for calcul the mask position with numpy : 0.005566120147705078 nb_pixel_total : 3443 time to create 1 rle with old method : 0.00413060188293457 time for calcul the mask position with numpy : 0.005555629730224609 nb_pixel_total : 28155 time to create 1 rle with old method : 0.032671213150024414 time for calcul the mask position with numpy : 0.005757808685302734 nb_pixel_total : 4438 time to create 1 rle with old method : 0.005323886871337891 time for calcul the mask position with numpy : 0.005891323089599609 nb_pixel_total : 41611 time to create 1 rle with old method : 0.04860377311706543 time for calcul the mask position with numpy : 0.005647182464599609 nb_pixel_total : 732 time to create 1 rle with old method : 0.0008604526519775391 time for calcul the mask position with numpy : 0.005946159362792969 nb_pixel_total : 96191 time to create 1 rle with old method : 0.11233329772949219 create new chi : 0.5368461608886719 time to delete rle : 0.0009272098541259766 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 9318 TO DO : save crop sub photo not yet done ! save time : 1.0314908027648926 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 0.6009764671325684 time for calcul the mask position with numpy : 0.011727571487426758 nb_pixel_total : 1115468 time to create 1 rle with new method : 0.024801969528198242 time for calcul the mask position with numpy : 0.004843473434448242 nb_pixel_total : 22896 time to create 1 rle with old method : 0.02450084686279297 time for calcul the mask position with numpy : 0.005475521087646484 nb_pixel_total : 115787 time to create 1 rle with old method : 0.11968874931335449 time for calcul the mask position with numpy : 0.004913330078125 nb_pixel_total : 22372 time to create 1 rle with old method : 0.023275136947631836 time for calcul the mask position with numpy : 0.004815816879272461 nb_pixel_total : 6375 time to create 1 rle with old method : 0.0071375370025634766 time for calcul the mask position with numpy : 0.0047876834869384766 nb_pixel_total : 5084 time to create 1 rle with old method : 0.005785465240478516 time for calcul the mask position with numpy : 0.004858255386352539 nb_pixel_total : 974 time to create 1 rle with old method : 0.0011055469512939453 time for calcul the mask position with numpy : 0.007319211959838867 nb_pixel_total : 455852 time to create 1 rle with new method : 0.022346019744873047 time for calcul the mask position with numpy : 0.004766225814819336 nb_pixel_total : 11746 time to create 1 rle with old method : 0.012548446655273438 time for calcul the mask position with numpy : 0.0046923160552978516 nb_pixel_total : 396 time to create 1 rle with old method : 0.0004382133483886719 time for calcul the mask position with numpy : 0.004637718200683594 nb_pixel_total : 5610 time to create 1 rle with old method : 0.005850315093994141 create new chi : 0.3111436367034912 time to delete rle : 0.0005166530609130859 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 5858 TO DO : save crop sub photo not yet done ! save time : 0.707665205001831 map_output_result : {1388570569: (0.0, 'Should be the crop_list due to order', 0.0), 1388570551: (0.0, 'Should be the crop_list due to order', 0.0), 1388570548: (0.0, 'Should be the crop_list due to order', 0.0), 1388570546: (0.0, 'Should be the crop_list due to order', 0.0), 1388570543: (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 [1388570569, 1388570551, 1388570548, 1388570546, 1388570543] Looping around the photos to save general results len do output : 5 /1388570569.Didn't retrieve data . /1388570551.Didn't retrieve data . /1388570548.Didn't retrieve data . /1388570546.Didn't retrieve data . /1388570543.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, '3911000') ('4877', '27666892', '1388570569', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570551', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570548', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570546', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570543', None, None, None, None, None, '3911000') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.03665804862976074 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.704478740692139 time spend to save output : 0.03694295883178711 total time spend for step 5 : 8.741421699523926 step6:crop_condition Fri Oct 10 09:02:53 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 57 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/1760079774_4059128 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(1760079774), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570543_70853a1cb183299eaed84cf50df312a4_rle_crop_3991773908_0.png', 0, 171, 177, 0, 1760079774,'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.6462252140045166 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 ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760079775_4059128 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(1760079776), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570551_d21225536e3555be12eeb1b8ac2aab83_rle_crop_3991773710_0.png', 0, 153, 144, 0, 1760079776,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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(1760079776), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570548_d582287ebe82ebccaa6815d2e62180c8_rle_crop_3991773873_0.png', 0, 126, 112, 0, 1760079776,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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(1760079776), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f_rle_crop_3991773884_0.png', 0, 201, 225, 0, 1760079776,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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(1760079776), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f_rle_crop_3991773883_0.png', 0, 120, 124, 0, 1760079776,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6539018154144287 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! 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/1760079777_4059128 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(1760079777), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f_rle_crop_3991773885_0.png', 0, 72, 85, 0, 1760079777,'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.6586813926696777 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760079778_4059128 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(1760079779), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570548_d582287ebe82ebccaa6815d2e62180c8_rle_crop_3991773876_0.png', 0, 149, 193, 0, 1760079779,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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(1760079779), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f_rle_crop_3991773886_0.png', 0, 214, 212, 0, 1760079779,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0454599857330322 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 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/1760079779_4059128 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(1760079780), 0.0, 0.0, 14, '', 0, 0, '1760079728_4059128_1388570548_d582287ebe82ebccaa6815d2e62180c8_rle_crop_3991773874_0.png', 0, 129, 139, 0, 1760079780,'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 : 1.0998992919921875 we have finished the crop for the class : metal delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1388570569, 1388570551, 1388570548, 1388570546, 1388570543] Looping around the photos to save general results len do output : 9 /1388621433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388621441Didn'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, '3911000') ('4877', '27666892', '1388570569', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570551', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570548', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570546', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570543', None, None, None, None, None, '3911000') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 time used for this insertion : 0.03892064094543457 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.222641468048096 time spend to save output : 0.03952741622924805 total time spend for step 6 : 7.262168884277344 step7:ventilate_hashtags_in_portfolio Fri Oct 10 09:03:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 Iterating over portfolio : 27666892 get user id for portfolio 27666892 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`=27666892 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','papier','Carton_gris','plastique','flou','mal_croppe','autre_refus','Teint_Dans_La_Masse','metal','Carton_brun','cartonnette')) 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`=27666892 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','papier','Carton_gris','plastique','flou','mal_croppe','autre_refus','Teint_Dans_La_Masse','metal','Carton_brun','cartonnette')) 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`=27666892 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','papier','Carton_gris','plastique','flou','mal_croppe','autre_refus','Teint_Dans_La_Masse','metal','Carton_brun','cartonnette')) 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`=27666892 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','papier','Carton_gris','plastique','flou','mal_croppe','autre_refus','Teint_Dans_La_Masse','metal','Carton_brun','cartonnette')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27683450,27683451,27683452,27683453,27683454,27683455,27683457,27683458,27683459,27683460,27683461,27683462?tags=kraft,environnement,papier,Carton_gris,plastique,flou,mal_croppe,autre_refus,Teint_Dans_La_Masse,metal,Carton_brun,cartonnette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388570569, 1388570551, 1388570548, 1388570546, 1388570543] Looping around the photos to save general results len do output : 1 /27666892. 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, '3911000') ('4877', '27666892', '1388570569', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570551', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570548', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570546', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570543', None, None, None, None, None, '3911000') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.0345149040222168 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.785137891769409 time spend to save output : 0.03473067283630371 total time spend for step 7 : 6.819868564605713 step8:tfhub_classification2 Fri Oct 10 09:03: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 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:03:10.323074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:03:10.323994: 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:03:10.324052: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:03:10.324102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:03:10.326086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:03:10.326141: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:03:10.331974: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:03:10.333018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:03:10.338687: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:03:10.340488: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:03:10.340963: 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:03:10.366628: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:03:10.368498: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f25f0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:03:10.368525: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:03:10.372654: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4c59e790 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:03:10.372707: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:03:10.373998: 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:03:10.374069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:03:10.374096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:03:10.374180: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:03:10.374209: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:03:10.374246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:03:10.374303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:03:10.374348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:03:10.376488: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:03:10.376553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:03:10.376621: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:03:10.376638: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:03:10.376651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:03:10.378871: 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 : 10553 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.056129693984985 time used to load_weights : 0.18414068222045898 0it [00:00, ?it/s] 5it [00:00, 1801.06it/s]2025-10-10 09:03:20.559848: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:03:20.586909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1760079728_4059128_1388570569_f86c1323bb2294f965ad47f3a192c2d4.jpg temp/1760079728_4059128_1388570551_d21225536e3555be12eeb1b8ac2aab83.jpg temp/1760079728_4059128_1388570548_d582287ebe82ebccaa6815d2e62180c8.jpg temp/1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f.jpg temp/1760079728_4059128_1388570543_70853a1cb183299eaed84cf50df312a4.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 2.2546238899230957 (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.04467487335205078 storage_type for insertDescriptorsMulti : 3 To insert : 1388570569 To insert : 1388570551 To insert : 1388570548 To insert : 1388570546 To insert : 1388570543 Catched exception ! Connect or reconnect ! time to insert the descriptors : 2.8565187454223633 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 : 7.319664001464844 time used to load_weights : 0.11936187744140625 0it [00:00, ?it/s] 5it [00:00, 1752.01it/s]temp/1760079728_4059128_1388570569_f86c1323bb2294f965ad47f3a192c2d4.jpg temp/1760079728_4059128_1388570551_d21225536e3555be12eeb1b8ac2aab83.jpg temp/1760079728_4059128_1388570548_d582287ebe82ebccaa6815d2e62180c8.jpg temp/1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f.jpg temp/1760079728_4059128_1388570543_70853a1cb183299eaed84cf50df312a4.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.077829360961914 (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.04875326156616211 storage_type for insertDescriptorsMulti : 3 To insert : 1388570569 To insert : 1388570551 To insert : 1388570548 To insert : 1388570546 To insert : 1388570543 time to insert the descriptors : 1.517787218093872 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.112554550170898 time used to load_weights : 0.12694072723388672 0it [00:00, ?it/s] 5it [00:00, 2116.20it/s]temp/1760079728_4059128_1388570569_f86c1323bb2294f965ad47f3a192c2d4.jpg temp/1760079728_4059128_1388570551_d21225536e3555be12eeb1b8ac2aab83.jpg temp/1760079728_4059128_1388570548_d582287ebe82ebccaa6815d2e62180c8.jpg temp/1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f.jpg temp/1760079728_4059128_1388570543_70853a1cb183299eaed84cf50df312a4.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.8474283218383789 (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.05335402488708496 storage_type for insertDescriptorsMulti : 3 To insert : 1388570569 To insert : 1388570551 To insert : 1388570548 To insert : 1388570546 To insert : 1388570543 time to insert the descriptors : 1.667358636856079 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1388570569, 1388570551, 1388570548, 1388570546, 1388570543] Looping around the photos to save general results len do output : 5 /1388570569Didn't retrieve data . /1388570551Didn't retrieve data . /1388570548Didn't retrieve data . /1388570546Didn't retrieve data . /1388570543Didn'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, '3911000') ('4877', '27666892', '1388570569', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570551', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570548', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570546', None, None, None, None, None, '3911000') ('4877', None, None, None, None, None, None, None, '3911000') ('4877', '27666892', '1388570543', None, None, None, None, None, '3911000') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.03547358512878418 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.80955934524536 time spend to save output : 0.03575849533081055 total time spend for step 8 : 41.84531784057617 step9:argmax Fri Oct 10 09:03:49 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 : 1388570569 output[photo_id] : [[(1388570569, '05102018_Papier_non_papier_presque_vide', 0.36089402, 4557, 3513), (1388570569, 'jrm', 0.3627438, 4374, 3379), (1388570569, 'tapis_vide', 0.40661365, 4932, 3847)], 'temp/1760079728_4059128_1388570569_f86c1323bb2294f965ad47f3a192c2d4.jpg'] photo_id : 1388570551 output[photo_id] : [[(1388570551, '05102018_Papier_non_papier_tres_dense', 0.3617795, 4557, 3513), (1388570551, 'jrm', 0.9261356, 4374, 3379), (1388570551, 'jrm', 0.8780828, 4932, 3847)], 'temp/1760079728_4059128_1388570551_d21225536e3555be12eeb1b8ac2aab83.jpg'] photo_id : 1388570548 output[photo_id] : [[(1388570548, '05102018_Papier_non_papier_presque_vide', 0.4503641, 4557, 3513), (1388570548, 'jrm', 0.95108086, 4374, 3379), (1388570548, 'jrm', 0.9523616, 4932, 3847)], 'temp/1760079728_4059128_1388570548_d582287ebe82ebccaa6815d2e62180c8.jpg'] photo_id : 1388570546 output[photo_id] : [[(1388570546, '05102018_Papier_non_papier_presque_vide', 0.5528471, 4557, 3513), (1388570546, 'jrm', 0.9201188, 4374, 3379), (1388570546, 'jrm', 0.84961903, 4932, 3847)], 'temp/1760079728_4059128_1388570546_fe1d4a6d9b26668a995ac4d66d54b05f.jpg'] photo_id : 1388570543 output[photo_id] : [[(1388570543, '05102018_Papier_non_papier_presque_vide', 0.53000355, 4557, 3513), (1388570543, 'jrm', 0.9228541, 4374, 3379), (1388570543, 'jrm', 0.88313335, 4932, 3847)], 'temp/1760079728_4059128_1388570543_70853a1cb183299eaed84cf50df312a4.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.035294532775878906 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.03864693641662598 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.03603625297546387 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.035399675369262695 save missing photos in datou_result : time spend for datou_step_exec : 0.016887903213500977 time spend to save output : 0.2105555534362793 total time spend for step 9 : 0.22744345664978027 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 59.16user 18.66system 1:46.13elapsed 73%CPU (0avgtext+0avgdata 3006996maxresident)k 692544inputs+17008outputs (233major+2587596minor)pagefaults 0swaps