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 3911036' -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 : 4130322 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 : ['3911036'] with mtr_portfolio_ids : ['27666968'] and first list_photo_ids : [] new path : /proc/4130322/ 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 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 0.9941093921661377 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:30:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-10 09:30:24.024251: 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:30:24.050459: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:30:24.052334: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f796c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:30:24.052392: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:30:24.056371: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:30:24.159698: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x92d6e40 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:30:24.159748: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:30:24.161247: 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:30:24.161662: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:30:24.164769: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:30:24.168008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:30:24.168402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:30:24.171297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:30:24.172695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:30:24.178489: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:30:24.180081: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:30:24.180160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:30:24.180969: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:30:24.180986: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:30:24.180995: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:30:24.182331: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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:30:24.598978: 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:30:24.599105: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:30:24.599134: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:30:24.599160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:30:24.599206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:30:24.599232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:30:24.599257: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:30:24.599282: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:30:24.600775: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:30:24.601937: 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:30:24.601965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:30:24.601978: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:30:24.601991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:30:24.602003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:30:24.602015: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:30:24.602028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:30:24.602040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:30:24.603240: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:30:24.603278: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:30:24.603286: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:30:24.603293: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:30:24.604486: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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:30:33.165796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:30:33.378130: 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 28 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 : 18 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 : 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 : 17 Detection mask done ! Trying to reset tf kernel 4130512 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4533 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 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 : 6622 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.0001609325408935547 nb_pixel_total : 807 time to create 1 rle with old method : 0.0010869503021240234 length of segment : 47 time for calcul the mask position with numpy : 0.00016069412231445312 nb_pixel_total : 2059 time to create 1 rle with old method : 0.0026154518127441406 length of segment : 80 time for calcul the mask position with numpy : 0.00033855438232421875 nb_pixel_total : 7082 time to create 1 rle with old method : 0.007860422134399414 length of segment : 145 time for calcul the mask position with numpy : 0.0005521774291992188 nb_pixel_total : 10452 time to create 1 rle with old method : 0.011718511581420898 length of segment : 211 time for calcul the mask position with numpy : 0.0001380443572998047 nb_pixel_total : 2085 time to create 1 rle with old method : 0.0025153160095214844 length of segment : 81 time for calcul the mask position with numpy : 9.608268737792969e-05 nb_pixel_total : 2149 time to create 1 rle with old method : 0.0027227401733398438 length of segment : 43 time for calcul the mask position with numpy : 0.00010251998901367188 nb_pixel_total : 1527 time to create 1 rle with old method : 0.0019583702087402344 length of segment : 51 time for calcul the mask position with numpy : 0.007565021514892578 nb_pixel_total : 288477 time to create 1 rle with new method : 0.01587843894958496 length of segment : 1184 time for calcul the mask position with numpy : 0.008131742477416992 nb_pixel_total : 411629 time to create 1 rle with new method : 0.020639896392822266 length of segment : 1268 time for calcul the mask position with numpy : 0.00018024444580078125 nb_pixel_total : 1983 time to create 1 rle with old method : 0.002674102783203125 length of segment : 37 time for calcul the mask position with numpy : 0.0023813247680664062 nb_pixel_total : 107420 time to create 1 rle with old method : 0.126539945602417 length of segment : 492 time for calcul the mask position with numpy : 0.0013918876647949219 nb_pixel_total : 86625 time to create 1 rle with old method : 0.13042235374450684 length of segment : 349 time for calcul the mask position with numpy : 0.00010752677917480469 nb_pixel_total : 1168 time to create 1 rle with old method : 0.0014827251434326172 length of segment : 61 time for calcul the mask position with numpy : 0.00031185150146484375 nb_pixel_total : 11604 time to create 1 rle with old method : 0.016986846923828125 length of segment : 137 time for calcul the mask position with numpy : 0.0003540515899658203 nb_pixel_total : 10964 time to create 1 rle with old method : 0.012655258178710938 length of segment : 195 time for calcul the mask position with numpy : 0.0004012584686279297 nb_pixel_total : 12052 time to create 1 rle with old method : 0.014082670211791992 length of segment : 199 time for calcul the mask position with numpy : 7.152557373046875e-05 nb_pixel_total : 871 time to create 1 rle with old method : 0.0010745525360107422 length of segment : 67 time for calcul the mask position with numpy : 0.00029206275939941406 nb_pixel_total : 12749 time to create 1 rle with old method : 0.014871835708618164 length of segment : 134 time for calcul the mask position with numpy : 0.0001773834228515625 nb_pixel_total : 7464 time to create 1 rle with old method : 0.008363485336303711 length of segment : 143 time for calcul the mask position with numpy : 5.1021575927734375e-05 nb_pixel_total : 407 time to create 1 rle with old method : 0.0005345344543457031 length of segment : 32 time for calcul the mask position with numpy : 0.005137920379638672 nb_pixel_total : 224838 time to create 1 rle with new method : 0.015518903732299805 length of segment : 799 time for calcul the mask position with numpy : 0.0003032684326171875 nb_pixel_total : 9796 time to create 1 rle with old method : 0.011441946029663086 length of segment : 146 time for calcul the mask position with numpy : 0.0002346038818359375 nb_pixel_total : 9657 time to create 1 rle with old method : 0.011281490325927734 length of segment : 126 time for calcul the mask position with numpy : 0.0012674331665039062 nb_pixel_total : 103604 time to create 1 rle with old method : 0.11534500122070312 length of segment : 333 time for calcul the mask position with numpy : 0.00044345855712890625 nb_pixel_total : 11674 time to create 1 rle with old method : 0.01653432846069336 length of segment : 161 time for calcul the mask position with numpy : 0.0024788379669189453 nb_pixel_total : 46105 time to create 1 rle with old method : 0.05295729637145996 length of segment : 412 time for calcul the mask position with numpy : 0.0017876625061035156 nb_pixel_total : 43974 time to create 1 rle with old method : 0.05008292198181152 length of segment : 322 time for calcul the mask position with numpy : 0.000362396240234375 nb_pixel_total : 8450 time to create 1 rle with old method : 0.011869430541992188 length of segment : 229 time for calcul the mask position with numpy : 0.0011305809020996094 nb_pixel_total : 27658 time to create 1 rle with old method : 0.032948970794677734 length of segment : 225 time for calcul the mask position with numpy : 0.0014541149139404297 nb_pixel_total : 10211 time to create 1 rle with old method : 0.014239788055419922 length of segment : 338 time for calcul the mask position with numpy : 0.0007488727569580078 nb_pixel_total : 36140 time to create 1 rle with old method : 0.04276394844055176 length of segment : 262 time for calcul the mask position with numpy : 0.0037508010864257812 nb_pixel_total : 85621 time to create 1 rle with old method : 0.0965280532836914 length of segment : 596 time for calcul the mask position with numpy : 0.0021491050720214844 nb_pixel_total : 92421 time to create 1 rle with old method : 0.10554718971252441 length of segment : 380 time for calcul the mask position with numpy : 0.0006542205810546875 nb_pixel_total : 26634 time to create 1 rle with old method : 0.031096696853637695 length of segment : 264 time for calcul the mask position with numpy : 0.00031828880310058594 nb_pixel_total : 7318 time to create 1 rle with old method : 0.008774518966674805 length of segment : 176 time for calcul the mask position with numpy : 0.00021719932556152344 nb_pixel_total : 6600 time to create 1 rle with old method : 0.007930278778076172 length of segment : 90 time for calcul the mask position with numpy : 0.000370025634765625 nb_pixel_total : 6177 time to create 1 rle with old method : 0.007608175277709961 length of segment : 78 time for calcul the mask position with numpy : 0.0001461505889892578 nb_pixel_total : 3238 time to create 1 rle with old method : 0.003914833068847656 length of segment : 88 time for calcul the mask position with numpy : 8.0108642578125e-05 nb_pixel_total : 727 time to create 1 rle with old method : 0.0009241104125976562 length of segment : 46 time for calcul the mask position with numpy : 7.62939453125e-05 nb_pixel_total : 939 time to create 1 rle with old method : 0.0013186931610107422 length of segment : 27 time for calcul the mask position with numpy : 0.0003497600555419922 nb_pixel_total : 9465 time to create 1 rle with old method : 0.010972976684570312 length of segment : 202 time for calcul the mask position with numpy : 0.0002694129943847656 nb_pixel_total : 3495 time to create 1 rle with old method : 0.004342079162597656 length of segment : 64 time for calcul the mask position with numpy : 0.00011873245239257812 nb_pixel_total : 484 time to create 1 rle with old method : 0.0006439685821533203 length of segment : 45 time for calcul the mask position with numpy : 0.0008749961853027344 nb_pixel_total : 26453 time to create 1 rle with old method : 0.030844688415527344 length of segment : 184 time for calcul the mask position with numpy : 0.0001537799835205078 nb_pixel_total : 1961 time to create 1 rle with old method : 0.0024063587188720703 length of segment : 51 time for calcul the mask position with numpy : 0.00014352798461914062 nb_pixel_total : 1988 time to create 1 rle with old method : 0.0024526119232177734 length of segment : 61 time for calcul the mask position with numpy : 0.0001418590545654297 nb_pixel_total : 1174 time to create 1 rle with old method : 0.0015120506286621094 length of segment : 57 time for calcul the mask position with numpy : 0.0019147396087646484 nb_pixel_total : 90091 time to create 1 rle with old method : 0.1234903335571289 length of segment : 320 time for calcul the mask position with numpy : 0.0002834796905517578 nb_pixel_total : 4365 time to create 1 rle with old method : 0.005301237106323242 length of segment : 163 time for calcul the mask position with numpy : 0.0024907588958740234 nb_pixel_total : 115670 time to create 1 rle with old method : 0.1581709384918213 length of segment : 494 time for calcul the mask position with numpy : 0.0004596710205078125 nb_pixel_total : 15504 time to create 1 rle with old method : 0.01846909523010254 length of segment : 154 time for calcul the mask position with numpy : 0.0003402233123779297 nb_pixel_total : 5172 time to create 1 rle with old method : 0.006124734878540039 length of segment : 118 time for calcul the mask position with numpy : 6.270408630371094e-05 nb_pixel_total : 224 time to create 1 rle with old method : 0.0003275871276855469 length of segment : 24 time for calcul the mask position with numpy : 0.0002868175506591797 nb_pixel_total : 14723 time to create 1 rle with old method : 0.017718076705932617 length of segment : 140 time for calcul the mask position with numpy : 0.0007178783416748047 nb_pixel_total : 15401 time to create 1 rle with old method : 0.0178682804107666 length of segment : 223 time for calcul the mask position with numpy : 0.0002944469451904297 nb_pixel_total : 4544 time to create 1 rle with old method : 0.005620479583740234 length of segment : 80 time for calcul the mask position with numpy : 0.008565187454223633 nb_pixel_total : 385681 time to create 1 rle with new method : 0.01659083366394043 length of segment : 820 time for calcul the mask position with numpy : 0.0003025531768798828 nb_pixel_total : 7110 time to create 1 rle with old method : 0.008560419082641602 length of segment : 107 time for calcul the mask position with numpy : 0.00035643577575683594 nb_pixel_total : 14896 time to create 1 rle with old method : 0.017534971237182617 length of segment : 232 time for calcul the mask position with numpy : 0.0004658699035644531 nb_pixel_total : 10008 time to create 1 rle with old method : 0.012089967727661133 length of segment : 189 time for calcul the mask position with numpy : 0.00013971328735351562 nb_pixel_total : 1172 time to create 1 rle with old method : 0.0015075206756591797 length of segment : 53 time for calcul the mask position with numpy : 0.0004506111145019531 nb_pixel_total : 7216 time to create 1 rle with old method : 0.00884699821472168 length of segment : 151 time for calcul the mask position with numpy : 0.0003032684326171875 nb_pixel_total : 4291 time to create 1 rle with old method : 0.005177497863769531 length of segment : 98 time for calcul the mask position with numpy : 0.0009319782257080078 nb_pixel_total : 14759 time to create 1 rle with old method : 0.018131732940673828 length of segment : 244 time for calcul the mask position with numpy : 0.0005681514739990234 nb_pixel_total : 3985 time to create 1 rle with old method : 0.005189180374145508 length of segment : 188 time for calcul the mask position with numpy : 0.00030493736267089844 nb_pixel_total : 6439 time to create 1 rle with old method : 0.007803440093994141 length of segment : 88 time for calcul the mask position with numpy : 0.00035190582275390625 nb_pixel_total : 5065 time to create 1 rle with old method : 0.00641942024230957 length of segment : 143 time for calcul the mask position with numpy : 0.0018050670623779297 nb_pixel_total : 98892 time to create 1 rle with old method : 0.11409974098205566 length of segment : 352 time for calcul the mask position with numpy : 0.0009510517120361328 nb_pixel_total : 30406 time to create 1 rle with old method : 0.03574514389038086 length of segment : 184 time for calcul the mask position with numpy : 0.00029468536376953125 nb_pixel_total : 6307 time to create 1 rle with old method : 0.007470369338989258 length of segment : 85 time for calcul the mask position with numpy : 0.001382589340209961 nb_pixel_total : 44474 time to create 1 rle with old method : 0.05025434494018555 length of segment : 369 time for calcul the mask position with numpy : 0.01006007194519043 nb_pixel_total : 367341 time to create 1 rle with new method : 0.019948244094848633 length of segment : 971 time for calcul the mask position with numpy : 0.00012612342834472656 nb_pixel_total : 2239 time to create 1 rle with old method : 0.0028209686279296875 length of segment : 73 time for calcul the mask position with numpy : 0.0002944469451904297 nb_pixel_total : 3728 time to create 1 rle with old method : 0.004703998565673828 length of segment : 102 time for calcul the mask position with numpy : 0.00030922889709472656 nb_pixel_total : 6081 time to create 1 rle with old method : 0.007456779479980469 length of segment : 94 time for calcul the mask position with numpy : 0.0003514289855957031 nb_pixel_total : 6450 time to create 1 rle with old method : 0.007809877395629883 length of segment : 85 time for calcul the mask position with numpy : 0.00057220458984375 nb_pixel_total : 9957 time to create 1 rle with old method : 0.01201319694519043 length of segment : 168 time for calcul the mask position with numpy : 0.00021147727966308594 nb_pixel_total : 6385 time to create 1 rle with old method : 0.007970809936523438 length of segment : 85 time for calcul the mask position with numpy : 0.010059833526611328 nb_pixel_total : 388458 time to create 1 rle with new method : 0.018024682998657227 length of segment : 867 time for calcul the mask position with numpy : 0.00033354759216308594 nb_pixel_total : 6785 time to create 1 rle with old method : 0.008022546768188477 length of segment : 118 time for calcul the mask position with numpy : 0.0011034011840820312 nb_pixel_total : 35331 time to create 1 rle with old method : 0.04104328155517578 length of segment : 207 time for calcul the mask position with numpy : 0.0025091171264648438 nb_pixel_total : 147168 time to create 1 rle with old method : 0.16545701026916504 length of segment : 537 time for calcul the mask position with numpy : 0.0015172958374023438 nb_pixel_total : 93125 time to create 1 rle with old method : 0.10745525360107422 length of segment : 352 time for calcul the mask position with numpy : 0.001123666763305664 nb_pixel_total : 37946 time to create 1 rle with old method : 0.04419898986816406 length of segment : 301 time for calcul the mask position with numpy : 0.0006561279296875 nb_pixel_total : 8340 time to create 1 rle with old method : 0.010318279266357422 length of segment : 241 time for calcul the mask position with numpy : 0.0001251697540283203 nb_pixel_total : 737 time to create 1 rle with old method : 0.001005411148071289 length of segment : 45 time for calcul the mask position with numpy : 0.00012230873107910156 nb_pixel_total : 1694 time to create 1 rle with old method : 0.0024445056915283203 length of segment : 45 time for calcul the mask position with numpy : 0.0001773834228515625 nb_pixel_total : 925 time to create 1 rle with old method : 0.0012667179107666016 length of segment : 55 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 2768 time to create 1 rle with old method : 0.0032830238342285156 length of segment : 62 time for calcul the mask position with numpy : 0.0001277923583984375 nb_pixel_total : 1276 time to create 1 rle with old method : 0.0016045570373535156 length of segment : 61 time for calcul the mask position with numpy : 0.00011706352233886719 nb_pixel_total : 1453 time to create 1 rle with old method : 0.0018584728240966797 length of segment : 51 time for calcul the mask position with numpy : 0.0005385875701904297 nb_pixel_total : 10034 time to create 1 rle with old method : 0.011539459228515625 length of segment : 227 time for calcul the mask position with numpy : 0.00037407875061035156 nb_pixel_total : 7147 time to create 1 rle with old method : 0.00857853889465332 length of segment : 249 time for calcul the mask position with numpy : 0.00047969818115234375 nb_pixel_total : 10853 time to create 1 rle with old method : 0.012859821319580078 length of segment : 127 time for calcul the mask position with numpy : 0.0019049644470214844 nb_pixel_total : 99324 time to create 1 rle with old method : 0.11302399635314941 length of segment : 393 time for calcul the mask position with numpy : 0.0025200843811035156 nb_pixel_total : 80842 time to create 1 rle with old method : 0.0892186164855957 length of segment : 438 time for calcul the mask position with numpy : 0.0002186298370361328 nb_pixel_total : 2547 time to create 1 rle with old method : 0.004515171051025391 length of segment : 72 time for calcul the mask position with numpy : 0.011185884475708008 nb_pixel_total : 458019 time to create 1 rle with new method : 0.018176794052124023 length of segment : 1188 time for calcul the mask position with numpy : 0.0002429485321044922 nb_pixel_total : 7768 time to create 1 rle with old method : 0.009328126907348633 length of segment : 122 time for calcul the mask position with numpy : 0.00026535987854003906 nb_pixel_total : 789 time to create 1 rle with old method : 0.001312255859375 length of segment : 61 time spent for convertir_results : 6.119410991668701 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 : 23134 save missing photos in datou_result : time spend for datou_step_exec : 27.29006052017212 time spend to save output : 2.5371346473693848 total time spend for step 1 : 29.827195167541504 step2:crop_condition Fri Oct 10 09:30:51 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 : 6 ! 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 15 About to insert : list_path_to_insert length 15 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 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 ! 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 : 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 [1388575887, 1388575865, 1388575861, 1388575858, 1388575855, 1388575852] Looping around the photos to save general results len do output : 57 /-3991857635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857658Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857667Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857656Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991857731Didn'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, '3911036') ('4877', '27666968', '1388575887', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575865', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575861', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575858', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575855', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575852', None, None, None, None, None, '3911036') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 177 time used for this insertion : 0.0413665771484375 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.521783351898193 time spend to save output : 0.04372859001159668 total time spend for step 2 : 8.56551194190979 step3:thcl Fri Oct 10 09:30: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 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.005620002746582031 time to convert the images to numpy array : 0.018283843994140625 time to import caffe and check if the image exist : 0.0050427913665771484 time to convert the images to numpy array : 0.030620813369750977 time to import caffe and check if the image exist : 0.007625102996826172 time to convert the images to numpy array : 0.03591012954711914 time to import caffe and check if the image exist : 0.006865024566650391 time to convert the images to numpy array : 0.0377039909362793 time to import caffe and check if the image exist : 0.015526533126831055 time to convert the images to numpy array : 0.03054523468017578 time to import caffe and check if the image exist : 0.01047062873840332 time to convert the images to numpy array : 0.038695335388183594 time to import caffe and check if the image exist : 0.009114742279052734 time to convert the images to numpy array : 0.04077315330505371 time to import caffe and check if the image exist : 0.006891965866088867 time to convert the images to numpy array : 0.04358053207397461 time to import caffe and check if the image exist : 0.010528564453125 time to convert the images to numpy array : 0.0448460578918457 time to import caffe and check if the image exist : 0.007275819778442383 time to convert the images to numpy array : 0.049706220626831055 total time to convert the images to numpy array : 0.24677753448486328 list photo_ids error: [] list photo_ids correct : [-3991857712, -3991857708, -3991857731, -3991857635, -3991857676, -3991857678, -3991857697, -3991857699, -3991857728, -3991857651, -3991857668, -3991857656, -3991857657, -3991857684, -3991857688, -3991857642, -3991857637, -3991857647, -3991857646, -3991857643, -3991857654, -3991857698, -3991857707, -3991857710, -3991857703, -3991857674, -3991857702, -3991857655, -3991857658, -3991857669, -3991857670, -3991857672, -3991857665, -3991857664, -3991857659, -3991857667, -3991857660, -3991857650, -3991857661, -3991857691, -3991857683, -3991857677, -3991857690, -3991857680, -3991857700, -3991857713, -3991857716, -3991857715, -3991857726, -3991857727, -3991857725, -3991857705, -3991857696, -3991857714, -3991857686, -3991857682, -3991857648] number of photos to traite : 57 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 : 6995 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 : 3628 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.4093596935272217 time used to do the prediction : 0.2259678840637207 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 : 3548 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 : 3288 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.4086329936981201 time used to do the prediction : 0.11437368392944336 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.3113021850585938e-05 save missing photos in datou_result : time spend for datou_step_exec : 8.16054916381836 time spend to save output : 0.0005979537963867188 total time spend for step 3 : 8.161147117614746 step4:merge_mask_thcl_custom Fri Oct 10 09:31:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 [1388575887, 1388575865, 1388575861, 1388575858, 1388575855, 1388575852] Looping around the photos to save general results len do output : 6 /1388575887Didn't retrieve data .Didn't retrieve data . /1388575865Didn't retrieve data .Didn't retrieve data . /1388575861Didn't retrieve data .Didn't retrieve data . /1388575858Didn't retrieve data .Didn't retrieve data . /1388575855Didn't retrieve data .Didn't retrieve data . /1388575852Didn'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, '3911036') ('4877', '27666968', '1388575887', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575865', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575861', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575858', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575855', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575852', None, None, None, None, None, '3911036') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.04786849021911621 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.19155406951904297 time spend to save output : 0.04828238487243652 total time spend for step 4 : 0.2398364543914795 step5:rle_unique_nms_with_priority Fri Oct 10 09:31:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.5056648254394531 time for calcul the mask position with numpy : 0.11713457107543945 nb_pixel_total : 1201250 time to create 1 rle with new method : 0.08293652534484863 time for calcul the mask position with numpy : 0.00605320930480957 nb_pixel_total : 42 time to create 1 rle with old method : 7.843971252441406e-05 time for calcul the mask position with numpy : 0.006017446517944336 nb_pixel_total : 1972 time to create 1 rle with old method : 0.0023047924041748047 time for calcul the mask position with numpy : 0.006087779998779297 nb_pixel_total : 1507 time to create 1 rle with old method : 0.0018787384033203125 time for calcul the mask position with numpy : 0.0062255859375 nb_pixel_total : 1161 time to create 1 rle with old method : 0.0013720989227294922 time for calcul the mask position with numpy : 0.00954747200012207 nb_pixel_total : 409804 time to create 1 rle with new method : 0.028211593627929688 time for calcul the mask position with numpy : 0.005757808685302734 nb_pixel_total : 10877 time to create 1 rle with old method : 0.012664318084716797 time for calcul the mask position with numpy : 0.005778312683105469 nb_pixel_total : 11587 time to create 1 rle with old method : 0.013327598571777344 time for calcul the mask position with numpy : 0.005616903305053711 nb_pixel_total : 1501 time to create 1 rle with old method : 0.0017960071563720703 time for calcul the mask position with numpy : 0.0061795711517333984 nb_pixel_total : 107494 time to create 1 rle with old method : 0.12045550346374512 time for calcul the mask position with numpy : 0.005635261535644531 nb_pixel_total : 2135 time to create 1 rle with old method : 0.002557992935180664 time for calcul the mask position with numpy : 0.005673885345458984 nb_pixel_total : 10407 time to create 1 rle with old method : 0.012151718139648438 time for calcul the mask position with numpy : 0.0055446624755859375 nb_pixel_total : 2019 time to create 1 rle with old method : 0.0024192333221435547 time for calcul the mask position with numpy : 0.0053424835205078125 nb_pixel_total : 804 time to create 1 rle with old method : 0.0009775161743164062 create new chi : 0.48094701766967773 time to delete rle : 0.034754037857055664 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 6235 TO DO : save crop sub photo not yet done ! save time : 0.7457077503204346 nb_obj : 22 nb_hashtags : 5 time to prepare the origin masks : 1.828366756439209 time for calcul the mask position with numpy : 0.047677040100097656 nb_pixel_total : 1224034 time to create 1 rle with new method : 0.12362813949584961 time for calcul the mask position with numpy : 0.0059356689453125 nb_pixel_total : 41690 time to create 1 rle with old method : 0.05734872817993164 time for calcul the mask position with numpy : 0.005714893341064453 nb_pixel_total : 6588 time to create 1 rle with old method : 0.007819414138793945 time for calcul the mask position with numpy : 0.0061798095703125 nb_pixel_total : 12558 time to create 1 rle with old method : 0.015862226486206055 time for calcul the mask position with numpy : 0.006152629852294922 nb_pixel_total : 913 time to create 1 rle with old method : 0.0011162757873535156 time for calcul the mask position with numpy : 0.005706310272216797 nb_pixel_total : 720 time to create 1 rle with old method : 0.0008502006530761719 time for calcul the mask position with numpy : 0.00567626953125 nb_pixel_total : 3475 time to create 1 rle with old method : 0.004133939743041992 time for calcul the mask position with numpy : 0.005586147308349609 nb_pixel_total : 8297 time to create 1 rle with old method : 0.009544610977172852 time for calcul the mask position with numpy : 0.0063533782958984375 nb_pixel_total : 92481 time to create 1 rle with old method : 0.10392165184020996 time for calcul the mask position with numpy : 0.005587577819824219 nb_pixel_total : 3225 time to create 1 rle with old method : 0.0037145614624023438 time for calcul the mask position with numpy : 0.005789518356323242 nb_pixel_total : 8898 time to create 1 rle with old method : 0.010124444961547852 time for calcul the mask position with numpy : 0.005631446838378906 nb_pixel_total : 7292 time to create 1 rle with old method : 0.008332014083862305 time for calcul the mask position with numpy : 0.005761861801147461 nb_pixel_total : 3470 time to create 1 rle with old method : 0.00400543212890625 time for calcul the mask position with numpy : 0.005870819091796875 nb_pixel_total : 45866 time to create 1 rle with old method : 0.05393218994140625 time for calcul the mask position with numpy : 0.006438016891479492 nb_pixel_total : 154561 time to create 1 rle with new method : 0.026908397674560547 time for calcul the mask position with numpy : 0.00532078742980957 nb_pixel_total : 408 time to create 1 rle with old method : 0.0005023479461669922 time for calcul the mask position with numpy : 0.005228757858276367 nb_pixel_total : 872 time to create 1 rle with old method : 0.0010356903076171875 time for calcul the mask position with numpy : 0.005852699279785156 nb_pixel_total : 85949 time to create 1 rle with old method : 0.09835004806518555 time for calcul the mask position with numpy : 0.006759166717529297 nb_pixel_total : 8410 time to create 1 rle with old method : 0.00988626480102539 time for calcul the mask position with numpy : 0.005589485168457031 nb_pixel_total : 6149 time to create 1 rle with old method : 0.00720667839050293 time for calcul the mask position with numpy : 0.006054401397705078 nb_pixel_total : 27612 time to create 1 rle with old method : 0.031982421875 time for calcul the mask position with numpy : 0.0057370662689208984 nb_pixel_total : 7455 time to create 1 rle with old method : 0.008675098419189453 time for calcul the mask position with numpy : 0.0057985782623291016 nb_pixel_total : 11637 time to create 1 rle with old method : 0.013838768005371094 create new chi : 0.7809247970581055 time to delete rle : 0.000934600830078125 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 9781 TO DO : save crop sub photo not yet done ! save time : 1.0580780506134033 nb_obj : 16 nb_hashtags : 6 time to prepare the origin masks : 0.9020063877105713 time for calcul the mask position with numpy : 0.016783714294433594 nb_pixel_total : 1161997 time to create 1 rle with new method : 0.0345308780670166 time for calcul the mask position with numpy : 0.006040096282958984 nb_pixel_total : 25298 time to create 1 rle with old method : 0.028827428817749023 time for calcul the mask position with numpy : 0.00598454475402832 nb_pixel_total : 5156 time to create 1 rle with old method : 0.0059642791748046875 time for calcul the mask position with numpy : 0.00664830207824707 nb_pixel_total : 46496 time to create 1 rle with old method : 0.053174734115600586 time for calcul the mask position with numpy : 0.0056650638580322266 nb_pixel_total : 1951 time to create 1 rle with old method : 0.002307415008544922 time for calcul the mask position with numpy : 0.005277156829833984 nb_pixel_total : 1978 time to create 1 rle with old method : 0.0023915767669677734 time for calcul the mask position with numpy : 0.005955934524536133 nb_pixel_total : 90007 time to create 1 rle with old method : 0.1002659797668457 time for calcul the mask position with numpy : 0.005707263946533203 nb_pixel_total : 14832 time to create 1 rle with old method : 0.016855239868164062 time for calcul the mask position with numpy : 0.005396604537963867 nb_pixel_total : 406 time to create 1 rle with old method : 0.0006659030914306641 time for calcul the mask position with numpy : 0.008138895034790039 nb_pixel_total : 385215 time to create 1 rle with new method : 0.03397536277770996 time for calcul the mask position with numpy : 0.0054759979248046875 nb_pixel_total : 3063 time to create 1 rle with old method : 0.003537893295288086 time for calcul the mask position with numpy : 0.005353212356567383 nb_pixel_total : 220 time to create 1 rle with old method : 0.00026988983154296875 time for calcul the mask position with numpy : 0.005270242691040039 nb_pixel_total : 4345 time to create 1 rle with old method : 0.00499272346496582 time for calcul the mask position with numpy : 0.0052912235260009766 nb_pixel_total : 1173 time to create 1 rle with old method : 0.0013930797576904297 time for calcul the mask position with numpy : 0.005355358123779297 nb_pixel_total : 15426 time to create 1 rle with old method : 0.01751422882080078 time for calcul the mask position with numpy : 0.0056455135345458984 nb_pixel_total : 482 time to create 1 rle with old method : 0.0005719661712646484 time for calcul the mask position with numpy : 0.005455493927001953 nb_pixel_total : 4515 time to create 1 rle with old method : 0.005175352096557617 create new chi : 0.4380667209625244 time to delete rle : 0.0006659030914306641 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 6847 TO DO : save crop sub photo not yet done ! save time : 0.7697858810424805 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 0.738140344619751 time for calcul the mask position with numpy : 0.014525890350341797 nb_pixel_total : 1180386 time to create 1 rle with new method : 0.02822113037109375 time for calcul the mask position with numpy : 0.00782632827758789 nb_pixel_total : 372471 time to create 1 rle with new method : 0.03254556655883789 time for calcul the mask position with numpy : 0.005227088928222656 nb_pixel_total : 183 time to create 1 rle with old method : 0.0003154277801513672 time for calcul the mask position with numpy : 0.0055446624755859375 nb_pixel_total : 6268 time to create 1 rle with old method : 0.0071032047271728516 time for calcul the mask position with numpy : 0.005458831787109375 nb_pixel_total : 27927 time to create 1 rle with old method : 0.03141045570373535 time for calcul the mask position with numpy : 0.005275726318359375 nb_pixel_total : 552 time to create 1 rle with old method : 0.0007545948028564453 time for calcul the mask position with numpy : 0.005214691162109375 nb_pixel_total : 5126 time to create 1 rle with old method : 0.005768299102783203 time for calcul the mask position with numpy : 0.005474567413330078 nb_pixel_total : 44459 time to create 1 rle with old method : 0.048454999923706055 time for calcul the mask position with numpy : 0.005306720733642578 nb_pixel_total : 4257 time to create 1 rle with old method : 0.004662990570068359 time for calcul the mask position with numpy : 0.005664348602294922 nb_pixel_total : 98685 time to create 1 rle with old method : 0.10822939872741699 time for calcul the mask position with numpy : 0.0052754878997802734 nb_pixel_total : 7165 time to create 1 rle with old method : 0.008174657821655273 time for calcul the mask position with numpy : 0.0058727264404296875 nb_pixel_total : 1163 time to create 1 rle with old method : 0.0013742446899414062 time for calcul the mask position with numpy : 0.005389213562011719 nb_pixel_total : 9977 time to create 1 rle with old method : 0.011089801788330078 time for calcul the mask position with numpy : 0.005272865295410156 nb_pixel_total : 3941 time to create 1 rle with old method : 0.0043985843658447266 create new chi : 0.38839173316955566 time to delete rle : 0.0006427764892578125 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 6591 TO DO : save crop sub photo not yet done ! save time : 0.7794530391693115 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 1.0237443447113037 time for calcul the mask position with numpy : 0.014303445816040039 nb_pixel_total : 1122391 time to create 1 rle with new method : 0.03129458427429199 time for calcul the mask position with numpy : 0.005836963653564453 nb_pixel_total : 164 time to create 1 rle with old method : 0.0002930164337158203 time for calcul the mask position with numpy : 0.00557255744934082 nb_pixel_total : 35121 time to create 1 rle with old method : 0.03998136520385742 time for calcul the mask position with numpy : 0.005877971649169922 nb_pixel_total : 120 time to create 1 rle with old method : 0.00027561187744140625 time for calcul the mask position with numpy : 0.005612850189208984 nb_pixel_total : 2235 time to create 1 rle with old method : 0.0027778148651123047 time for calcul the mask position with numpy : 0.005702018737792969 nb_pixel_total : 6739 time to create 1 rle with old method : 0.007795810699462891 time for calcul the mask position with numpy : 0.0060176849365234375 nb_pixel_total : 6429 time to create 1 rle with old method : 0.007472515106201172 time for calcul the mask position with numpy : 0.005978822708129883 nb_pixel_total : 56540 time to create 1 rle with old method : 0.06310844421386719 time for calcul the mask position with numpy : 0.008115768432617188 nb_pixel_total : 388344 time to create 1 rle with new method : 0.03480982780456543 time for calcul the mask position with numpy : 0.005986928939819336 nb_pixel_total : 37819 time to create 1 rle with old method : 0.04252266883850098 time for calcul the mask position with numpy : 0.00587010383605957 nb_pixel_total : 9915 time to create 1 rle with old method : 0.011348247528076172 time for calcul the mask position with numpy : 0.0058515071868896484 nb_pixel_total : 3684 time to create 1 rle with old method : 0.004352092742919922 time for calcul the mask position with numpy : 0.0059130191802978516 nb_pixel_total : 93059 time to create 1 rle with old method : 0.10274600982666016 create new chi : 0.4405648708343506 time to delete rle : 0.0006146430969238281 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 6326 TO DO : save crop sub photo not yet done ! save time : 0.7315363883972168 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 1.1038398742675781 time for calcul the mask position with numpy : 0.0182187557220459 nb_pixel_total : 1124094 time to create 1 rle with new method : 0.15398192405700684 time for calcul the mask position with numpy : 0.006926059722900391 nb_pixel_total : 7064 time to create 1 rle with old method : 0.011469841003417969 time for calcul the mask position with numpy : 0.006678104400634766 nb_pixel_total : 10818 time to create 1 rle with old method : 0.017218589782714844 time for calcul the mask position with numpy : 0.006833553314208984 nb_pixel_total : 21853 time to create 1 rle with old method : 0.03670001029968262 time for calcul the mask position with numpy : 0.009934186935424805 nb_pixel_total : 470134 time to create 1 rle with new method : 0.03115081787109375 time for calcul the mask position with numpy : 0.00667119026184082 nb_pixel_total : 2515 time to create 1 rle with old method : 0.003765106201171875 time for calcul the mask position with numpy : 0.0066678524017333984 nb_pixel_total : 7701 time to create 1 rle with old method : 0.010589599609375 time for calcul the mask position with numpy : 0.005589962005615234 nb_pixel_total : 9965 time to create 1 rle with old method : 0.011591672897338867 time for calcul the mask position with numpy : 0.005553007125854492 nb_pixel_total : 1442 time to create 1 rle with old method : 0.0024766921997070312 time for calcul the mask position with numpy : 0.005380868911743164 nb_pixel_total : 1273 time to create 1 rle with old method : 0.0015399456024169922 time for calcul the mask position with numpy : 0.005533933639526367 nb_pixel_total : 2738 time to create 1 rle with old method : 0.0031585693359375 time for calcul the mask position with numpy : 0.005570411682128906 nb_pixel_total : 920 time to create 1 rle with old method : 0.001093149185180664 time for calcul the mask position with numpy : 0.005516529083251953 nb_pixel_total : 1683 time to create 1 rle with old method : 0.0019898414611816406 time for calcul the mask position with numpy : 0.005478858947753906 nb_pixel_total : 736 time to create 1 rle with old method : 0.0009083747863769531 time for calcul the mask position with numpy : 0.005965471267700195 nb_pixel_total : 99624 time to create 1 rle with old method : 0.1258103847503662 create new chi : 0.5214235782623291 time to delete rle : 0.0006511211395263672 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 6547 TO DO : save crop sub photo not yet done ! save time : 0.7741568088531494 map_output_result : {1388575887: (0.0, 'Should be the crop_list due to order', 0.0), 1388575865: (0.0, 'Should be the crop_list due to order', 0.0), 1388575861: (0.0, 'Should be the crop_list due to order', 0.0), 1388575858: (0.0, 'Should be the crop_list due to order', 0.0), 1388575855: (0.0, 'Should be the crop_list due to order', 0.0), 1388575852: (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 [1388575887, 1388575865, 1388575861, 1388575858, 1388575855, 1388575852] Looping around the photos to save general results len do output : 6 /1388575887.Didn't retrieve data . /1388575865.Didn't retrieve data . /1388575861.Didn't retrieve data . /1388575858.Didn't retrieve data . /1388575855.Didn't retrieve data . /1388575852.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, '3911036') ('4877', '27666968', '1388575887', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575865', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575861', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575858', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575855', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575852', None, None, None, None, None, '3911036') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03779244422912598 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.292428016662598 time spend to save output : 0.03812885284423828 total time spend for step 5 : 15.330556869506836 step6:crop_condition Fri Oct 10 09:31:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 6 ! 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/1760081484_4130322 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(1760081484), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575887_d117f532a0df6ab41c95fe9571509534_rle_crop_3991857966_0.png', 0, 162, 137, 0, 1760081484,'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.8433511257171631 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! 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/1760081485_4130322 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(1760081485), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575855_ce1d9b70bf1318b04bd123d7d1defd6e_rle_crop_3991858242_0.png', 0, 111, 118, 0, 1760081485,'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.7834446430206299 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081486_4130322 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(1760081487), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575861_2c98c2740215f7169ea60ae6616de8ea_rle_crop_3991858034_0.png', 0, 201, 133, 0, 1760081487,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760081487), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575858_2549ce5c3c6445f03bcf214da8f85165_rle_crop_3991858229_0.png', 0, 87, 169, 0, 1760081487,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1505885124206543 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081488_4130322 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(1760081488), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575852_ff538bf86d61447443f752867710db9a_rle_crop_3991858256_0.png', 0, 122, 121, 0, 1760081488,'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.7388834953308105 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 ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081489_4130322 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(1760081491), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575865_875387b4274ffbcdc27864c86b6180e3_rle_crop_3991857980_0.png', 0, 163, 125, 0, 1760081491,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760081491), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575865_875387b4274ffbcdc27864c86b6180e3_rle_crop_3991857982_0.png', 0, 53, 86, 0, 1760081491,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760081491), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575861_2c98c2740215f7169ea60ae6616de8ea_rle_crop_3991858025_0.png', 0, 56, 61, 0, 1760081491,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760081491), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575858_2549ce5c3c6445f03bcf214da8f85165_rle_crop_3991858230_0.png', 0, 214, 339, 0, 1760081491,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760081491), 0.0, 0.0, 14, '', 0, 0, '1760081420_4130322_1388575852_ff538bf86d61447443f752867710db9a_rle_crop_3991858252_0.png', 0, 117, 124, 0, 1760081491,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.9551661014556885 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1388575887, 1388575865, 1388575861, 1388575858, 1388575855, 1388575852] Looping around the photos to save general results len do output : 10 /1388634708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634767Didn'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, '3911036') ('4877', '27666968', '1388575887', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575865', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575861', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575858', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575855', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575852', None, None, None, None, None, '3911036') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.039388179779052734 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.872281789779663 time spend to save output : 0.040050506591796875 total time spend for step 6 : 8.91233229637146 step7:ventilate_hashtags_in_portfolio Fri Oct 10 09:31:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 27666968 get user id for portfolio 27666968 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`=27666968 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','Teint_Dans_La_Masse','Carton_gris','cartonnette','autre_refus','metal','mal_croppe','environnement','kraft','flou','plastique')) 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`=27666968 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','Teint_Dans_La_Masse','Carton_gris','cartonnette','autre_refus','metal','mal_croppe','environnement','kraft','flou','plastique')) 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`=27666968 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','Teint_Dans_La_Masse','Carton_gris','cartonnette','autre_refus','metal','mal_croppe','environnement','kraft','flou','plastique')) 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`=27666968 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','Teint_Dans_La_Masse','Carton_gris','cartonnette','autre_refus','metal','mal_croppe','environnement','kraft','flou','plastique')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27686200,27686201,27686202,27686203,27686204,27686205,27686206,27686207,27686208,27686209,27686210,27686211?tags=Carton_brun,papier,Teint_Dans_La_Masse,Carton_gris,cartonnette,autre_refus,metal,mal_croppe,environnement,kraft,flou,plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388575887, 1388575865, 1388575861, 1388575858, 1388575855, 1388575852] Looping around the photos to save general results len do output : 1 /27666968. 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, '3911036') ('4877', '27666968', '1388575887', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575865', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575861', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575858', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575855', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575852', None, None, None, None, None, '3911036') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.037041425704956055 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.888434171676636 time spend to save output : 0.03723931312561035 total time spend for step 7 : 6.925673484802246 step8:tfhub_classification2 Fri Oct 10 09:31:39 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:31:41.850413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:31:41.851180: 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:31:41.851251: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:31:41.851296: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:31:41.853117: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:31:41.853274: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:31:41.857008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:31:41.858152: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:31:41.863271: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:31:41.864860: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:31:41.865368: 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:31:41.890494: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:31:41.892183: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7858000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:31:41.892243: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:31:41.896028: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1507a100 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:31:41.896085: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:31:41.897380: 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:31:41.897464: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:31:41.897512: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:31:41.897610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:31:41.897643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:31:41.897687: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:31:41.897734: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:31:41.897781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:31:41.899691: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:31:41.899759: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:31:41.899818: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:31:41.899831: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:31:41.899840: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:31:41.901239: 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 : 7325 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 : 7.859056711196899 time used to load_weights : 0.19149112701416016 0it [00:00, ?it/s] 6it [00:00, 2766.69it/s]2025-10-10 09:31:51.968590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:31:51.992836: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1760081420_4130322_1388575887_d117f532a0df6ab41c95fe9571509534.jpg temp/1760081420_4130322_1388575865_875387b4274ffbcdc27864c86b6180e3.jpg temp/1760081420_4130322_1388575861_2c98c2740215f7169ea60ae6616de8ea.jpg temp/1760081420_4130322_1388575858_2549ce5c3c6445f03bcf214da8f85165.jpg temp/1760081420_4130322_1388575855_ce1d9b70bf1318b04bd123d7d1defd6e.jpg temp/1760081420_4130322_1388575852_ff538bf86d61447443f752867710db9a.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 2.202887773513794 (6,) (6, 5) (6, 2048) shape of features : (6, 2048) shape of new features : (1, 6, 2048) save descriptor for thcl : 3513 time to traite the descriptors : 0.047281503677368164 storage_type for insertDescriptorsMulti : 3 To insert : 1388575887 To insert : 1388575865 To insert : 1388575861 To insert : 1388575858 To insert : 1388575855 To insert : 1388575852 Catched exception ! Connect or reconnect ! time to insert the descriptors : 2.8059449195861816 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 : 8.797750473022461 time used to load_weights : 0.1379694938659668 0it [00:00, ?it/s] 6it [00:00, 2072.11it/s]temp/1760081420_4130322_1388575887_d117f532a0df6ab41c95fe9571509534.jpg temp/1760081420_4130322_1388575865_875387b4274ffbcdc27864c86b6180e3.jpg temp/1760081420_4130322_1388575861_2c98c2740215f7169ea60ae6616de8ea.jpg temp/1760081420_4130322_1388575858_2549ce5c3c6445f03bcf214da8f85165.jpg temp/1760081420_4130322_1388575855_ce1d9b70bf1318b04bd123d7d1defd6e.jpg temp/1760081420_4130322_1388575852_ff538bf86d61447443f752867710db9a.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.3200836181640625 (6,) (6, 11) (6, 1280) shape of features : (6, 1280) shape of new features : (1, 6, 1280) save descriptor for thcl : 3379 time to traite the descriptors : 0.04993081092834473 storage_type for insertDescriptorsMulti : 3 To insert : 1388575887 To insert : 1388575865 To insert : 1388575861 To insert : 1388575858 To insert : 1388575855 To insert : 1388575852 time to insert the descriptors : 1.314471960067749 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 : 8.10966968536377 time used to load_weights : 0.14704465866088867 0it [00:00, ?it/s] 6it [00:00, 2777.99it/s]temp/1760081420_4130322_1388575887_d117f532a0df6ab41c95fe9571509534.jpg temp/1760081420_4130322_1388575865_875387b4274ffbcdc27864c86b6180e3.jpg temp/1760081420_4130322_1388575861_2c98c2740215f7169ea60ae6616de8ea.jpg temp/1760081420_4130322_1388575858_2549ce5c3c6445f03bcf214da8f85165.jpg temp/1760081420_4130322_1388575855_ce1d9b70bf1318b04bd123d7d1defd6e.jpg temp/1760081420_4130322_1388575852_ff538bf86d61447443f752867710db9a.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.897040605545044 (6,) (6, 12) (6, 1280) shape of features : (6, 1280) shape of new features : (1, 6, 1280) save descriptor for thcl : 3847 time to traite the descriptors : 0.05721473693847656 storage_type for insertDescriptorsMulti : 3 To insert : 1388575887 To insert : 1388575865 To insert : 1388575861 To insert : 1388575858 To insert : 1388575855 To insert : 1388575852 time to insert the descriptors : 1.7673351764678955 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1388575887, 1388575865, 1388575861, 1388575858, 1388575855, 1388575852] Looping around the photos to save general results len do output : 6 /1388575887Didn't retrieve data . /1388575865Didn't retrieve data . /1388575861Didn't retrieve data . /1388575858Didn't retrieve data . /1388575855Didn't retrieve data . /1388575852Didn'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, '3911036') ('4877', '27666968', '1388575887', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575865', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575861', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575858', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575855', None, None, None, None, None, '3911036') ('4877', None, None, None, None, None, None, None, '3911036') ('4877', '27666968', '1388575852', None, None, None, None, None, '3911036') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.035765886306762695 save_final save missing photos in datou_result : time spend for datou_step_exec : 44.784565925598145 time spend to save output : 0.03618168830871582 total time spend for step 8 : 44.82074761390686 step9:argmax Fri Oct 10 09:32:24 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 : 1388575887 output[photo_id] : [[(1388575887, '05102018_Papier_non_papier_presque_vide', 0.6447501, 4557, 3513), (1388575887, 'jrm', 0.92699546, 4374, 3379), (1388575887, 'jrm', 0.90576863, 4932, 3847)], 'temp/1760081420_4130322_1388575887_d117f532a0df6ab41c95fe9571509534.jpg'] photo_id : 1388575865 output[photo_id] : [[(1388575865, '05102018_Papier_non_papier_presque_vide', 0.52870077, 4557, 3513), (1388575865, 'jrm', 0.8945048, 4374, 3379), (1388575865, 'jrm', 0.9032529, 4932, 3847)], 'temp/1760081420_4130322_1388575865_875387b4274ffbcdc27864c86b6180e3.jpg'] photo_id : 1388575861 output[photo_id] : [[(1388575861, '05102018_Papier_non_papier_presque_vide', 0.6396112, 4557, 3513), (1388575861, 'jrm', 0.8931559, 4374, 3379), (1388575861, 'jrm', 0.8122229, 4932, 3847)], 'temp/1760081420_4130322_1388575861_2c98c2740215f7169ea60ae6616de8ea.jpg'] photo_id : 1388575858 output[photo_id] : [[(1388575858, '05102018_Papier_non_papier_presque_vide', 0.47010902, 4557, 3513), (1388575858, 'jrm', 0.9129872, 4374, 3379), (1388575858, 'jrm', 0.90502137, 4932, 3847)], 'temp/1760081420_4130322_1388575858_2549ce5c3c6445f03bcf214da8f85165.jpg'] photo_id : 1388575855 output[photo_id] : [[(1388575855, '05102018_Papier_non_papier_presque_vide', 0.7309864, 4557, 3513), (1388575855, 'jrm', 0.8589099, 4374, 3379), (1388575855, 'jrm', 0.7995677, 4932, 3847)], 'temp/1760081420_4130322_1388575855_ce1d9b70bf1318b04bd123d7d1defd6e.jpg'] photo_id : 1388575852 output[photo_id] : [[(1388575852, '05102018_Papier_non_papier_presque_vide', 0.75309783, 4557, 3513), (1388575852, 'jrm', 0.9376176, 4374, 3379), (1388575852, 'jrm', 0.9236082, 4932, 3847)], 'temp/1760081420_4130322_1388575852_ff538bf86d61447443f752867710db9a.jpg'] begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.0370180606842041 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 18 time used for this insertion : 0.03572487831115723 len list_finale : 18, len picture : 6 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03859591484069824 saving photo_ids in datou_result begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.03969573974609375 save missing photos in datou_result : time spend for datou_step_exec : 0.016630887985229492 time spend to save output : 0.18428659439086914 total time spend for step 9 : 0.20091748237609863 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 76.14user 24.83system 2:10.18elapsed 77%CPU (0avgtext+0avgdata 3042808maxresident)k 72760inputs+24888outputs (179major+3380546minor)pagefaults 0swaps