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 3911021' -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 : 4102687 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 : ['3911021'] with mtr_portfolio_ids : ['27666950'] and first list_photo_ids : [] new path : /proc/4102687/ 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 , BFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 time to download the photos : 1.1236581802368164 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:20:02 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:20:05.023833: 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:20:05.054411: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:20:05.056366: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4b4c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:20:05.056422: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:20:05.059080: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:20:05.348480: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7551dd0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:20:05.348547: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:20:05.350073: 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:20:05.350531: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:20:05.353948: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:20:05.357145: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:20:05.357693: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:20:05.360669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:20:05.361739: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:20:05.366261: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:20:05.367757: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:20:05.367829: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:20:05.368590: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:20:05.368606: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:20:05.368615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:20:05.369906: 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:20:05.776754: 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:20:05.776847: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:20:05.776876: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:20:05.776902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:20:05.776945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:20:05.776972: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:20:05.776996: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:20:05.777022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:20:05.779278: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:20:05.781095: 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:20:05.781143: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:20:05.781170: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:20:05.781194: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:20:05.781218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:20:05.781242: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:20:05.781266: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:20:05.781290: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:20:05.783473: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:20:05.783501: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:20:05.783510: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:20:05.783518: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:20:05.784839: 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:20:12.128502: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:20:12.294938: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.04104 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 21 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: 150.80518 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 16 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 : 16 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 : 19 Detection mask done ! Trying to reset tf kernel 4103041 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 7 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 7 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.0010111331939697266 nb_pixel_total : 23818 time to create 1 rle with old method : 0.027281999588012695 length of segment : 413 time for calcul the mask position with numpy : 0.00011038780212402344 nb_pixel_total : 2926 time to create 1 rle with old method : 0.0036284923553466797 length of segment : 55 time for calcul the mask position with numpy : 6.699562072753906e-05 nb_pixel_total : 1520 time to create 1 rle with old method : 0.0019233226776123047 length of segment : 51 time for calcul the mask position with numpy : 0.00010848045349121094 nb_pixel_total : 1374 time to create 1 rle with old method : 0.001828908920288086 length of segment : 90 time for calcul the mask position with numpy : 7.62939453125e-05 nb_pixel_total : 2410 time to create 1 rle with old method : 0.002971649169921875 length of segment : 78 time for calcul the mask position with numpy : 0.0002856254577636719 nb_pixel_total : 8298 time to create 1 rle with old method : 0.010337114334106445 length of segment : 133 time for calcul the mask position with numpy : 0.00128173828125 nb_pixel_total : 99949 time to create 1 rle with old method : 0.11443257331848145 length of segment : 300 time for calcul the mask position with numpy : 8.58306884765625e-05 nb_pixel_total : 738 time to create 1 rle with old method : 0.0010552406311035156 length of segment : 40 time for calcul the mask position with numpy : 0.010566949844360352 nb_pixel_total : 428488 time to create 1 rle with new method : 0.026978492736816406 length of segment : 1198 time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 4730 time to create 1 rle with old method : 0.005613565444946289 length of segment : 189 time for calcul the mask position with numpy : 5.7220458984375e-05 nb_pixel_total : 554 time to create 1 rle with old method : 0.0008366107940673828 length of segment : 32 time for calcul the mask position with numpy : 0.0005314350128173828 nb_pixel_total : 15421 time to create 1 rle with old method : 0.018263816833496094 length of segment : 372 time for calcul the mask position with numpy : 0.0015997886657714844 nb_pixel_total : 94371 time to create 1 rle with old method : 0.10727643966674805 length of segment : 321 time for calcul the mask position with numpy : 0.0006425380706787109 nb_pixel_total : 14272 time to create 1 rle with old method : 0.016345739364624023 length of segment : 256 time for calcul the mask position with numpy : 0.0007560253143310547 nb_pixel_total : 23819 time to create 1 rle with old method : 0.02718186378479004 length of segment : 413 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 2927 time to create 1 rle with old method : 0.0034928321838378906 length of segment : 55 time for calcul the mask position with numpy : 5.936622619628906e-05 nb_pixel_total : 1521 time to create 1 rle with old method : 0.0018725395202636719 length of segment : 51 time for calcul the mask position with numpy : 8.153915405273438e-05 nb_pixel_total : 1374 time to create 1 rle with old method : 0.001840353012084961 length of segment : 90 time for calcul the mask position with numpy : 7.605552673339844e-05 nb_pixel_total : 2410 time to create 1 rle with old method : 0.0028285980224609375 length of segment : 78 time for calcul the mask position with numpy : 0.0003235340118408203 nb_pixel_total : 8316 time to create 1 rle with old method : 0.009924650192260742 length of segment : 135 time for calcul the mask position with numpy : 0.0011324882507324219 nb_pixel_total : 99949 time to create 1 rle with old method : 0.1111750602722168 length of segment : 300 time for calcul the mask position with numpy : 5.340576171875e-05 nb_pixel_total : 738 time to create 1 rle with old method : 0.0010149478912353516 length of segment : 40 time for calcul the mask position with numpy : 0.006076812744140625 nb_pixel_total : 428414 time to create 1 rle with new method : 0.014617919921875 length of segment : 1197 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 4730 time to create 1 rle with old method : 0.005401134490966797 length of segment : 189 time for calcul the mask position with numpy : 4.5299530029296875e-05 nb_pixel_total : 554 time to create 1 rle with old method : 0.0007607936859130859 length of segment : 32 time for calcul the mask position with numpy : 0.0004570484161376953 nb_pixel_total : 15420 time to create 1 rle with old method : 0.017640352249145508 length of segment : 371 time for calcul the mask position with numpy : 0.001295328140258789 nb_pixel_total : 94367 time to create 1 rle with old method : 0.10104918479919434 length of segment : 320 time for calcul the mask position with numpy : 0.0005612373352050781 nb_pixel_total : 14266 time to create 1 rle with old method : 0.015984296798706055 length of segment : 256 time for calcul the mask position with numpy : 0.00021648406982421875 nb_pixel_total : 11390 time to create 1 rle with old method : 0.012662172317504883 length of segment : 197 time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 9653 time to create 1 rle with old method : 0.011385917663574219 length of segment : 61 time for calcul the mask position with numpy : 4.935264587402344e-05 nb_pixel_total : 823 time to create 1 rle with old method : 0.0011446475982666016 length of segment : 33 time for calcul the mask position with numpy : 4.887580871582031e-05 nb_pixel_total : 813 time to create 1 rle with old method : 0.001119852066040039 length of segment : 34 time for calcul the mask position with numpy : 0.00014662742614746094 nb_pixel_total : 3379 time to create 1 rle with old method : 0.004214048385620117 length of segment : 117 time for calcul the mask position with numpy : 0.0012993812561035156 nb_pixel_total : 92119 time to create 1 rle with old method : 0.11169958114624023 length of segment : 461 time for calcul the mask position with numpy : 0.00046062469482421875 nb_pixel_total : 21325 time to create 1 rle with old method : 0.02368903160095215 length of segment : 273 time for calcul the mask position with numpy : 0.0006070137023925781 nb_pixel_total : 35139 time to create 1 rle with old method : 0.04037928581237793 length of segment : 232 time for calcul the mask position with numpy : 0.0013620853424072266 nb_pixel_total : 60989 time to create 1 rle with old method : 0.06763553619384766 length of segment : 403 time for calcul the mask position with numpy : 0.0009491443634033203 nb_pixel_total : 72367 time to create 1 rle with old method : 0.08085918426513672 length of segment : 294 time for calcul the mask position with numpy : 0.007015705108642578 nb_pixel_total : 272876 time to create 1 rle with new method : 0.025458574295043945 length of segment : 1426 time for calcul the mask position with numpy : 0.000240325927734375 nb_pixel_total : 8768 time to create 1 rle with old method : 0.009785890579223633 length of segment : 114 time for calcul the mask position with numpy : 0.0001480579376220703 nb_pixel_total : 8729 time to create 1 rle with old method : 0.009535789489746094 length of segment : 113 time for calcul the mask position with numpy : 8.654594421386719e-05 nb_pixel_total : 2588 time to create 1 rle with old method : 0.0029449462890625 length of segment : 69 time for calcul the mask position with numpy : 0.00015807151794433594 nb_pixel_total : 8299 time to create 1 rle with old method : 0.009012937545776367 length of segment : 95 time for calcul the mask position with numpy : 0.00014495849609375 nb_pixel_total : 8572 time to create 1 rle with old method : 0.009409427642822266 length of segment : 105 time for calcul the mask position with numpy : 0.00011992454528808594 nb_pixel_total : 1714 time to create 1 rle with old method : 0.0020062923431396484 length of segment : 49 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 258 time to create 1 rle with old method : 0.0003476142883300781 length of segment : 25 time for calcul the mask position with numpy : 8.511543273925781e-05 nb_pixel_total : 800 time to create 1 rle with old method : 0.0009262561798095703 length of segment : 35 time for calcul the mask position with numpy : 0.0003714561462402344 nb_pixel_total : 8858 time to create 1 rle with old method : 0.009541749954223633 length of segment : 103 time for calcul the mask position with numpy : 0.010176420211791992 nb_pixel_total : 354630 time to create 1 rle with new method : 0.020184040069580078 length of segment : 1238 time for calcul the mask position with numpy : 6.914138793945312e-05 nb_pixel_total : 1074 time to create 1 rle with old method : 0.0013194084167480469 length of segment : 37 time for calcul the mask position with numpy : 0.0004456043243408203 nb_pixel_total : 25915 time to create 1 rle with old method : 0.02885270118713379 length of segment : 180 time for calcul the mask position with numpy : 0.0014629364013671875 nb_pixel_total : 82272 time to create 1 rle with old method : 0.09837818145751953 length of segment : 378 time for calcul the mask position with numpy : 0.0009970664978027344 nb_pixel_total : 13486 time to create 1 rle with old method : 0.01618671417236328 length of segment : 289 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 787 time to create 1 rle with old method : 0.0010247230529785156 length of segment : 36 time for calcul the mask position with numpy : 0.0018224716186523438 nb_pixel_total : 106160 time to create 1 rle with old method : 0.11866092681884766 length of segment : 544 time for calcul the mask position with numpy : 5.91278076171875e-05 nb_pixel_total : 461 time to create 1 rle with old method : 0.0006299018859863281 length of segment : 40 time for calcul the mask position with numpy : 0.00023865699768066406 nb_pixel_total : 2636 time to create 1 rle with old method : 0.003269672393798828 length of segment : 118 time for calcul the mask position with numpy : 0.00032401084899902344 nb_pixel_total : 4610 time to create 1 rle with old method : 0.008069992065429688 length of segment : 106 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 2964 time to create 1 rle with old method : 0.005470991134643555 length of segment : 43 time for calcul the mask position with numpy : 0.0015854835510253906 nb_pixel_total : 48306 time to create 1 rle with old method : 0.06806445121765137 length of segment : 282 time for calcul the mask position with numpy : 0.001733541488647461 nb_pixel_total : 84017 time to create 1 rle with old method : 0.10996317863464355 length of segment : 297 time for calcul the mask position with numpy : 0.0008406639099121094 nb_pixel_total : 29445 time to create 1 rle with old method : 0.0344548225402832 length of segment : 161 time for calcul the mask position with numpy : 0.0002167224884033203 nb_pixel_total : 2237 time to create 1 rle with old method : 0.0038976669311523438 length of segment : 65 time for calcul the mask position with numpy : 0.009124517440795898 nb_pixel_total : 270004 time to create 1 rle with new method : 0.016849040985107422 length of segment : 1259 time for calcul the mask position with numpy : 0.0005273818969726562 nb_pixel_total : 32438 time to create 1 rle with old method : 0.03664231300354004 length of segment : 185 time for calcul the mask position with numpy : 0.0006954669952392578 nb_pixel_total : 20631 time to create 1 rle with old method : 0.024001598358154297 length of segment : 256 time for calcul the mask position with numpy : 8.368492126464844e-05 nb_pixel_total : 1615 time to create 1 rle with old method : 0.002006053924560547 length of segment : 33 time for calcul the mask position with numpy : 0.0018389225006103516 nb_pixel_total : 90679 time to create 1 rle with old method : 0.1172170639038086 length of segment : 460 time for calcul the mask position with numpy : 8.344650268554688e-05 nb_pixel_total : 1559 time to create 1 rle with old method : 0.001955747604370117 length of segment : 35 time for calcul the mask position with numpy : 9.799003601074219e-05 nb_pixel_total : 2919 time to create 1 rle with old method : 0.003715038299560547 length of segment : 80 time for calcul the mask position with numpy : 0.0014543533325195312 nb_pixel_total : 77298 time to create 1 rle with old method : 0.08630251884460449 length of segment : 625 time for calcul the mask position with numpy : 0.00012969970703125 nb_pixel_total : 4057 time to create 1 rle with old method : 0.00493168830871582 length of segment : 97 time for calcul the mask position with numpy : 0.0004317760467529297 nb_pixel_total : 6580 time to create 1 rle with old method : 0.007990360260009766 length of segment : 156 time for calcul the mask position with numpy : 0.00011157989501953125 nb_pixel_total : 1610 time to create 1 rle with old method : 0.002078533172607422 length of segment : 34 time for calcul the mask position with numpy : 6.437301635742188e-05 nb_pixel_total : 244 time to create 1 rle with old method : 0.00034356117248535156 length of segment : 22 time for calcul the mask position with numpy : 0.0016942024230957031 nb_pixel_total : 82564 time to create 1 rle with old method : 0.09677386283874512 length of segment : 295 time for calcul the mask position with numpy : 0.0007259845733642578 nb_pixel_total : 29370 time to create 1 rle with old method : 0.03263568878173828 length of segment : 178 time for calcul the mask position with numpy : 0.007153749465942383 nb_pixel_total : 213006 time to create 1 rle with new method : 0.014089345932006836 length of segment : 1433 time for calcul the mask position with numpy : 8.487701416015625e-05 nb_pixel_total : 2312 time to create 1 rle with old method : 0.0027518272399902344 length of segment : 65 time for calcul the mask position with numpy : 0.00017976760864257812 nb_pixel_total : 2962 time to create 1 rle with old method : 0.0034461021423339844 length of segment : 66 time for calcul the mask position with numpy : 0.0012431144714355469 nb_pixel_total : 53700 time to create 1 rle with old method : 0.06850695610046387 length of segment : 387 time for calcul the mask position with numpy : 0.0016036033630371094 nb_pixel_total : 48409 time to create 1 rle with old method : 0.0583951473236084 length of segment : 349 time for calcul the mask position with numpy : 0.0009663105010986328 nb_pixel_total : 32987 time to create 1 rle with old method : 0.03971266746520996 length of segment : 228 time for calcul the mask position with numpy : 0.0002429485321044922 nb_pixel_total : 3716 time to create 1 rle with old method : 0.004633188247680664 length of segment : 75 time for calcul the mask position with numpy : 0.0008144378662109375 nb_pixel_total : 47919 time to create 1 rle with old method : 0.055968284606933594 length of segment : 324 time for calcul the mask position with numpy : 0.00020003318786621094 nb_pixel_total : 1355 time to create 1 rle with old method : 0.0016553401947021484 length of segment : 90 time for calcul the mask position with numpy : 0.0009593963623046875 nb_pixel_total : 21028 time to create 1 rle with old method : 0.025182008743286133 length of segment : 174 time for calcul the mask position with numpy : 0.00025272369384765625 nb_pixel_total : 3741 time to create 1 rle with old method : 0.004711151123046875 length of segment : 65 time for calcul the mask position with numpy : 0.0008072853088378906 nb_pixel_total : 31026 time to create 1 rle with old method : 0.036492109298706055 length of segment : 199 time for calcul the mask position with numpy : 0.0005583763122558594 nb_pixel_total : 20497 time to create 1 rle with old method : 0.023931026458740234 length of segment : 110 time for calcul the mask position with numpy : 0.0005383491516113281 nb_pixel_total : 14966 time to create 1 rle with old method : 0.017323970794677734 length of segment : 167 time for calcul the mask position with numpy : 0.00011467933654785156 nb_pixel_total : 1700 time to create 1 rle with old method : 0.0021126270294189453 length of segment : 36 time for calcul the mask position with numpy : 0.002355337142944336 nb_pixel_total : 111066 time to create 1 rle with old method : 0.12435078620910645 length of segment : 384 time for calcul the mask position with numpy : 0.00033783912658691406 nb_pixel_total : 12059 time to create 1 rle with old method : 0.014011383056640625 length of segment : 155 time for calcul the mask position with numpy : 0.0017216205596923828 nb_pixel_total : 120495 time to create 1 rle with old method : 0.1345062255859375 length of segment : 449 time for calcul the mask position with numpy : 0.008222579956054688 nb_pixel_total : 275929 time to create 1 rle with new method : 0.01764965057373047 length of segment : 1366 time for calcul the mask position with numpy : 0.0002722740173339844 nb_pixel_total : 3241 time to create 1 rle with old method : 0.0039081573486328125 length of segment : 100 time for calcul the mask position with numpy : 7.557868957519531e-05 nb_pixel_total : 1813 time to create 1 rle with old method : 0.0023698806762695312 length of segment : 36 time for calcul the mask position with numpy : 0.0001010894775390625 nb_pixel_total : 2021 time to create 1 rle with old method : 0.0024728775024414062 length of segment : 50 time for calcul the mask position with numpy : 0.0007832050323486328 nb_pixel_total : 42040 time to create 1 rle with old method : 0.05010032653808594 length of segment : 570 time spent for convertir_results : 6.716824054718018 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 100 chid ids of type : 3663 Number RLEs to save : 25701 save missing photos in datou_result : time spend for datou_step_exec : 24.45647144317627 time spend to save output : 2.78381085395813 total time spend for step 1 : 27.2402822971344 step2:crop_condition Fri Oct 10 09:20:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 7 ! batch 1 Loaded 100 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 ! 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 : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 18 About to insert : list_path_to_insert length 18 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : 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 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1388574613, 1388574579, 1388574246, 1388574242, 1388574239, 1388574237, 1388574235] Looping around the photos to save general results len do output : 55 /-3991826486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826468Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826461Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826466Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991826493Didn'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, '3911021') ('4877', '27666950', '1388574613', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574579', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574246', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574242', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574239', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574237', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574235', None, None, None, None, None, '3911021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 172 time used for this insertion : 0.0408935546875 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.25575590133667 time spend to save output : 0.042641639709472656 total time spend for step 2 : 9.298397541046143 step3:thcl Fri Oct 10 09:20:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.005993366241455078 time to convert the images to numpy array : 0.003171682357788086 time to import caffe and check if the image exist : 0.010932207107543945 time to convert the images to numpy array : 0.016694307327270508 time to import caffe and check if the image exist : 0.007506608963012695 time to convert the images to numpy array : 0.02404499053955078 time to import caffe and check if the image exist : 0.013712167739868164 time to convert the images to numpy array : 0.021242380142211914 time to import caffe and check if the image exist : 0.009924173355102539 time to convert the images to numpy array : 0.03146219253540039 time to import caffe and check if the image exist : 0.00467681884765625 time to convert the images to numpy array : 0.03963637351989746 time to import caffe and check if the image exist : 0.011470317840576172 time to convert the images to numpy array : 0.032525062561035156 time to import caffe and check if the image exist : 0.0057942867279052734 time to convert the images to numpy array : 0.040138959884643555 time to import caffe and check if the image exist : 0.013128280639648438 time to convert the images to numpy array : 0.04067492485046387 time to import caffe and check if the image exist : 0.015801668167114258 time to convert the images to numpy array : 0.04059267044067383 total time to convert the images to numpy array : 0.23658967018127441 list photo_ids error: [] list photo_ids correct : [-3991826493, -3991826508, -3991826512, -3991826528, -3991826523, -3991826537, -3991826543, -3991826526, -3991826539, -3991826454, -3991826468, -3991826491, -3991826489, -3991826464, -3991826466, -3991826482, -3991826499, -3991826496, -3991826497, -3991826470, -3991826475, -3991826490, -3991826487, -3991826492, -3991826500, -3991826486, -3991826479, -3991826484, -3991826501, -3991826511, -3991826509, -3991826536, -3991826548, -3991826542, -3991826540, -3991826450, -3991826452, -3991826504, -3991826506, -3991826510, -3991826525, -3991826529, -3991826546, -3991826538, -3991826462, -3991826463, -3991826476, -3991826477, -3991826483, -3991826517, -3991826515, -3991826530, -3991826544, -3991826456, -3991826461] number of photos to traite : 55 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 : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.3556325435638428 time used to do the prediction : 0.13790607452392578 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 : 10774 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 : 10555 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.42431163787841797 time used to do the prediction : 0.11893558502197266 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 : 8.280078411102295 time spend to save output : 0.0004646778106689453 total time spend for step 3 : 8.280543088912964 step4:merge_mask_thcl_custom Fri Oct 10 09:20:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 100 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 [1388574613, 1388574579, 1388574246, 1388574242, 1388574239, 1388574237, 1388574235] Looping around the photos to save general results len do output : 7 /1388574613Didn't retrieve data .Didn't retrieve data . /1388574579Didn't retrieve data .Didn't retrieve data . /1388574246Didn't retrieve data .Didn't retrieve data . /1388574242Didn't retrieve data .Didn't retrieve data . /1388574239Didn't retrieve data .Didn't retrieve data . /1388574237Didn't retrieve data .Didn't retrieve data . /1388574235Didn'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, '3911021') ('4877', '27666950', '1388574613', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574579', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574246', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574242', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574239', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574237', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574235', None, None, None, None, None, '3911021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.03833270072937012 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.20711040496826172 time spend to save output : 0.03887581825256348 total time spend for step 4 : 0.2459862232208252 step5:rle_unique_nms_with_priority Fri Oct 10 09:20:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 13 nb_hashtags : 4 time to prepare the origin masks : 1.0946786403656006 time for calcul the mask position with numpy : 0.015856504440307617 nb_pixel_total : 1177113 time to create 1 rle with new method : 0.03838396072387695 time for calcul the mask position with numpy : 0.005191326141357422 nb_pixel_total : 2493 time to create 1 rle with old method : 0.0029706954956054688 time for calcul the mask position with numpy : 0.004885196685791016 nb_pixel_total : 7150 time to create 1 rle with old method : 0.008205652236938477 time for calcul the mask position with numpy : 0.005927085876464844 nb_pixel_total : 93683 time to create 1 rle with old method : 0.10208821296691895 time for calcul the mask position with numpy : 0.0056781768798828125 nb_pixel_total : 6659 time to create 1 rle with old method : 0.007595539093017578 time for calcul the mask position with numpy : 0.0053005218505859375 nb_pixel_total : 545 time to create 1 rle with old method : 0.0006654262542724609 time for calcul the mask position with numpy : 0.005074739456176758 nb_pixel_total : 4696 time to create 1 rle with old method : 0.005293369293212891 time for calcul the mask position with numpy : 0.008212566375732422 nb_pixel_total : 431758 time to create 1 rle with new method : 0.02402973175048828 time for calcul the mask position with numpy : 0.0051920413970947266 nb_pixel_total : 23701 time to create 1 rle with old method : 0.02723407745361328 time for calcul the mask position with numpy : 0.00514674186706543 nb_pixel_total : 735 time to create 1 rle with old method : 0.0008783340454101562 time for calcul the mask position with numpy : 0.005354642868041992 nb_pixel_total : 8251 time to create 1 rle with old method : 0.009327411651611328 time for calcul the mask position with numpy : 0.0052683353424072266 nb_pixel_total : 1355 time to create 1 rle with old method : 0.0014653205871582031 time for calcul the mask position with numpy : 0.005262136459350586 nb_pixel_total : 2908 time to create 1 rle with old method : 0.003249645233154297 time for calcul the mask position with numpy : 0.004902839660644531 nb_pixel_total : 1513 time to create 1 rle with old method : 0.0017044544219970703 create new chi : 0.32138872146606445 time to delete rle : 0.03404808044433594 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 6592 TO DO : save crop sub photo not yet done ! save time : 0.7709555625915527 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 1.0774989128112793 time for calcul the mask position with numpy : 0.014266014099121094 nb_pixel_total : 1176592 time to create 1 rle with new method : 0.027160167694091797 time for calcul the mask position with numpy : 0.0048465728759765625 nb_pixel_total : 2509 time to create 1 rle with old method : 0.002974271774291992 time for calcul the mask position with numpy : 0.005115509033203125 nb_pixel_total : 7195 time to create 1 rle with old method : 0.00804591178894043 time for calcul the mask position with numpy : 0.0051152706146240234 nb_pixel_total : 93642 time to create 1 rle with old method : 0.09789896011352539 time for calcul the mask position with numpy : 0.0053288936614990234 nb_pixel_total : 6605 time to create 1 rle with old method : 0.007121086120605469 time for calcul the mask position with numpy : 0.004940509796142578 nb_pixel_total : 545 time to create 1 rle with old method : 0.0006580352783203125 time for calcul the mask position with numpy : 0.004798412322998047 nb_pixel_total : 4696 time to create 1 rle with old method : 0.004876852035522461 time for calcul the mask position with numpy : 0.007244586944580078 nb_pixel_total : 432204 time to create 1 rle with new method : 0.02328014373779297 time for calcul the mask position with numpy : 0.004847049713134766 nb_pixel_total : 23797 time to create 1 rle with old method : 0.024992942810058594 time for calcul the mask position with numpy : 0.00494074821472168 nb_pixel_total : 735 time to create 1 rle with old method : 0.0008699893951416016 time for calcul the mask position with numpy : 0.004708528518676758 nb_pixel_total : 8263 time to create 1 rle with old method : 0.008806228637695312 time for calcul the mask position with numpy : 0.004808902740478516 nb_pixel_total : 1355 time to create 1 rle with old method : 0.0015716552734375 time for calcul the mask position with numpy : 0.004683256149291992 nb_pixel_total : 2908 time to create 1 rle with old method : 0.0031235218048095703 time for calcul the mask position with numpy : 0.00482177734375 nb_pixel_total : 1514 time to create 1 rle with old method : 0.0015861988067626953 create new chi : 0.29442429542541504 time to delete rle : 0.0005602836608886719 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 6607 TO DO : save crop sub photo not yet done ! save time : 0.8173651695251465 nb_obj : 15 nb_hashtags : 6 time to prepare the origin masks : 0.9654388427734375 time for calcul the mask position with numpy : 0.016358613967895508 nb_pixel_total : 1284053 time to create 1 rle with new method : 0.034124135971069336 time for calcul the mask position with numpy : 0.005374908447265625 nb_pixel_total : 270 time to create 1 rle with old method : 0.000396728515625 time for calcul the mask position with numpy : 0.004846334457397461 nb_pixel_total : 159 time to create 1 rle with old method : 0.00030922889709472656 time for calcul the mask position with numpy : 0.004734039306640625 nb_pixel_total : 8542 time to create 1 rle with old method : 0.008940458297729492 time for calcul the mask position with numpy : 0.004885435104370117 nb_pixel_total : 2580 time to create 1 rle with old method : 0.0028421878814697266 time for calcul the mask position with numpy : 0.0046961307525634766 nb_pixel_total : 8715 time to create 1 rle with old method : 0.009452581405639648 time for calcul the mask position with numpy : 0.005212545394897461 nb_pixel_total : 22243 time to create 1 rle with old method : 0.024919509887695312 time for calcul the mask position with numpy : 0.004996061325073242 nb_pixel_total : 13709 time to create 1 rle with old method : 0.014898061752319336 time for calcul the mask position with numpy : 0.00493168830871582 nb_pixel_total : 907 time to create 1 rle with old method : 0.0010666847229003906 time for calcul the mask position with numpy : 0.006549835205078125 nb_pixel_total : 271753 time to create 1 rle with new method : 0.023909568786621094 time for calcul the mask position with numpy : 0.0051267147064208984 nb_pixel_total : 34976 time to create 1 rle with old method : 0.038018226623535156 time for calcul the mask position with numpy : 0.004945039749145508 nb_pixel_total : 803 time to create 1 rle with old method : 0.0009641647338867188 time for calcul the mask position with numpy : 0.004759073257446289 nb_pixel_total : 807 time to create 1 rle with old method : 0.0008802413940429688 time for calcul the mask position with numpy : 0.004897356033325195 nb_pixel_total : 9635 time to create 1 rle with old method : 0.010404109954833984 time for calcul the mask position with numpy : 0.00529932975769043 nb_pixel_total : 92051 time to create 1 rle with old method : 0.09938931465148926 time for calcul the mask position with numpy : 0.005160093307495117 nb_pixel_total : 11357 time to create 1 rle with old method : 0.012183904647827148 create new chi : 0.3766026496887207 time to delete rle : 0.0006413459777832031 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 7642 TO DO : save crop sub photo not yet done ! save time : 0.848968505859375 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 0.6548798084259033 time for calcul the mask position with numpy : 0.012863636016845703 nb_pixel_total : 1245158 time to create 1 rle with new method : 0.02644205093383789 time for calcul the mask position with numpy : 0.005283355712890625 nb_pixel_total : 2614 time to create 1 rle with old method : 0.003016233444213867 time for calcul the mask position with numpy : 0.005021810531616211 nb_pixel_total : 8817 time to create 1 rle with old method : 0.009676933288574219 time for calcul the mask position with numpy : 0.005078554153442383 nb_pixel_total : 1065 time to create 1 rle with old method : 0.0012860298156738281 time for calcul the mask position with numpy : 0.005342721939086914 nb_pixel_total : 93240 time to create 1 rle with old method : 0.12744665145874023 time for calcul the mask position with numpy : 0.005269527435302734 nb_pixel_total : 377 time to create 1 rle with old method : 0.0004582405090332031 time for calcul the mask position with numpy : 0.005297422409057617 nb_pixel_total : 13947 time to create 1 rle with old method : 0.015419483184814453 time for calcul the mask position with numpy : 0.005092620849609375 nb_pixel_total : 798 time to create 1 rle with old method : 0.0008511543273925781 time for calcul the mask position with numpy : 0.004963397979736328 nb_pixel_total : 785 time to create 1 rle with old method : 0.0008625984191894531 time for calcul the mask position with numpy : 0.005193471908569336 nb_pixel_total : 13306 time to create 1 rle with old method : 0.014760017395019531 time for calcul the mask position with numpy : 0.0068166255950927734 nb_pixel_total : 354653 time to create 1 rle with new method : 0.02413463592529297 time for calcul the mask position with numpy : 0.005263328552246094 nb_pixel_total : 255 time to create 1 rle with old method : 0.0003204345703125 time for calcul the mask position with numpy : 0.005085945129394531 nb_pixel_total : 1700 time to create 1 rle with old method : 0.002001523971557617 time for calcul the mask position with numpy : 0.005767345428466797 nb_pixel_total : 25845 time to create 1 rle with old method : 0.029168367385864258 create new chi : 0.3423171043395996 time to delete rle : 0.0006473064422607422 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 6859 TO DO : save crop sub photo not yet done ! save time : 0.789592981338501 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 0.7193167209625244 time for calcul the mask position with numpy : 0.015244007110595703 nb_pixel_total : 1286286 time to create 1 rle with new method : 0.03222513198852539 time for calcul the mask position with numpy : 0.0053844451904296875 nb_pixel_total : 876 time to create 1 rle with old method : 0.0013267993927001953 time for calcul the mask position with numpy : 0.0050067901611328125 nb_pixel_total : 8355 time to create 1 rle with old method : 0.009605646133422852 time for calcul the mask position with numpy : 0.005070686340332031 nb_pixel_total : 2225 time to create 1 rle with old method : 0.002569913864135742 time for calcul the mask position with numpy : 0.005249738693237305 nb_pixel_total : 2896 time to create 1 rle with old method : 0.003331422805786133 time for calcul the mask position with numpy : 0.005113840103149414 nb_pixel_total : 1556 time to create 1 rle with old method : 0.0018236637115478516 time for calcul the mask position with numpy : 0.005338430404663086 nb_pixel_total : 17776 time to create 1 rle with old method : 0.02009129524230957 time for calcul the mask position with numpy : 0.0052258968353271484 nb_pixel_total : 26336 time to create 1 rle with old method : 0.0292818546295166 time for calcul the mask position with numpy : 0.0066411495208740234 nb_pixel_total : 270023 time to create 1 rle with new method : 0.02527594566345215 time for calcul the mask position with numpy : 0.005277395248413086 nb_pixel_total : 2953 time to create 1 rle with old method : 0.003408193588256836 time for calcul the mask position with numpy : 0.005290031433105469 nb_pixel_total : 48002 time to create 1 rle with old method : 0.05320858955383301 time for calcul the mask position with numpy : 0.006030559539794922 nb_pixel_total : 90698 time to create 1 rle with old method : 0.10030484199523926 time for calcul the mask position with numpy : 0.005246639251708984 nb_pixel_total : 4578 time to create 1 rle with old method : 0.005071163177490234 create new chi : 0.3686833381652832 time to delete rle : 0.0006647109985351562 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 6794 TO DO : save crop sub photo not yet done ! save time : 0.812427282333374 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 0.7664809226989746 time for calcul the mask position with numpy : 0.013873815536499023 nb_pixel_total : 1415948 time to create 1 rle with new method : 0.03322958946228027 time for calcul the mask position with numpy : 0.0054318904876708984 nb_pixel_total : 2956 time to create 1 rle with old method : 0.0034198760986328125 time for calcul the mask position with numpy : 0.00500798225402832 nb_pixel_total : 1330 time to create 1 rle with old method : 0.0017580986022949219 time for calcul the mask position with numpy : 0.005021095275878906 nb_pixel_total : 2303 time to create 1 rle with old method : 0.0026221275329589844 time for calcul the mask position with numpy : 0.005201816558837891 nb_pixel_total : 23310 time to create 1 rle with old method : 0.026204586029052734 time for calcul the mask position with numpy : 0.00594639778137207 nb_pixel_total : 41718 time to create 1 rle with old method : 0.046661376953125 time for calcul the mask position with numpy : 0.006373405456542969 nb_pixel_total : 212719 time to create 1 rle with new method : 0.025197744369506836 time for calcul the mask position with numpy : 0.005162954330444336 nb_pixel_total : 241 time to create 1 rle with old method : 0.0003159046173095703 time for calcul the mask position with numpy : 0.005052804946899414 nb_pixel_total : 6546 time to create 1 rle with old method : 0.007221698760986328 time for calcul the mask position with numpy : 0.0054700374603271484 nb_pixel_total : 53885 time to create 1 rle with old method : 0.057573556900024414 time for calcul the mask position with numpy : 0.005445718765258789 nb_pixel_total : 1604 time to create 1 rle with old method : 0.0018427371978759766 create new chi : 0.2749662399291992 time to delete rle : 0.0006046295166015625 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 6298 TO DO : save crop sub photo not yet done ! save time : 0.7369930744171143 nb_obj : 13 nb_hashtags : 7 time to prepare the origin masks : 0.87544846534729 time for calcul the mask position with numpy : 0.022928714752197266 nb_pixel_total : 1251380 time to create 1 rle with new method : 0.04232025146484375 time for calcul the mask position with numpy : 0.005418300628662109 nb_pixel_total : 4255 time to create 1 rle with old method : 0.005193471908569336 time for calcul the mask position with numpy : 0.005332469940185547 nb_pixel_total : 3731 time to create 1 rle with old method : 0.004273653030395508 time for calcul the mask position with numpy : 0.0056688785552978516 nb_pixel_total : 20464 time to create 1 rle with old method : 0.023006677627563477 time for calcul the mask position with numpy : 0.005533456802368164 nb_pixel_total : 20933 time to create 1 rle with old method : 0.02390432357788086 time for calcul the mask position with numpy : 0.005933046340942383 nb_pixel_total : 120422 time to create 1 rle with old method : 0.13860392570495605 time for calcul the mask position with numpy : 0.006031990051269531 nb_pixel_total : 14938 time to create 1 rle with old method : 0.017008543014526367 time for calcul the mask position with numpy : 0.009585857391357422 nb_pixel_total : 275154 time to create 1 rle with new method : 0.04138469696044922 time for calcul the mask position with numpy : 0.007699728012084961 nb_pixel_total : 31011 time to create 1 rle with old method : 0.04762601852416992 time for calcul the mask position with numpy : 0.006192922592163086 nb_pixel_total : 1681 time to create 1 rle with old method : 0.0018680095672607422 time for calcul the mask position with numpy : 0.006509304046630859 nb_pixel_total : 3223 time to create 1 rle with old method : 0.0036993026733398438 time for calcul the mask position with numpy : 0.006742000579833984 nb_pixel_total : 2012 time to create 1 rle with old method : 0.0022253990173339844 time for calcul the mask position with numpy : 0.0056934356689453125 nb_pixel_total : 1344 time to create 1 rle with old method : 0.0015497207641601562 time for calcul the mask position with numpy : 0.006075859069824219 nb_pixel_total : 12012 time to create 1 rle with old method : 0.013426542282104492 create new chi : 0.4728128910064697 time to delete rle : 0.0007290840148925781 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 7398 TO DO : save crop sub photo not yet done ! save time : 0.8257708549499512 map_output_result : {1388574613: (0.0, 'Should be the crop_list due to order', 0.0), 1388574579: (0.0, 'Should be the crop_list due to order', 0.0), 1388574246: (0.0, 'Should be the crop_list due to order', 0.0), 1388574242: (0.0, 'Should be the crop_list due to order', 0.0), 1388574239: (0.0, 'Should be the crop_list due to order', 0.0), 1388574237: (0.0, 'Should be the crop_list due to order', 0.0), 1388574235: (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 [1388574613, 1388574579, 1388574246, 1388574242, 1388574239, 1388574237, 1388574235] Looping around the photos to save general results len do output : 7 /1388574613.Didn't retrieve data . /1388574579.Didn't retrieve data . /1388574246.Didn't retrieve data . /1388574242.Didn't retrieve data . /1388574239.Didn't retrieve data . /1388574237.Didn't retrieve data . /1388574235.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, '3911021') ('4877', '27666950', '1388574613', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574579', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574246', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574242', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574239', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574237', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574235', None, None, None, None, None, '3911021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.03603816032409668 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.47353744506836 time spend to save output : 0.03642702102661133 total time spend for step 5 : 14.50996446609497 step6:crop_condition Fri Oct 10 09:21:01 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 : 7 ! batch 1 Loaded 96 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/1760080863_4102687 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(1760080863), 0.0, 0.0, 14, '', 0, 0, '1760080801_4102687_1388574239_8bc23ff0bb47ceb6e307bb533b980ce9_rle_crop_3991826886_0.png', 0, 295, 261, 0, 1760080863,'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.6408002376556396 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 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! 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/1760080864_4102687 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(1760080864), 0.0, 0.0, 14, '', 0, 0, '1760080801_4102687_1388574235_b42c3c37291871635285a160b0a2c385_rle_crop_3991826906_0.png', 0, 142, 165, 0, 1760080864,'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.7487244606018066 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/1760080865_4102687 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(1760080865), 0.0, 0.0, 14, '', 0, 0, '1760080801_4102687_1388574246_afe7502853f35563837fa357cf3c5bb7_rle_crop_3991826851_0.png', 0, 119, 115, 0, 1760080865,'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.5772948265075684 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 ! 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/1760080866_4102687 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(1760080866), 0.0, 0.0, 14, '', 0, 0, '1760080801_4102687_1388574239_8bc23ff0bb47ceb6e307bb533b980ce9_rle_crop_3991826885_0.png', 0, 109, 42, 0, 1760080866,'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.6342971324920654 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760080866_4102687 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(1760080867), 0.0, 0.0, 14, '', 0, 0, '1760080801_4102687_1388574235_b42c3c37291871635285a160b0a2c385_rle_crop_3991826913_0.png', 0, 171, 121, 0, 1760080867,'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.7069964408874512 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760080868_4102687 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(1760080868), 0.0, 0.0, 14, '', 0, 0, '1760080801_4102687_1388574235_b42c3c37291871635285a160b0a2c385_rle_crop_3991826908_0.png', 0, 200, 193, 0, 1760080868,'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.7662327289581299 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 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/1760080869_4102687 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(1760080869), 0.0, 0.0, 14, '', 0, 0, '1760080801_4102687_1388574246_afe7502853f35563837fa357cf3c5bb7_rle_crop_3991826850_0.png', 0, 63, 69, 0, 1760080869,'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.7209141254425049 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 [1388574613, 1388574579, 1388574246, 1388574242, 1388574239, 1388574237, 1388574235] Looping around the photos to save general results len do output : 7 /1388630669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388630682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388630684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388630685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388630686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388630687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388630688Didn'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, '3911021') ('4877', '27666950', '1388574613', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574579', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574246', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574242', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574239', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574237', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574235', None, None, None, None, None, '3911021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.03876852989196777 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.921591520309448 time spend to save output : 0.0393679141998291 total time spend for step 6 : 7.960959434509277 step7:ventilate_hashtags_in_portfolio Fri Oct 10 09:21:09 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 : 27666950 get user id for portfolio 27666950 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`=27666950 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','kraft','flou','plastique','mal_croppe','Carton_gris','autre_refus','Carton_brun','cartonnette','metal','papier')) 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`=27666950 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','kraft','flou','plastique','mal_croppe','Carton_gris','autre_refus','Carton_brun','cartonnette','metal','papier')) 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`=27666950 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','kraft','flou','plastique','mal_croppe','Carton_gris','autre_refus','Carton_brun','cartonnette','metal','papier')) 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`=27666950 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','kraft','flou','plastique','mal_croppe','Carton_gris','autre_refus','Carton_brun','cartonnette','metal','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27685352,27685353,27685354,27685355,27685356,27685357,27685358,27685359,27685360,27685361,27685362,27685363?tags=environnement,Teint_Dans_La_Masse,kraft,flou,plastique,mal_croppe,Carton_gris,autre_refus,Carton_brun,cartonnette,metal,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388574613, 1388574579, 1388574246, 1388574242, 1388574239, 1388574237, 1388574235] Looping around the photos to save general results len do output : 1 /27666950. 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, '3911021') ('4877', '27666950', '1388574613', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574579', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574246', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574242', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574239', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574237', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574235', None, None, None, None, None, '3911021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.03773069381713867 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.906008958816528 time spend to save output : 0.0379338264465332 total time spend for step 7 : 6.9439427852630615 step8:tfhub_classification2 Fri Oct 10 09:21:16 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:21:19.483055: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:21:19.483855: 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:21:19.483932: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:21:19.483983: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:21:19.485748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:21:19.485834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:21:19.487898: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:21:19.488997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:21:19.492992: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:21:19.494395: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:21:19.494797: 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:21:19.518642: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:21:19.520252: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4a38000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:21:19.520301: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:21:19.523898: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x19c32410 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:21:19.523951: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:21:19.525250: 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:21:19.525336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:21:19.525368: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:21:19.525462: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:21:19.525496: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:21:19.525541: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:21:19.525589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:21:19.525637: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:21:19.527504: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:21:19.527579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:21:19.527640: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:21:19.527657: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:21:19.527670: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:21:19.529563: 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 : 10621 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.648530721664429 time used to load_weights : 0.16434383392333984 0it [00:00, ?it/s] 7it [00:00, 2375.80it/s]2025-10-10 09:21:30.070926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:21:30.099546: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1760080801_4102687_1388574613_774d4a4c68fab463b6dee83081350bc3.jpg temp/1760080801_4102687_1388574579_72c43b9c44feeea70e424833c57493f4.jpg temp/1760080801_4102687_1388574246_afe7502853f35563837fa357cf3c5bb7.jpg temp/1760080801_4102687_1388574242_8181a217cc7d4cedddb5cec4a540f757.jpg temp/1760080801_4102687_1388574239_8bc23ff0bb47ceb6e307bb533b980ce9.jpg temp/1760080801_4102687_1388574237_07305630a4e9d7649fabf01bea789fe4.jpg temp/1760080801_4102687_1388574235_b42c3c37291871635285a160b0a2c385.jpg Found 7 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 2.287677526473999 (7,) (7, 5) (7, 2048) shape of features : (7, 2048) shape of new features : (1, 7, 2048) save descriptor for thcl : 3513 time to traite the descriptors : 0.054898977279663086 storage_type for insertDescriptorsMulti : 3 To insert : 1388574613 To insert : 1388574579 To insert : 1388574246 To insert : 1388574242 To insert : 1388574239 To insert : 1388574237 To insert : 1388574235 Catched exception ! Connect or reconnect ! time to insert the descriptors : 3.350853443145752 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.178194999694824 time used to load_weights : 0.10764527320861816 0it [00:00, ?it/s] 7it [00:00, 2808.51it/s]temp/1760080801_4102687_1388574613_774d4a4c68fab463b6dee83081350bc3.jpg temp/1760080801_4102687_1388574579_72c43b9c44feeea70e424833c57493f4.jpg temp/1760080801_4102687_1388574246_afe7502853f35563837fa357cf3c5bb7.jpg temp/1760080801_4102687_1388574242_8181a217cc7d4cedddb5cec4a540f757.jpg temp/1760080801_4102687_1388574239_8bc23ff0bb47ceb6e307bb533b980ce9.jpg temp/1760080801_4102687_1388574237_07305630a4e9d7649fabf01bea789fe4.jpg temp/1760080801_4102687_1388574235_b42c3c37291871635285a160b0a2c385.jpg Found 7 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.0731191635131836 (7,) (7, 11) (7, 1280) shape of features : (7, 1280) shape of new features : (1, 7, 1280) save descriptor for thcl : 3379 time to traite the descriptors : 0.04788565635681152 storage_type for insertDescriptorsMulti : 3 To insert : 1388574613 To insert : 1388574579 To insert : 1388574246 To insert : 1388574242 To insert : 1388574239 To insert : 1388574237 To insert : 1388574235 time to insert the descriptors : 1.686819076538086 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 : 6.853775262832642 time used to load_weights : 0.1100006103515625 0it [00:00, ?it/s] 7it [00:00, 2856.32it/s]temp/1760080801_4102687_1388574613_774d4a4c68fab463b6dee83081350bc3.jpg temp/1760080801_4102687_1388574579_72c43b9c44feeea70e424833c57493f4.jpg temp/1760080801_4102687_1388574246_afe7502853f35563837fa357cf3c5bb7.jpg temp/1760080801_4102687_1388574242_8181a217cc7d4cedddb5cec4a540f757.jpg temp/1760080801_4102687_1388574239_8bc23ff0bb47ceb6e307bb533b980ce9.jpg temp/1760080801_4102687_1388574237_07305630a4e9d7649fabf01bea789fe4.jpg temp/1760080801_4102687_1388574235_b42c3c37291871635285a160b0a2c385.jpg Found 7 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.8698825836181641 (7,) (7, 12) (7, 1280) shape of features : (7, 1280) shape of new features : (1, 7, 1280) save descriptor for thcl : 3847 time to traite the descriptors : 0.06525301933288574 storage_type for insertDescriptorsMulti : 3 To insert : 1388574613 To insert : 1388574579 To insert : 1388574246 To insert : 1388574242 To insert : 1388574239 To insert : 1388574237 To insert : 1388574235 time to insert the descriptors : 1.5259902477264404 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1388574613, 1388574579, 1388574246, 1388574242, 1388574239, 1388574237, 1388574235] Looping around the photos to save general results len do output : 7 /1388574613Didn't retrieve data . /1388574579Didn't retrieve data . /1388574246Didn't retrieve data . /1388574242Didn't retrieve data . /1388574239Didn't retrieve data . /1388574237Didn't retrieve data . /1388574235Didn'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, '3911021') ('4877', '27666950', '1388574613', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574579', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574246', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574242', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574239', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574237', None, None, None, None, None, '3911021') ('4877', None, None, None, None, None, None, None, '3911021') ('4877', '27666950', '1388574235', None, None, None, None, None, '3911021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.03659367561340332 save_final save missing photos in datou_result : time spend for datou_step_exec : 42.595194816589355 time spend to save output : 0.036974191665649414 total time spend for step 8 : 42.632169008255005 step9:argmax Fri Oct 10 09:21:59 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 : 1388574613 output[photo_id] : [[(1388574613, '05102018_Papier_non_papier_presque_vide', 0.39784533, 4557, 3513), (1388574613, 'jrm', 0.9303773, 4374, 3379), (1388574613, 'jrm', 0.81503433, 4932, 3847)], 'temp/1760080801_4102687_1388574613_774d4a4c68fab463b6dee83081350bc3.jpg'] photo_id : 1388574579 output[photo_id] : [[(1388574579, '05102018_Papier_non_papier_presque_vide', 0.39796427, 4557, 3513), (1388574579, 'jrm', 0.93034273, 4374, 3379), (1388574579, 'jrm', 0.8150222, 4932, 3847)], 'temp/1760080801_4102687_1388574579_72c43b9c44feeea70e424833c57493f4.jpg'] photo_id : 1388574246 output[photo_id] : [[(1388574246, '05102018_Papier_non_papier_presque_vide', 0.42740098, 4557, 3513), (1388574246, 'jrm', 0.8401977, 4374, 3379), (1388574246, 'jrm', 0.87476146, 4932, 3847)], 'temp/1760080801_4102687_1388574246_afe7502853f35563837fa357cf3c5bb7.jpg'] photo_id : 1388574242 output[photo_id] : [[(1388574242, '05102018_Papier_non_papier_presque_vide', 0.3993619, 4557, 3513), (1388574242, 'jrm', 0.89126813, 4374, 3379), (1388574242, 'jrm', 0.9119551, 4932, 3847)], 'temp/1760080801_4102687_1388574242_8181a217cc7d4cedddb5cec4a540f757.jpg'] photo_id : 1388574239 output[photo_id] : [[(1388574239, '05102018_Papier_non_papier_presque_vide', 0.5830263, 4557, 3513), (1388574239, 'jrm', 0.8740828, 4374, 3379), (1388574239, 'jrm', 0.77967024, 4932, 3847)], 'temp/1760080801_4102687_1388574239_8bc23ff0bb47ceb6e307bb533b980ce9.jpg'] photo_id : 1388574237 output[photo_id] : [[(1388574237, '05102018_Papier_non_papier_presque_vide', 0.44956726, 4557, 3513), (1388574237, 'jrm', 0.8790886, 4374, 3379), (1388574237, 'jrm', 0.785356, 4932, 3847)], 'temp/1760080801_4102687_1388574237_07305630a4e9d7649fabf01bea789fe4.jpg'] photo_id : 1388574235 output[photo_id] : [[(1388574235, '05102018_Papier_non_papier_presque_vide', 0.34672597, 4557, 3513), (1388574235, 'jrm', 0.8875936, 4374, 3379), (1388574235, 'jrm', 0.84593874, 4932, 3847)], 'temp/1760080801_4102687_1388574235_b42c3c37291871635285a160b0a2c385.jpg'] begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 21 time used for this insertion : 0.04093003273010254 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 21 time used for this insertion : 0.035455942153930664 len list_finale : 21, len picture : 7 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.037181854248046875 saving photo_ids in datou_result begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.0361330509185791 save missing photos in datou_result : time spend for datou_step_exec : 0.01805853843688965 time spend to save output : 0.1864480972290039 total time spend for step 9 : 0.20450663566589355 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 7 set_done_treatment 73.81user 22.38system 2:03.00elapsed 78%CPU (0avgtext+0avgdata 3057900maxresident)k 80inputs+25520outputs (12major+2753040minor)pagefaults 0swaps