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 3911037' -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 : 4129437 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 : ['3911037'] with mtr_portfolio_ids : ['27666969'] and first list_photo_ids : [] new path : /proc/4129437/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, tfhub_classification2, argmax over limit max, limiting to limit_max 20 list_input_json : [] origin We have 1 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.848297119140625 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:29:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-10 09:29:49.690380: 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:29:49.714437: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:29:49.716060: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f43c4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:29:49.716111: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:29:49.718765: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:29:50.024397: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3bc7b6a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:29:50.024459: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:29:50.025949: 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:29:50.026444: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:29:50.033624: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:29:50.036498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:29:50.036937: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:29:50.039952: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:29:50.041397: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:29:50.046164: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:29:50.047619: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:29:50.047707: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:29:50.048446: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:29:50.048461: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:29:50.048470: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:29:50.049736: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-10-10 09:29:50.457764: 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:29:50.457863: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:29:50.457892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:29:50.457918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:29:50.457960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:29:50.457987: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:29:50.458012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:29:50.458037: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:29:50.460019: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:29:50.461158: 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:29:50.461192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:29:50.461206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:29:50.461218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:29:50.461231: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:29:50.461243: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:29:50.461256: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:29:50.461269: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:29:50.462558: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:29:50.462587: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:29:50.462595: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:29:50.462603: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:29:50.463934: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-10 09:29:56.980522: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:29:57.150767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 5 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 15 Detection mask done ! Trying to reset tf kernel 4129512 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.015062570571899414 nb_pixel_total : 1005101 time to create 1 rle with new method : 0.027220726013183594 length of segment : 1592 time for calcul the mask position with numpy : 0.0017039775848388672 nb_pixel_total : 116893 time to create 1 rle with old method : 0.12480449676513672 length of segment : 351 time for calcul the mask position with numpy : 0.001237630844116211 nb_pixel_total : 90415 time to create 1 rle with old method : 0.09933876991271973 length of segment : 348 time for calcul the mask position with numpy : 7.748603820800781e-05 nb_pixel_total : 1811 time to create 1 rle with old method : 0.002119302749633789 length of segment : 52 time for calcul the mask position with numpy : 6.818771362304688e-05 nb_pixel_total : 1980 time to create 1 rle with old method : 0.002335786819458008 length of segment : 38 time for calcul the mask position with numpy : 0.00021266937255859375 nb_pixel_total : 8480 time to create 1 rle with old method : 0.009274959564208984 length of segment : 114 time for calcul the mask position with numpy : 0.0006277561187744141 nb_pixel_total : 26277 time to create 1 rle with old method : 0.028430938720703125 length of segment : 332 time for calcul the mask position with numpy : 8.153915405273438e-05 nb_pixel_total : 1988 time to create 1 rle with old method : 0.0023581981658935547 length of segment : 43 time for calcul the mask position with numpy : 0.0001709461212158203 nb_pixel_total : 5588 time to create 1 rle with old method : 0.006257295608520508 length of segment : 149 time for calcul the mask position with numpy : 4.363059997558594e-05 nb_pixel_total : 414 time to create 1 rle with old method : 0.0005631446838378906 length of segment : 24 time for calcul the mask position with numpy : 0.00013399124145507812 nb_pixel_total : 3742 time to create 1 rle with old method : 0.004258394241333008 length of segment : 109 time for calcul the mask position with numpy : 0.0013692378997802734 nb_pixel_total : 110170 time to create 1 rle with old method : 0.11601829528808594 length of segment : 316 time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 9900 time to create 1 rle with old method : 0.010969161987304688 length of segment : 163 time for calcul the mask position with numpy : 8.249282836914062e-05 nb_pixel_total : 2288 time to create 1 rle with old method : 0.0025916099548339844 length of segment : 77 time for calcul the mask position with numpy : 6.604194641113281e-05 nb_pixel_total : 911 time to create 1 rle with old method : 0.0010962486267089844 length of segment : 43 time for calcul the mask position with numpy : 7.82012939453125e-05 nb_pixel_total : 1602 time to create 1 rle with old method : 0.0018990039825439453 length of segment : 86 time for calcul the mask position with numpy : 0.007065773010253906 nb_pixel_total : 384592 time to create 1 rle with new method : 0.021790504455566406 length of segment : 1432 time for calcul the mask position with numpy : 8.988380432128906e-05 nb_pixel_total : 1713 time to create 1 rle with old method : 0.002042531967163086 length of segment : 51 time for calcul the mask position with numpy : 0.00013065338134765625 nb_pixel_total : 4333 time to create 1 rle with old method : 0.004803180694580078 length of segment : 105 time for calcul the mask position with numpy : 9.226799011230469e-05 nb_pixel_total : 1173 time to create 1 rle with old method : 0.0014433860778808594 length of segment : 66 time for calcul the mask position with numpy : 0.0023720264434814453 nb_pixel_total : 124406 time to create 1 rle with old method : 0.13099312782287598 length of segment : 483 time for calcul the mask position with numpy : 6.175041198730469e-05 nb_pixel_total : 608 time to create 1 rle with old method : 0.0008003711700439453 length of segment : 31 time for calcul the mask position with numpy : 0.00011420249938964844 nb_pixel_total : 3574 time to create 1 rle with old method : 0.004174947738647461 length of segment : 128 time for calcul the mask position with numpy : 8.153915405273438e-05 nb_pixel_total : 2471 time to create 1 rle with old method : 0.002859354019165039 length of segment : 49 time for calcul the mask position with numpy : 0.0006363391876220703 nb_pixel_total : 24737 time to create 1 rle with old method : 0.026455163955688477 length of segment : 246 time for calcul the mask position with numpy : 0.00042366981506347656 nb_pixel_total : 21410 time to create 1 rle with old method : 0.02335071563720703 length of segment : 163 time for calcul the mask position with numpy : 0.000110626220703125 nb_pixel_total : 3325 time to create 1 rle with old method : 0.0037109851837158203 length of segment : 93 time for calcul the mask position with numpy : 8.440017700195312e-05 nb_pixel_total : 2812 time to create 1 rle with old method : 0.003345012664794922 length of segment : 42 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 7022 time to create 1 rle with old method : 0.007931947708129883 length of segment : 159 time for calcul the mask position with numpy : 0.0002560615539550781 nb_pixel_total : 13941 time to create 1 rle with old method : 0.014739036560058594 length of segment : 137 time for calcul the mask position with numpy : 4.9591064453125e-05 nb_pixel_total : 636 time to create 1 rle with old method : 0.0009136199951171875 length of segment : 22 time for calcul the mask position with numpy : 0.001123666763305664 nb_pixel_total : 82663 time to create 1 rle with old method : 0.08842682838439941 length of segment : 298 time for calcul the mask position with numpy : 7.963180541992188e-05 nb_pixel_total : 970 time to create 1 rle with old method : 0.0012176036834716797 length of segment : 35 time for calcul the mask position with numpy : 0.0005407333374023438 nb_pixel_total : 31562 time to create 1 rle with old method : 0.036386728286743164 length of segment : 315 time for calcul the mask position with numpy : 7.62939453125e-05 nb_pixel_total : 1425 time to create 1 rle with old method : 0.0016498565673828125 length of segment : 38 time for calcul the mask position with numpy : 0.0004165172576904297 nb_pixel_total : 22074 time to create 1 rle with old method : 0.023542165756225586 length of segment : 270 time for calcul the mask position with numpy : 0.009052276611328125 nb_pixel_total : 397257 time to create 1 rle with new method : 0.024776220321655273 length of segment : 936 time for calcul the mask position with numpy : 0.0004639625549316406 nb_pixel_total : 18174 time to create 1 rle with old method : 0.01995062828063965 length of segment : 204 time for calcul the mask position with numpy : 0.00023484230041503906 nb_pixel_total : 5747 time to create 1 rle with old method : 0.00658106803894043 length of segment : 194 time for calcul the mask position with numpy : 0.0015223026275634766 nb_pixel_total : 74704 time to create 1 rle with old method : 0.0769343376159668 length of segment : 291 time for calcul the mask position with numpy : 0.00033092498779296875 nb_pixel_total : 14865 time to create 1 rle with old method : 0.016040563583374023 length of segment : 189 time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 4255 time to create 1 rle with old method : 0.0049877166748046875 length of segment : 197 time for calcul the mask position with numpy : 0.00021195411682128906 nb_pixel_total : 11142 time to create 1 rle with old method : 0.012336254119873047 length of segment : 110 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 7575 time to create 1 rle with old method : 0.008868217468261719 length of segment : 63 time for calcul the mask position with numpy : 5.269050598144531e-05 nb_pixel_total : 797 time to create 1 rle with old method : 0.0009801387786865234 length of segment : 36 time for calcul the mask position with numpy : 9.226799011230469e-05 nb_pixel_total : 2959 time to create 1 rle with old method : 0.0035161972045898438 length of segment : 67 time for calcul the mask position with numpy : 4.863739013671875e-05 nb_pixel_total : 705 time to create 1 rle with old method : 0.0008542537689208984 length of segment : 43 time for calcul the mask position with numpy : 0.006828784942626953 nb_pixel_total : 385305 time to create 1 rle with new method : 0.019658327102661133 length of segment : 902 time for calcul the mask position with numpy : 7.05718994140625e-05 nb_pixel_total : 1161 time to create 1 rle with old method : 0.0013508796691894531 length of segment : 36 time for calcul the mask position with numpy : 0.0013666152954101562 nb_pixel_total : 99501 time to create 1 rle with old method : 0.10607194900512695 length of segment : 325 time for calcul the mask position with numpy : 6.127357482910156e-05 nb_pixel_total : 636 time to create 1 rle with old method : 0.0007505416870117188 length of segment : 41 time for calcul the mask position with numpy : 8.392333984375e-05 nb_pixel_total : 1881 time to create 1 rle with old method : 0.0023474693298339844 length of segment : 65 time for calcul the mask position with numpy : 0.00033473968505859375 nb_pixel_total : 12728 time to create 1 rle with old method : 0.014264822006225586 length of segment : 202 time for calcul the mask position with numpy : 0.0001876354217529297 nb_pixel_total : 2496 time to create 1 rle with old method : 0.0029213428497314453 length of segment : 114 time for calcul the mask position with numpy : 0.0004723072052001953 nb_pixel_total : 30541 time to create 1 rle with old method : 0.032623291015625 length of segment : 173 time for calcul the mask position with numpy : 6.413459777832031e-05 nb_pixel_total : 958 time to create 1 rle with old method : 0.0010759830474853516 length of segment : 83 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 322 time to create 1 rle with old method : 0.0004143714904785156 length of segment : 25 time for calcul the mask position with numpy : 0.0017778873443603516 nb_pixel_total : 99464 time to create 1 rle with old method : 0.11431193351745605 length of segment : 485 time for calcul the mask position with numpy : 0.0021605491638183594 nb_pixel_total : 95884 time to create 1 rle with old method : 0.10235452651977539 length of segment : 550 time for calcul the mask position with numpy : 0.0003714561462402344 nb_pixel_total : 4407 time to create 1 rle with old method : 0.005268096923828125 length of segment : 151 time for calcul the mask position with numpy : 0.000316619873046875 nb_pixel_total : 1341 time to create 1 rle with old method : 0.0015914440155029297 length of segment : 94 time for calcul the mask position with numpy : 0.0017752647399902344 nb_pixel_total : 91058 time to create 1 rle with old method : 0.09504127502441406 length of segment : 339 time for calcul the mask position with numpy : 6.866455078125e-05 nb_pixel_total : 393 time to create 1 rle with old method : 0.0004994869232177734 length of segment : 23 time for calcul the mask position with numpy : 0.0001976490020751953 nb_pixel_total : 8457 time to create 1 rle with old method : 0.009602546691894531 length of segment : 133 time for calcul the mask position with numpy : 0.0003936290740966797 nb_pixel_total : 7122 time to create 1 rle with old method : 0.0076751708984375 length of segment : 177 time for calcul the mask position with numpy : 0.0001308917999267578 nb_pixel_total : 1827 time to create 1 rle with old method : 0.002355337142944336 length of segment : 49 time for calcul the mask position with numpy : 0.008014917373657227 nb_pixel_total : 330982 time to create 1 rle with new method : 0.014030933380126953 length of segment : 819 time for calcul the mask position with numpy : 0.0006840229034423828 nb_pixel_total : 36425 time to create 1 rle with old method : 0.04082989692687988 length of segment : 163 time for calcul the mask position with numpy : 6.628036499023438e-05 nb_pixel_total : 226 time to create 1 rle with old method : 0.00032973289489746094 length of segment : 16 time for calcul the mask position with numpy : 0.0004737377166748047 nb_pixel_total : 19408 time to create 1 rle with old method : 0.020972013473510742 length of segment : 155 time for calcul the mask position with numpy : 5.412101745605469e-05 nb_pixel_total : 312 time to create 1 rle with old method : 0.00043511390686035156 length of segment : 36 time for calcul the mask position with numpy : 0.00024390220642089844 nb_pixel_total : 11389 time to create 1 rle with old method : 0.012950897216796875 length of segment : 137 time for calcul the mask position with numpy : 0.000186920166015625 nb_pixel_total : 7242 time to create 1 rle with old method : 0.008064508438110352 length of segment : 165 time for calcul the mask position with numpy : 0.0004482269287109375 nb_pixel_total : 35550 time to create 1 rle with old method : 0.03927183151245117 length of segment : 151 time spent for convertir_results : 4.148881435394287 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 74 chid ids of type : 3663 Number RLEs to save : 15939 save missing photos in datou_result : time spend for datou_step_exec : 21.843536376953125 time spend to save output : 1.8566381931304932 total time spend for step 1 : 23.700174570083618 step2:crop_condition Fri Oct 10 09:30:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 5 ! batch 1 Loaded 74 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 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 ! 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_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 ! 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 : 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 [1388575928, 1388575883, 1388575880, 1388575879, 1388575878] Looping around the photos to save general results len do output : 34 /-3991856475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991856494Didn'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, '3911037') ('4877', '27666969', '1388575928', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575883', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575880', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575879', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575878', None, None, None, None, None, '3911037') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 107 time used for this insertion : 0.039629220962524414 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.201643943786621 time spend to save output : 0.04111814498901367 total time spend for step 2 : 5.242762088775635 step3:thcl Fri Oct 10 09:30:15 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.004955291748046875 time to convert the images to numpy array : 2.384185791015625e-06 time to import caffe and check if the image exist : 0.008687257766723633 time to convert the images to numpy array : 0.012202978134155273 time to import caffe and check if the image exist : 0.006758928298950195 time to convert the images to numpy array : 0.013887882232666016 time to import caffe and check if the image exist : 0.007093667984008789 time to convert the images to numpy array : 0.013895988464355469 time to import caffe and check if the image exist : 0.004374265670776367 time to convert the images to numpy array : 0.0193483829498291 time to import caffe and check if the image exist : 0.005433797836303711 time to convert the images to numpy array : 0.019429683685302734 time to import caffe and check if the image exist : 0.008690834045410156 time to convert the images to numpy array : 0.0218045711517334 time to import caffe and check if the image exist : 0.00646209716796875 time to convert the images to numpy array : 0.024349451065063477 time to import caffe and check if the image exist : 0.009324073791503906 time to convert the images to numpy array : 0.023988008499145508 time to import caffe and check if the image exist : 0.007706880569458008 time to convert the images to numpy array : 0.025917768478393555 total time to convert the images to numpy array : 0.22294235229492188 list photo_ids error: [] list photo_ids correct : [-3991856475, -3991856471, -3991856472, -3991856497, -3991856499, -3991856513, -3991856507, -3991856532, -3991856502, -3991856494, -3991856538, -3991856534, -3991856536, -3991856528, -3991856526, -3991856492, -3991856508, -3991856477, -3991856470, -3991856505, -3991856496, -3991856498, -3991856493, -3991856519, -3991856517, -3991856514, -3991856500, -3991856467, -3991856476, -3991856488, -3991856478, -3991856485, -3991856489, -3991856504] number of photos to traite : 34 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.23392701148986816 time used to do the prediction : 0.1063070297241211 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.23192882537841797 time used to do the prediction : 0.08587837219238281 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 9.298324584960938e-06 save missing photos in datou_result : time spend for datou_step_exec : 7.805665969848633 time spend to save output : 0.00037741661071777344 total time spend for step 3 : 7.806043386459351 step4:merge_mask_thcl_custom Fri Oct 10 09:30: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 ! 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 74 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 [1388575928, 1388575883, 1388575880, 1388575879, 1388575878] Looping around the photos to save general results len do output : 5 /1388575928Didn't retrieve data .Didn't retrieve data . /1388575883Didn't retrieve data .Didn't retrieve data . /1388575880Didn't retrieve data .Didn't retrieve data . /1388575879Didn't retrieve data .Didn't retrieve data . /1388575878Didn'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, '3911037') ('4877', '27666969', '1388575928', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575883', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575880', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575879', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575878', None, None, None, None, None, '3911037') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.036318063735961914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1923682689666748 time spend to save output : 0.036641597747802734 total time spend for step 4 : 0.22900986671447754 step5:rle_unique_nms_with_priority Fri Oct 10 09:30: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 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 : 3 nb_hashtags : 2 time to prepare the origin masks : 0.24040937423706055 time for calcul the mask position with numpy : 0.009497880935668945 nb_pixel_total : 652984 time to create 1 rle with new method : 0.05526900291442871 time for calcul the mask position with numpy : 0.005461454391479492 nb_pixel_total : 19382 time to create 1 rle with old method : 0.021408557891845703 time for calcul the mask position with numpy : 0.014136314392089844 nb_pixel_total : 999877 time to create 1 rle with new method : 0.051056861877441406 time for calcul the mask position with numpy : 0.005709409713745117 nb_pixel_total : 90317 time to create 1 rle with old method : 0.09826374053955078 create new chi : 0.2693960666656494 time to delete rle : 0.05195784568786621 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5019 TO DO : save crop sub photo not yet done ! save time : 0.6546952724456787 nb_obj : 20 nb_hashtags : 5 time to prepare the origin masks : 2.9611687660217285 time for calcul the mask position with numpy : 0.03711843490600586 nb_pixel_total : 1123099 time to create 1 rle with new method : 0.1642749309539795 time for calcul the mask position with numpy : 0.010777473449707031 nb_pixel_total : 2764 time to create 1 rle with old method : 0.00544285774230957 time for calcul the mask position with numpy : 0.008013010025024414 nb_pixel_total : 14 time to create 1 rle with old method : 0.00012063980102539062 time for calcul the mask position with numpy : 0.006511211395263672 nb_pixel_total : 5691 time to create 1 rle with old method : 0.00680851936340332 time for calcul the mask position with numpy : 0.006261348724365234 nb_pixel_total : 19786 time to create 1 rle with old method : 0.022727012634277344 time for calcul the mask position with numpy : 0.00596928596496582 nb_pixel_total : 3547 time to create 1 rle with old method : 0.005423784255981445 time for calcul the mask position with numpy : 0.006027936935424805 nb_pixel_total : 602 time to create 1 rle with old method : 0.0007483959197998047 time for calcul the mask position with numpy : 0.00598454475402832 nb_pixel_total : 1136 time to create 1 rle with old method : 0.001436471939086914 time for calcul the mask position with numpy : 0.009988546371459961 nb_pixel_total : 444061 time to create 1 rle with new method : 0.06152462959289551 time for calcul the mask position with numpy : 0.0057163238525390625 nb_pixel_total : 2444 time to create 1 rle with old method : 0.002916097640991211 time for calcul the mask position with numpy : 0.005429744720458984 nb_pixel_total : 1566 time to create 1 rle with old method : 0.0018401145935058594 time for calcul the mask position with numpy : 0.0067636966705322266 nb_pixel_total : 909 time to create 1 rle with old method : 0.0016713142395019531 time for calcul the mask position with numpy : 0.007684230804443359 nb_pixel_total : 8450 time to create 1 rle with old method : 0.011132001876831055 time for calcul the mask position with numpy : 0.005918741226196289 nb_pixel_total : 410 time to create 1 rle with old method : 0.0005097389221191406 time for calcul the mask position with numpy : 0.005839109420776367 nb_pixel_total : 3723 time to create 1 rle with old method : 0.004462242126464844 time for calcul the mask position with numpy : 0.006027936935424805 nb_pixel_total : 5557 time to create 1 rle with old method : 0.006354093551635742 time for calcul the mask position with numpy : 0.008254051208496094 nb_pixel_total : 9883 time to create 1 rle with old method : 0.02178025245666504 time for calcul the mask position with numpy : 0.009160041809082031 nb_pixel_total : 100503 time to create 1 rle with old method : 0.12470889091491699 time for calcul the mask position with numpy : 0.008909940719604492 nb_pixel_total : 1972 time to create 1 rle with old method : 0.003453493118286133 time for calcul the mask position with numpy : 0.00803685188293457 nb_pixel_total : 24638 time to create 1 rle with old method : 0.044173479080200195 time for calcul the mask position with numpy : 0.0060007572174072266 nb_pixel_total : 1805 time to create 1 rle with old method : 0.002088785171508789 create new chi : 0.68277907371521 time to delete rle : 0.0009002685546875 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 6999 TO DO : save crop sub photo not yet done ! save time : 0.8068585395812988 nb_obj : 15 nb_hashtags : 7 time to prepare the origin masks : 0.9633889198303223 time for calcul the mask position with numpy : 0.01527857780456543 nb_pixel_total : 1180648 time to create 1 rle with new method : 0.0299985408782959 time for calcul the mask position with numpy : 0.006882905960083008 nb_pixel_total : 7037 time to create 1 rle with old method : 0.008677244186401367 time for calcul the mask position with numpy : 0.00564885139465332 nb_pixel_total : 106 time to create 1 rle with old method : 0.00017690658569335938 time for calcul the mask position with numpy : 0.005596637725830078 nb_pixel_total : 18113 time to create 1 rle with old method : 0.020405292510986328 time for calcul the mask position with numpy : 0.008150815963745117 nb_pixel_total : 397422 time to create 1 rle with new method : 0.025300264358520508 time for calcul the mask position with numpy : 0.005706787109375 nb_pixel_total : 2778 time to create 1 rle with old method : 0.00460362434387207 time for calcul the mask position with numpy : 0.005673646926879883 nb_pixel_total : 10984 time to create 1 rle with old method : 0.018224000930786133 time for calcul the mask position with numpy : 0.005590915679931641 nb_pixel_total : 1414 time to create 1 rle with old method : 0.0023353099822998047 time for calcul the mask position with numpy : 0.005540132522583008 nb_pixel_total : 955 time to create 1 rle with old method : 0.0016207695007324219 time for calcul the mask position with numpy : 0.005617856979370117 nb_pixel_total : 14640 time to create 1 rle with old method : 0.023462533950805664 time for calcul the mask position with numpy : 0.005318164825439453 nb_pixel_total : 21851 time to create 1 rle with old method : 0.02423834800720215 time for calcul the mask position with numpy : 0.005320072174072266 nb_pixel_total : 14181 time to create 1 rle with old method : 0.015912294387817383 time for calcul the mask position with numpy : 0.005013465881347656 nb_pixel_total : 625 time to create 1 rle with old method : 0.0007333755493164062 time for calcul the mask position with numpy : 0.005641937255859375 nb_pixel_total : 74634 time to create 1 rle with old method : 0.08155632019042969 time for calcul the mask position with numpy : 0.005220890045166016 nb_pixel_total : 3315 time to create 1 rle with old method : 0.003773927688598633 time for calcul the mask position with numpy : 0.005253314971923828 nb_pixel_total : 13857 time to create 1 rle with old method : 0.015461444854736328 create new chi : 0.37903308868408203 time to delete rle : 0.0005986690521240234 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 6233 TO DO : save crop sub photo not yet done ! save time : 0.748225212097168 nb_obj : 18 nb_hashtags : 5 time to prepare the origin masks : 1.5049080848693848 time for calcul the mask position with numpy : 0.044567108154296875 nb_pixel_total : 1186419 time to create 1 rle with new method : 0.0723276138305664 time for calcul the mask position with numpy : 0.006040811538696289 nb_pixel_total : 30426 time to create 1 rle with old method : 0.03342938423156738 time for calcul the mask position with numpy : 0.0055348873138427734 nb_pixel_total : 655 time to create 1 rle with old method : 0.0007383823394775391 time for calcul the mask position with numpy : 0.005214691162109375 nb_pixel_total : 1412 time to create 1 rle with old method : 0.0017244815826416016 time for calcul the mask position with numpy : 0.005818605422973633 nb_pixel_total : 99343 time to create 1 rle with old method : 0.11428022384643555 time for calcul the mask position with numpy : 0.006245613098144531 nb_pixel_total : 16546 time to create 1 rle with old method : 0.026816368103027344 time for calcul the mask position with numpy : 0.006156444549560547 nb_pixel_total : 12685 time to create 1 rle with old method : 0.02031683921813965 time for calcul the mask position with numpy : 0.00583338737487793 nb_pixel_total : 321 time to create 1 rle with old method : 0.0005645751953125 time for calcul the mask position with numpy : 0.006167173385620117 nb_pixel_total : 11123 time to create 1 rle with old method : 0.017807960510253906 time for calcul the mask position with numpy : 0.00644373893737793 nb_pixel_total : 890 time to create 1 rle with old method : 0.0014293193817138672 time for calcul the mask position with numpy : 0.0068399906158447266 nb_pixel_total : 2475 time to create 1 rle with old method : 0.004025459289550781 time for calcul the mask position with numpy : 0.0062046051025390625 nb_pixel_total : 1855 time to create 1 rle with old method : 0.003368854522705078 time for calcul the mask position with numpy : 0.006565570831298828 nb_pixel_total : 634 time to create 1 rle with old method : 0.001016855239868164 time for calcul the mask position with numpy : 0.0063686370849609375 nb_pixel_total : 7517 time to create 1 rle with old method : 0.011833667755126953 time for calcul the mask position with numpy : 0.010699272155761719 nb_pixel_total : 384676 time to create 1 rle with new method : 0.14620184898376465 time for calcul the mask position with numpy : 0.0062444210052490234 nb_pixel_total : 701 time to create 1 rle with old method : 0.0008509159088134766 time for calcul the mask position with numpy : 0.005438804626464844 nb_pixel_total : 1151 time to create 1 rle with old method : 0.0013451576232910156 time for calcul the mask position with numpy : 0.005780458450317383 nb_pixel_total : 2938 time to create 1 rle with old method : 0.0034027099609375 time for calcul the mask position with numpy : 0.006106853485107422 nb_pixel_total : 793 time to create 1 rle with old method : 0.0009295940399169922 create new chi : 0.6283679008483887 time to delete rle : 0.00066375732421875 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 6680 TO DO : save crop sub photo not yet done ! save time : 0.8076193332672119 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 0.9176371097564697 time for calcul the mask position with numpy : 0.0224151611328125 nb_pixel_total : 1254896 time to create 1 rle with new method : 0.043073415756225586 time for calcul the mask position with numpy : 0.0060882568359375 nb_pixel_total : 1333 time to create 1 rle with old method : 0.0017764568328857422 time for calcul the mask position with numpy : 0.006082296371459961 nb_pixel_total : 36139 time to create 1 rle with old method : 0.040372371673583984 time for calcul the mask position with numpy : 0.007192134857177734 nb_pixel_total : 307 time to create 1 rle with old method : 0.00039505958557128906 time for calcul the mask position with numpy : 0.005750179290771484 nb_pixel_total : 8414 time to create 1 rle with old method : 0.009653329849243164 time for calcul the mask position with numpy : 0.0053462982177734375 nb_pixel_total : 220 time to create 1 rle with old method : 0.00027489662170410156 time for calcul the mask position with numpy : 0.005416393280029297 nb_pixel_total : 11317 time to create 1 rle with old method : 0.015299797058105469 time for calcul the mask position with numpy : 0.007517576217651367 nb_pixel_total : 330701 time to create 1 rle with new method : 0.0610356330871582 time for calcul the mask position with numpy : 0.005370140075683594 nb_pixel_total : 1809 time to create 1 rle with old method : 0.0021209716796875 time for calcul the mask position with numpy : 0.0053179264068603516 nb_pixel_total : 6727 time to create 1 rle with old method : 0.00789022445678711 time for calcul the mask position with numpy : 0.005644321441650391 nb_pixel_total : 388 time to create 1 rle with old method : 0.0007009506225585938 time for calcul the mask position with numpy : 0.0062885284423828125 nb_pixel_total : 19323 time to create 1 rle with old method : 0.02144932746887207 time for calcul the mask position with numpy : 0.005841493606567383 nb_pixel_total : 90986 time to create 1 rle with old method : 0.1253957748413086 create new chi : 0.4376997947692871 time to delete rle : 0.0011150836944580078 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 5351 TO DO : save crop sub photo not yet done ! save time : 0.6691370010375977 map_output_result : {1388575928: (0.0, 'Should be the crop_list due to order', 0.0), 1388575883: (0.0, 'Should be the crop_list due to order', 0.0), 1388575880: (0.0, 'Should be the crop_list due to order', 0.0), 1388575879: (0.0, 'Should be the crop_list due to order', 0.0), 1388575878: (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 [1388575928, 1388575883, 1388575880, 1388575879, 1388575878] Looping around the photos to save general results len do output : 5 /1388575928.Didn't retrieve data . /1388575883.Didn't retrieve data . /1388575880.Didn't retrieve data . /1388575879.Didn't retrieve data . /1388575878.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, '3911037') ('4877', '27666969', '1388575928', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575883', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575880', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575879', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575878', None, None, None, None, None, '3911037') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.038498640060424805 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.952763795852661 time spend to save output : 0.038987159729003906 total time spend for step 5 : 12.991750955581665 step6:crop_condition Fri Oct 10 09:30:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 5 ! batch 1 Loaded 73 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 ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081438_4129437 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(1760081438), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4_rle_crop_3991857093_0.png', 0, 173, 189, 0, 1760081438,'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(1760081438), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4_rle_crop_3991857089_0.png', 0, 51, 38, 0, 1760081438,'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(1760081438), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4_rle_crop_3991857163_0.png', 0, 45, 36, 0, 1760081438,'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(1760081438), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4_rle_crop_3991857155_0.png', 0, 121, 110, 0, 1760081438,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4783623218536377 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 ! 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/1760081439_4129437 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(1760081440), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575883_b8a294f24b04468fa4a2538e4d030aaa_rle_crop_3991857070_0.png', 0, 85, 47, 0, 1760081440,'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(1760081440), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4_rle_crop_3991857090_0.png', 0, 71, 35, 0, 1760081440,'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 : 0.9199597835540771 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081440_4129437 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(1760081441), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4_rle_crop_3991857092_0.png', 0, 208, 185, 0, 1760081441,'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.8738396167755127 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! 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 ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081442_4129437 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(1760081442), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575883_b8a294f24b04468fa4a2538e4d030aaa_rle_crop_3991857073_0.png', 0, 120, 112, 0, 1760081442,'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(1760081442), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4_rle_crop_3991857148_0.png', 0, 236, 171, 0, 1760081442,'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(1760081442), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575878_b0f350d3f9dd457c8f80b9cd675ba741_rle_crop_3991857172_0.png', 0, 173, 157, 0, 1760081442,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4288878440856934 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081443_4129437 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(1760081444), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4_rle_crop_3991857087_0.png', 0, 110, 42, 0, 1760081444,'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(1760081444), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4_rle_crop_3991857160_0.png', 0, 199, 57, 0, 1760081444,'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 : 0.947730541229248 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760081445_4129437 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(1760081445), 0.0, 0.0, 14, '', 0, 0, '1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4_rle_crop_3991857097_0.png', 0, 164, 137, 0, 1760081445,'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.7393553256988525 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 [1388575928, 1388575883, 1388575880, 1388575879, 1388575878] Looping around the photos to save general results len do output : 13 /1388634082Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634084Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388634136Didn'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, '3911037') ('4877', '27666969', '1388575928', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575883', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575880', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575879', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575878', None, None, None, None, None, '3911037') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 time used for this insertion : 0.03846406936645508 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.766183137893677 time spend to save output : 0.039145708084106445 total time spend for step 6 : 8.805328845977783 step7:ventilate_hashtags_in_portfolio Fri Oct 10 09:30:45 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 : 27666969 get user id for portfolio 27666969 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`=27666969 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','mal_croppe','Carton_gris','metal','plastique','autre_refus','flou','cartonnette','environnement','Carton_brun','Teint_Dans_La_Masse')) 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`=27666969 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','mal_croppe','Carton_gris','metal','plastique','autre_refus','flou','cartonnette','environnement','Carton_brun','Teint_Dans_La_Masse')) 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`=27666969 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','mal_croppe','Carton_gris','metal','plastique','autre_refus','flou','cartonnette','environnement','Carton_brun','Teint_Dans_La_Masse')) 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`=27666969 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','mal_croppe','Carton_gris','metal','plastique','autre_refus','flou','cartonnette','environnement','Carton_brun','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27686071,27686072,27686073,27686074,27686075,27686076,27686077,27686078,27686079,27686080,27686081,27686082?tags=kraft,papier,mal_croppe,Carton_gris,metal,plastique,autre_refus,flou,cartonnette,environnement,Carton_brun,Teint_Dans_La_Masse Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388575928, 1388575883, 1388575880, 1388575879, 1388575878] Looping around the photos to save general results len do output : 1 /27666969. 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, '3911037') ('4877', '27666969', '1388575928', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575883', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575880', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575879', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575878', None, None, None, None, None, '3911037') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.03644680976867676 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.914955139160156 time spend to save output : 0.036707401275634766 total time spend for step 7 : 6.951662540435791 step8:tfhub_classification2 Fri Oct 10 09:30:52 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:30:55.419579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:30:55.420462: 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:55.420543: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:30:55.420595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:30:55.422778: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:30:55.422853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:30:55.425244: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:30:55.426553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:30:55.432013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:30:55.433488: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:30:55.433883: 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:55.458555: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:30:55.460494: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f42b0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:30:55.460547: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:30:55.464567: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4685bb00 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:30:55.464598: 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:55.465879: 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:55.466015: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:30:55.466047: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:30:55.466166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:30:55.466202: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:30:55.466240: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:30:55.466307: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:30:55.466353: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:30:55.468372: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:30:55.468528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:30:55.468607: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:30:55.468625: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:30:55.468639: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:30:55.470609: 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 : 6997 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.742494106292725 time used to load_weights : 0.16797947883605957 0it [00:00, ?it/s] 5it [00:00, 2254.27it/s]2025-10-10 09:31:05.465900: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:31:05.496415: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1760081386_4129437_1388575928_6c2d5b22b5d3356803b02f052135618b.jpg temp/1760081386_4129437_1388575883_b8a294f24b04468fa4a2538e4d030aaa.jpg temp/1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4.jpg temp/1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4.jpg temp/1760081386_4129437_1388575878_b0f350d3f9dd457c8f80b9cd675ba741.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 2.294656276702881 (5,) (5, 5) (5, 2048) shape of features : (5, 2048) shape of new features : (1, 5, 2048) save descriptor for thcl : 3513 time to traite the descriptors : 0.057331085205078125 storage_type for insertDescriptorsMulti : 3 To insert : 1388575928 To insert : 1388575883 To insert : 1388575880 To insert : 1388575879 To insert : 1388575878 Catched exception ! Connect or reconnect ! time to insert the descriptors : 2.963123321533203 tagging for thcl : 3379 To do loadFromThcl(), then load ParamDescType : thcl3379 thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcl {'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'} Update svm_hashtag_type_desc : 5680 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5680, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 1280, 1280, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2022, 6, 4, 1, 31, 10), datetime.datetime(2022, 6, 4, 1, 31, 10)) model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_param file didn't exist model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022 /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Confusion_Matrix.png size_local : 82527 size in s3 : 82527 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:31:09 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_aluminium.jpg size_local : 67602 size in s3 : 67602 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_aluminium.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_ela.jpg size_local : 67189 size in s3 : 67189 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:13 Precision_Recall_ela.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_film_pedb.jpg size_local : 71280 size in s3 : 71280 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:14 Precision_Recall_film_pedb.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_flux_dev.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_flux_dev.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_jrm.jpg size_local : 67657 size in s3 : 67657 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:31:06 Precision_Recall_jrm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcm.jpg size_local : 83042 size in s3 : 83042 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:40 Precision_Recall_pcm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcnc.jpg size_local : 69972 size in s3 : 69972 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:05 Precision_Recall_pcnc.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pehd_pp.jpg size_local : 67313 size in s3 : 67313 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_pehd_pp.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pet_clair.jpg size_local : 67320 size in s3 : 67320 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:04 Precision_Recall_pet_clair.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_refus.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Precision_Recall_refus.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_tapis_vide.jpg size_local : 80244 size in s3 : 80244 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_tapis_vide.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Result_Summary.txt size_local : 1018 size in s3 : 1018 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/checkpoint size_local : 99 size in s3 : 99 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:06 checkpoint already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00000-of-00002 size_local : 216640 size in s3 : 216640 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:43 model_checkpoint.ckpt.data-00000-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00001-of-00002 size_local : 32341196 size in s3 : 32341196 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:15 model_checkpoint.ckpt.data-00001-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.index size_local : 43546 size in s3 : 43546 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:13 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_weights.h5 size_local : 16531224 size in s3 : 16531224 create time local : 2022-06-06 13:01:29 create time in s3 : 2022-06-03 23:23:46 model_weights.h5 already exist and didn't need to update desc size : 1280 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 1280) 4049564 _________________________________________________________________ learn_classif_flux_maj_gener (None, 11) 14091 ================================================================= Total params: 4,063,655 Trainable params: 14,091 Non-trainable params: 4,049,564 _________________________________________________________________ Loading Weights... time used to create the model : 7.91316032409668 time used to load_weights : 0.13927698135375977 0it [00:00, ?it/s] 5it [00:00, 1874.63it/s]temp/1760081386_4129437_1388575928_6c2d5b22b5d3356803b02f052135618b.jpg temp/1760081386_4129437_1388575883_b8a294f24b04468fa4a2538e4d030aaa.jpg temp/1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4.jpg temp/1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4.jpg temp/1760081386_4129437_1388575878_b0f350d3f9dd457c8f80b9cd675ba741.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.501880407333374 (5,) (5, 11) (5, 1280) shape of features : (5, 1280) shape of new features : (1, 5, 1280) save descriptor for thcl : 3379 time to traite the descriptors : 0.04376935958862305 storage_type for insertDescriptorsMulti : 3 To insert : 1388575928 To insert : 1388575883 To insert : 1388575880 To insert : 1388575879 To insert : 1388575878 time to insert the descriptors : 1.4715209007263184 tagging for thcl : 3847 To do loadFromThcl(), then load ParamDescType : thcl3847 thcls : [{'id': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcl {'id': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'} Update svm_hashtag_type_desc : 6032 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (6032, 'learn_MM_generique_050224', 1280, 1280, 'learn_MM_generique_050224', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2024, 2, 5, 21, 42, 4), datetime.datetime(2024, 2, 5, 21, 42, 4)) model_name : learn_MM_generique_050224 model_param file didn't exist model_name : learn_MM_generique_050224 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_emr.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_emr.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_MM_generique_050224 /data/models_weight/learn_MM_generique_050224/Confusion_Matrix.png size_local : 88145 size in s3 : 88145 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:54 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_aluminium.jpg size_local : 67983 size in s3 : 67983 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:42:02 Precision_Recall_aluminium.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_ela.jpg size_local : 68484 size in s3 : 68484 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_ela.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_emr.jpg size_local : 77930 size in s3 : 77930 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:55 Precision_Recall_emr.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_film_pedb.jpg size_local : 66701 size in s3 : 66701 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:55 Precision_Recall_film_pedb.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_flux_dev.jpg size_local : 59936 size in s3 : 59936 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_flux_dev.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_jrm.jpg size_local : 72890 size in s3 : 72890 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_jrm.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pcm.jpg size_local : 93916 size in s3 : 93916 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:02 Precision_Recall_pcm.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pcnc.jpg size_local : 74701 size in s3 : 74701 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_pcnc.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pehd_pp.jpg size_local : 68765 size in s3 : 68765 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:03 Precision_Recall_pehd_pp.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pet_clair.jpg size_local : 69649 size in s3 : 69649 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:03 Precision_Recall_pet_clair.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_refus.jpg size_local : 59936 size in s3 : 59936 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:59 Precision_Recall_refus.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_tapis_vide.jpg size_local : 71529 size in s3 : 71529 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:54 Precision_Recall_tapis_vide.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Result_Summary.txt size_local : 1076 size in s3 : 1076 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:55 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/checkpoint size_local : 99 size in s3 : 99 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:00 checkpoint already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_checkpoint.ckpt.data-00000-of-00001 size_local : 32591049 size in s3 : 32591049 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:42:02 model_checkpoint.ckpt.data-00000-of-00001 already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_checkpoint.ckpt.index size_local : 42495 size in s3 : 42495 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:41:55 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_weights.h5 size_local : 16536200 size in s3 : 16536200 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:42:00 model_weights.h5 already exist and didn't need to update desc size : 1280 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 1280) 4049564 _________________________________________________________________ learn_MM_generique_050224den (None, 12) 15372 ================================================================= Total params: 4,064,936 Trainable params: 15,372 Non-trainable params: 4,049,564 _________________________________________________________________ Loading Weights... time used to create the model : 7.8278069496154785 time used to load_weights : 0.11580991744995117 0it [00:00, ?it/s] 5it [00:00, 2315.50it/s]temp/1760081386_4129437_1388575928_6c2d5b22b5d3356803b02f052135618b.jpg temp/1760081386_4129437_1388575883_b8a294f24b04468fa4a2538e4d030aaa.jpg temp/1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4.jpg temp/1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4.jpg temp/1760081386_4129437_1388575878_b0f350d3f9dd457c8f80b9cd675ba741.jpg Found 5 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.9504880905151367 (5,) (5, 12) (5, 1280) shape of features : (5, 1280) shape of new features : (1, 5, 1280) save descriptor for thcl : 3847 time to traite the descriptors : 0.05736660957336426 storage_type for insertDescriptorsMulti : 3 To insert : 1388575928 To insert : 1388575883 To insert : 1388575880 To insert : 1388575879 To insert : 1388575878 time to insert the descriptors : 1.323970079421997 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1388575928, 1388575883, 1388575880, 1388575879, 1388575878] Looping around the photos to save general results len do output : 5 /1388575928Didn't retrieve data . /1388575883Didn't retrieve data . /1388575880Didn't retrieve data . /1388575879Didn't retrieve data . /1388575878Didn'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, '3911037') ('4877', '27666969', '1388575928', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575883', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575880', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575879', None, None, None, None, None, '3911037') ('4877', None, None, None, None, None, None, None, '3911037') ('4877', '27666969', '1388575878', None, None, None, None, None, '3911037') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.035730600357055664 save_final save missing photos in datou_result : time spend for datou_step_exec : 44.030250549316406 time spend to save output : 0.03606605529785156 total time spend for step 8 : 44.06631660461426 step9:argmax Fri Oct 10 09:31:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou_step Argmax ! Inside saveOutput : final : True verbose : 0 photo_id : 1388575928 output[photo_id] : [[(1388575928, '05102018_Papier_non_papier_presque_vide', 0.4127445, 4557, 3513), (1388575928, 'jrm', 0.36130166, 4374, 3379), (1388575928, 'tapis_vide', 0.5410787, 4932, 3847)], 'temp/1760081386_4129437_1388575928_6c2d5b22b5d3356803b02f052135618b.jpg'] photo_id : 1388575883 output[photo_id] : [[(1388575883, '05102018_Papier_non_papier_presque_vide', 0.65947825, 4557, 3513), (1388575883, 'jrm', 0.89385074, 4374, 3379), (1388575883, 'jrm', 0.9033825, 4932, 3847)], 'temp/1760081386_4129437_1388575883_b8a294f24b04468fa4a2538e4d030aaa.jpg'] photo_id : 1388575880 output[photo_id] : [[(1388575880, '05102018_Papier_non_papier_presque_vide', 0.6512647, 4557, 3513), (1388575880, 'jrm', 0.89241207, 4374, 3379), (1388575880, 'jrm', 0.8473913, 4932, 3847)], 'temp/1760081386_4129437_1388575880_af1c6ddce754534963f52c7ceabbb1b4.jpg'] photo_id : 1388575879 output[photo_id] : [[(1388575879, '05102018_Papier_non_papier_presque_vide', 0.5831635, 4557, 3513), (1388575879, 'jrm', 0.8603259, 4374, 3379), (1388575879, 'jrm', 0.6327199, 4932, 3847)], 'temp/1760081386_4129437_1388575879_8a4c5d8bd5765ab0a4adcb5f95f528f4.jpg'] photo_id : 1388575878 output[photo_id] : [[(1388575878, '05102018_Papier_non_papier_presque_vide', 0.568696, 4557, 3513), (1388575878, 'jrm', 0.87770265, 4374, 3379), (1388575878, 'jrm', 0.84367746, 4932, 3847)], 'temp/1760081386_4129437_1388575878_b0f350d3f9dd457c8f80b9cd675ba741.jpg'] begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.03521370887756348 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 15 time used for this insertion : 0.03737211227416992 len list_finale : 15, len picture : 5 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.03530550003051758 saving photo_ids in datou_result begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.03572440147399902 save missing photos in datou_result : time spend for datou_step_exec : 0.01779031753540039 time spend to save output : 0.19538211822509766 total time spend for step 9 : 0.21317243576049805 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 65.79user 21.93system 1:55.65elapsed 75%CPU (0avgtext+0avgdata 3016752maxresident)k 27696inputs+17912outputs (255major+3566112minor)pagefaults 0swaps