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 3911003' -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 : 4070390 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 : ['3911003'] with mtr_portfolio_ids : ['27666895'] and first list_photo_ids : [] new path : /proc/4070390/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, tfhub_classification2, argmax over limit max, limiting to limit_max 20 list_input_json : [] origin We have 1 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 1.037635087966919 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:07:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-10 09:07:42.627247: 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:07:42.654434: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:07:42.656556: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1f78000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:07:42.656621: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:07:42.660491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:07:42.789894: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x30da3210 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:07:42.789944: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:07:42.791369: 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:07:42.791800: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:07:42.794810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:07:42.797951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:07:42.798488: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:07:42.801414: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:07:42.802772: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:07:42.808321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:07:42.810163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:07:42.810253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:07:42.811206: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:07:42.811224: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:07:42.811234: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:07:42.812717: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-10-10 09:07:43.237720: 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:07:43.237821: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:07:43.237852: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:07:43.237880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:07:43.237924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:07:43.237953: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:07:43.237980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:07:43.238007: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:07:43.240017: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:07:43.241089: 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:07:43.241119: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:07:43.241135: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:07:43.241150: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:07:43.241164: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:07:43.241178: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:07:43.241192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:07:43.241207: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:07:43.242386: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:07:43.242414: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:07:43.242423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:07:43.242430: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:07:43.243761: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-10 09:07:49.483882: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:07:49.640643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 6 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1632, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1632.00000 nb d'objets trouves : 12 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 Detection mask done ! Trying to reset tf kernel 4070471 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5483 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10772 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.00048661231994628906 nb_pixel_total : 22399 time to create 1 rle with old method : 0.026668310165405273 length of segment : 197 time for calcul the mask position with numpy : 0.0002880096435546875 nb_pixel_total : 19020 time to create 1 rle with old method : 0.021188020706176758 length of segment : 219 time for calcul the mask position with numpy : 8.58306884765625e-05 nb_pixel_total : 1249 time to create 1 rle with old method : 0.0015616416931152344 length of segment : 111 time for calcul the mask position with numpy : 0.00038433074951171875 nb_pixel_total : 23353 time to create 1 rle with old method : 0.026557207107543945 length of segment : 162 time for calcul the mask position with numpy : 5.173683166503906e-05 nb_pixel_total : 711 time to create 1 rle with old method : 0.0009396076202392578 length of segment : 32 time for calcul the mask position with numpy : 0.0018329620361328125 nb_pixel_total : 123067 time to create 1 rle with old method : 0.13474178314208984 length of segment : 370 time for calcul the mask position with numpy : 0.0002658367156982422 nb_pixel_total : 15995 time to create 1 rle with old method : 0.018285512924194336 length of segment : 162 time for calcul the mask position with numpy : 0.0002651214599609375 nb_pixel_total : 9364 time to create 1 rle with old method : 0.010666131973266602 length of segment : 239 time for calcul the mask position with numpy : 0.005861520767211914 nb_pixel_total : 339459 time to create 1 rle with new method : 0.017630815505981445 length of segment : 1244 time for calcul the mask position with numpy : 0.0007834434509277344 nb_pixel_total : 35446 time to create 1 rle with old method : 0.040083885192871094 length of segment : 543 time for calcul the mask position with numpy : 0.0004367828369140625 nb_pixel_total : 17400 time to create 1 rle with old method : 0.020363330841064453 length of segment : 287 time for calcul the mask position with numpy : 5.1975250244140625e-05 nb_pixel_total : 534 time to create 1 rle with old method : 0.0007359981536865234 length of segment : 25 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 6313 time to create 1 rle with old method : 0.007337808609008789 length of segment : 118 time for calcul the mask position with numpy : 0.00026702880859375 nb_pixel_total : 8390 time to create 1 rle with old method : 0.009963512420654297 length of segment : 243 time for calcul the mask position with numpy : 0.0010662078857421875 nb_pixel_total : 88403 time to create 1 rle with old method : 0.10098552703857422 length of segment : 321 time for calcul the mask position with numpy : 7.82012939453125e-05 nb_pixel_total : 1108 time to create 1 rle with old method : 0.0013785362243652344 length of segment : 57 time for calcul the mask position with numpy : 0.0006232261657714844 nb_pixel_total : 24071 time to create 1 rle with old method : 0.02777719497680664 length of segment : 197 time for calcul the mask position with numpy : 4.6253204345703125e-05 nb_pixel_total : 371 time to create 1 rle with old method : 0.0005395412445068359 length of segment : 37 time for calcul the mask position with numpy : 0.00640869140625 nb_pixel_total : 418594 time to create 1 rle with new method : 0.017080307006835938 length of segment : 1104 time for calcul the mask position with numpy : 7.963180541992188e-05 nb_pixel_total : 1863 time to create 1 rle with old method : 0.0021767616271972656 length of segment : 54 time for calcul the mask position with numpy : 0.0005466938018798828 nb_pixel_total : 31876 time to create 1 rle with old method : 0.03577160835266113 length of segment : 359 time for calcul the mask position with numpy : 0.0015978813171386719 nb_pixel_total : 91376 time to create 1 rle with old method : 0.10044097900390625 length of segment : 436 time for calcul the mask position with numpy : 5.2928924560546875e-05 nb_pixel_total : 368 time to create 1 rle with old method : 0.0005280971527099609 length of segment : 20 time for calcul the mask position with numpy : 0.00025343894958496094 nb_pixel_total : 14161 time to create 1 rle with old method : 0.016614675521850586 length of segment : 139 time for calcul the mask position with numpy : 0.00014162063598632812 nb_pixel_total : 6428 time to create 1 rle with old method : 0.00769805908203125 length of segment : 119 time for calcul the mask position with numpy : 5.984306335449219e-05 nb_pixel_total : 1285 time to create 1 rle with old method : 0.0017004013061523438 length of segment : 33 time for calcul the mask position with numpy : 0.00010657310485839844 nb_pixel_total : 4297 time to create 1 rle with old method : 0.0052607059478759766 length of segment : 94 time for calcul the mask position with numpy : 0.0001437664031982422 nb_pixel_total : 7028 time to create 1 rle with old method : 0.007889509201049805 length of segment : 137 time for calcul the mask position with numpy : 4.76837158203125e-05 nb_pixel_total : 635 time to create 1 rle with old method : 0.0008141994476318359 length of segment : 38 time for calcul the mask position with numpy : 7.176399230957031e-05 nb_pixel_total : 2236 time to create 1 rle with old method : 0.002783060073852539 length of segment : 65 time for calcul the mask position with numpy : 0.0003750324249267578 nb_pixel_total : 26006 time to create 1 rle with old method : 0.02938532829284668 length of segment : 192 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 1280 time to create 1 rle with old method : 0.001619577407836914 length of segment : 55 time for calcul the mask position with numpy : 0.006968975067138672 nb_pixel_total : 474530 time to create 1 rle with new method : 0.03082561492919922 length of segment : 1268 time for calcul the mask position with numpy : 8.130073547363281e-05 nb_pixel_total : 1004 time to create 1 rle with old method : 0.0013151168823242188 length of segment : 35 time for calcul the mask position with numpy : 0.00013899803161621094 nb_pixel_total : 2948 time to create 1 rle with old method : 0.0035240650177001953 length of segment : 44 time for calcul the mask position with numpy : 0.0021708011627197266 nb_pixel_total : 98065 time to create 1 rle with old method : 0.13290834426879883 length of segment : 418 time for calcul the mask position with numpy : 0.0008308887481689453 nb_pixel_total : 42367 time to create 1 rle with old method : 0.04751849174499512 length of segment : 222 time for calcul the mask position with numpy : 4.7206878662109375e-05 nb_pixel_total : 359 time to create 1 rle with old method : 0.0005040168762207031 length of segment : 26 time for calcul the mask position with numpy : 0.0002830028533935547 nb_pixel_total : 5272 time to create 1 rle with old method : 0.005953311920166016 length of segment : 178 time for calcul the mask position with numpy : 0.00026798248291015625 nb_pixel_total : 6235 time to create 1 rle with old method : 0.0074214935302734375 length of segment : 121 time for calcul the mask position with numpy : 0.00010180473327636719 nb_pixel_total : 672 time to create 1 rle with old method : 0.0009765625 length of segment : 38 time for calcul the mask position with numpy : 0.00017452239990234375 nb_pixel_total : 2553 time to create 1 rle with old method : 0.0029001235961914062 length of segment : 78 time for calcul the mask position with numpy : 0.0019800662994384766 nb_pixel_total : 95945 time to create 1 rle with old method : 0.10599207878112793 length of segment : 379 time for calcul the mask position with numpy : 0.00027298927307128906 nb_pixel_total : 2379 time to create 1 rle with old method : 0.0030088424682617188 length of segment : 66 time for calcul the mask position with numpy : 0.0003478527069091797 nb_pixel_total : 6903 time to create 1 rle with old method : 0.0081634521484375 length of segment : 131 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 76 time to create 1 rle with old method : 0.00015497207641601562 length of segment : 13 time for calcul the mask position with numpy : 0.00015974044799804688 nb_pixel_total : 1371 time to create 1 rle with old method : 0.001781463623046875 length of segment : 59 time for calcul the mask position with numpy : 0.001203298568725586 nb_pixel_total : 37525 time to create 1 rle with old method : 0.04376673698425293 length of segment : 241 time for calcul the mask position with numpy : 0.008943796157836914 nb_pixel_total : 437344 time to create 1 rle with new method : 0.017467975616455078 length of segment : 1428 time for calcul the mask position with numpy : 0.0002713203430175781 nb_pixel_total : 1927 time to create 1 rle with old method : 0.003942012786865234 length of segment : 56 time for calcul the mask position with numpy : 0.0005910396575927734 nb_pixel_total : 3896 time to create 1 rle with old method : 0.0075037479400634766 length of segment : 94 time for calcul the mask position with numpy : 0.00021123886108398438 nb_pixel_total : 1984 time to create 1 rle with old method : 0.003987550735473633 length of segment : 40 time for calcul the mask position with numpy : 0.00032448768615722656 nb_pixel_total : 3509 time to create 1 rle with old method : 0.006810665130615234 length of segment : 99 time for calcul the mask position with numpy : 0.0006830692291259766 nb_pixel_total : 14571 time to create 1 rle with old method : 0.02719879150390625 length of segment : 163 time for calcul the mask position with numpy : 0.0023946762084960938 nb_pixel_total : 97111 time to create 1 rle with old method : 0.11052274703979492 length of segment : 324 time for calcul the mask position with numpy : 0.0005388259887695312 nb_pixel_total : 6593 time to create 1 rle with old method : 0.011348247528076172 length of segment : 193 time for calcul the mask position with numpy : 0.0002422332763671875 nb_pixel_total : 3266 time to create 1 rle with old method : 0.00566554069519043 length of segment : 80 time for calcul the mask position with numpy : 0.0005528926849365234 nb_pixel_total : 2893 time to create 1 rle with old method : 0.003751993179321289 length of segment : 104 time for calcul the mask position with numpy : 0.008830070495605469 nb_pixel_total : 481499 time to create 1 rle with new method : 0.014637231826782227 length of segment : 1122 time for calcul the mask position with numpy : 0.0006113052368164062 nb_pixel_total : 34003 time to create 1 rle with old method : 0.03908896446228027 length of segment : 201 time for calcul the mask position with numpy : 0.00034999847412109375 nb_pixel_total : 7021 time to create 1 rle with old method : 0.008397340774536133 length of segment : 169 time for calcul the mask position with numpy : 0.00026226043701171875 nb_pixel_total : 5618 time to create 1 rle with old method : 0.007039546966552734 length of segment : 174 time for calcul the mask position with numpy : 0.00012683868408203125 nb_pixel_total : 1891 time to create 1 rle with old method : 0.0024406909942626953 length of segment : 40 time for calcul the mask position with numpy : 0.00019097328186035156 nb_pixel_total : 2796 time to create 1 rle with old method : 0.0034186840057373047 length of segment : 88 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 1446 time to create 1 rle with old method : 0.0018270015716552734 length of segment : 44 time for calcul the mask position with numpy : 0.0004019737243652344 nb_pixel_total : 8016 time to create 1 rle with old method : 0.009659528732299805 length of segment : 134 time for calcul the mask position with numpy : 0.0001201629638671875 nb_pixel_total : 1605 time to create 1 rle with old method : 0.001999378204345703 length of segment : 64 time for calcul the mask position with numpy : 0.00028324127197265625 nb_pixel_total : 4771 time to create 1 rle with old method : 0.0061533451080322266 length of segment : 127 time for calcul the mask position with numpy : 0.00041794776916503906 nb_pixel_total : 19258 time to create 1 rle with old method : 0.024265050888061523 length of segment : 161 time for calcul the mask position with numpy : 0.0001270771026611328 nb_pixel_total : 242 time to create 1 rle with old method : 0.0003342628479003906 length of segment : 37 time for calcul the mask position with numpy : 0.014101266860961914 nb_pixel_total : 486663 time to create 1 rle with new method : 0.021884679794311523 length of segment : 1085 time for calcul the mask position with numpy : 0.0019593238830566406 nb_pixel_total : 61067 time to create 1 rle with old method : 0.07017803192138672 length of segment : 778 time for calcul the mask position with numpy : 0.00017595291137695312 nb_pixel_total : 1665 time to create 1 rle with old method : 0.002108335494995117 length of segment : 64 time for calcul the mask position with numpy : 0.0014989376068115234 nb_pixel_total : 96981 time to create 1 rle with old method : 0.11244058609008789 length of segment : 354 time for calcul the mask position with numpy : 0.00036406517028808594 nb_pixel_total : 18163 time to create 1 rle with old method : 0.02119612693786621 length of segment : 164 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 1279 time to create 1 rle with old method : 0.0018172264099121094 length of segment : 70 time for calcul the mask position with numpy : 0.0004677772521972656 nb_pixel_total : 26336 time to create 1 rle with old method : 0.030092239379882812 length of segment : 232 time for calcul the mask position with numpy : 0.0009675025939941406 nb_pixel_total : 11504 time to create 1 rle with old method : 0.01311945915222168 length of segment : 232 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 751 time to create 1 rle with old method : 0.0010387897491455078 length of segment : 31 time spent for convertir_results : 4.773835182189941 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 79 chid ids of type : 3663 Number RLEs to save : 18678 save missing photos in datou_result : time spend for datou_step_exec : 21.785195350646973 time spend to save output : 2.168187379837036 total time spend for step 1 : 23.95338273048401 step2:crop_condition Fri Oct 10 09:08:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 6 ! batch 1 Loaded 79 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 20 About to insert : list_path_to_insert length 20 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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 [1388570840, 1388570823, 1388570819, 1388570816, 1388570813, 1388570811] Looping around the photos to save general results len do output : 39 /-3991795692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3991795715Didn'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, '3911003') ('4877', '27666895', '1388570840', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570823', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570819', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570816', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570813', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570811', None, None, None, None, None, '3911003') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 time used for this insertion : 0.0387420654296875 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.909699440002441 time spend to save output : 0.040485382080078125 total time spend for step 2 : 5.9501848220825195 step3:thcl Fri Oct 10 09:08:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.0044171810150146484 time to convert the images to numpy array : 0.008998870849609375 time to import caffe and check if the image exist : 0.006333827972412109 time to convert the images to numpy array : 0.010252237319946289 time to import caffe and check if the image exist : 0.004522800445556641 time to convert the images to numpy array : 0.018516063690185547 time to import caffe and check if the image exist : 0.0069828033447265625 time to convert the images to numpy array : 0.01645827293395996 time to import caffe and check if the image exist : 0.009398221969604492 time to convert the images to numpy array : 0.019489288330078125 time to import caffe and check if the image exist : 0.008674383163452148 time to convert the images to numpy array : 0.023470401763916016 time to import caffe and check if the image exist : 0.007846355438232422 time to convert the images to numpy array : 0.02653050422668457 time to import caffe and check if the image exist : 0.006628513336181641 time to convert the images to numpy array : 0.028007984161376953 time to import caffe and check if the image exist : 0.00595402717590332 time to convert the images to numpy array : 0.029343843460083008 time to import caffe and check if the image exist : 0.005499839782714844 time to convert the images to numpy array : 0.03334379196166992 total time to convert the images to numpy array : 0.21802425384521484 list photo_ids error: [] list photo_ids correct : [-3991795735, -3991795747, -3991795748, -3991795756, -3991795726, -3991795764, -3991795715, -3991795692, -3991795693, -3991795723, -3991795721, -3991795698, -3991795722, -3991795733, -3991795737, -3991795749, -3991795746, -3991795769, -3991795767, -3991795713, -3991795745, -3991795752, -3991795760, -3991795736, -3991795739, -3991795734, -3991795751, -3991795704, -3991795706, -3991795719, -3991795727, -3991795695, -3991795697, -3991795712, -3991795708, -3991795757, -3991795765, -3991795768, -3991795763] number of photos to traite : 39 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 : 7216 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 : 6997 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.2522902488708496 time used to do the prediction : 0.11147713661193848 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 : 6995 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 : 6995 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.27145838737487793 time used to do the prediction : 0.08285641670227051 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.239776611328125e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.672297239303589 time spend to save output : 0.0003342628479003906 total time spend for step 3 : 7.672631502151489 step4:merge_mask_thcl_custom Fri Oct 10 09:08:17 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 79 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 [1388570840, 1388570823, 1388570819, 1388570816, 1388570813, 1388570811] Looping around the photos to save general results len do output : 6 /1388570840Didn't retrieve data .Didn't retrieve data . /1388570823Didn't retrieve data .Didn't retrieve data . /1388570819Didn't retrieve data .Didn't retrieve data . /1388570816Didn't retrieve data .Didn't retrieve data . /1388570813Didn't retrieve data .Didn't retrieve data . /1388570811Didn'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, '3911003') ('4877', '27666895', '1388570840', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570823', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570819', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570816', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570813', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570811', None, None, None, None, None, '3911003') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03834867477416992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.19492149353027344 time spend to save output : 0.038687705993652344 total time spend for step 4 : 0.23360919952392578 step5:rle_unique_nms_with_priority Fri Oct 10 09:08:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 0.7799463272094727 time for calcul the mask position with numpy : 0.01578688621520996 nb_pixel_total : 1189141 time to create 1 rle with new method : 0.04285073280334473 time for calcul the mask position with numpy : 0.005550384521484375 nb_pixel_total : 15953 time to create 1 rle with old method : 0.017778873443603516 time for calcul the mask position with numpy : 0.00566411018371582 nb_pixel_total : 89395 time to create 1 rle with old method : 0.09923911094665527 time for calcul the mask position with numpy : 0.005446672439575195 nb_pixel_total : 22611 time to create 1 rle with old method : 0.02508234977722168 time for calcul the mask position with numpy : 0.005044460296630859 nb_pixel_total : 35196 time to create 1 rle with old method : 0.0392000675201416 time for calcul the mask position with numpy : 0.007449150085449219 nb_pixel_total : 357688 time to create 1 rle with new method : 0.03811836242675781 time for calcul the mask position with numpy : 0.005985260009765625 nb_pixel_total : 9305 time to create 1 rle with old method : 0.010765552520751953 time for calcul the mask position with numpy : 0.0053026676177978516 nb_pixel_total : 703 time to create 1 rle with old method : 0.0008370876312255859 time for calcul the mask position with numpy : 0.00526738166809082 nb_pixel_total : 1235 time to create 1 rle with old method : 0.0014653205871582031 time for calcul the mask position with numpy : 0.005397319793701172 nb_pixel_total : 22335 time to create 1 rle with old method : 0.025574922561645508 time for calcul the mask position with numpy : 0.005411863327026367 nb_pixel_total : 18998 time to create 1 rle with old method : 0.02122354507446289 create new chi : 0.39858269691467285 time to delete rle : 0.050759315490722656 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 6652 TO DO : save crop sub photo not yet done ! save time : 0.7787415981292725 nb_obj : 13 nb_hashtags : 3 time to prepare the origin masks : 0.8655858039855957 time for calcul the mask position with numpy : 0.014605283737182617 nb_pixel_total : 1169814 time to create 1 rle with new method : 0.03337717056274414 time for calcul the mask position with numpy : 0.005248546600341797 nb_pixel_total : 24001 time to create 1 rle with old method : 0.026465177536010742 time for calcul the mask position with numpy : 0.004993438720703125 nb_pixel_total : 364 time to create 1 rle with old method : 0.0004124641418457031 time for calcul the mask position with numpy : 0.0048754215240478516 nb_pixel_total : 1847 time to create 1 rle with old method : 0.0020020008087158203 time for calcul the mask position with numpy : 0.004792451858520508 nb_pixel_total : 11113 time to create 1 rle with old method : 0.012212753295898438 time for calcul the mask position with numpy : 0.0073184967041015625 nb_pixel_total : 401540 time to create 1 rle with new method : 0.02679920196533203 time for calcul the mask position with numpy : 0.005271434783935547 nb_pixel_total : 370 time to create 1 rle with old method : 0.0004558563232421875 time for calcul the mask position with numpy : 0.00513458251953125 nb_pixel_total : 1108 time to create 1 rle with old method : 0.0012960433959960938 time for calcul the mask position with numpy : 0.005231380462646484 nb_pixel_total : 6310 time to create 1 rle with old method : 0.007292985916137695 time for calcul the mask position with numpy : 0.005193471908569336 nb_pixel_total : 8344 time to create 1 rle with old method : 0.009716272354125977 time for calcul the mask position with numpy : 0.00521540641784668 nb_pixel_total : 14143 time to create 1 rle with old method : 0.015950441360473633 time for calcul the mask position with numpy : 0.005303859710693359 nb_pixel_total : 529 time to create 1 rle with old method : 0.0006401538848876953 time for calcul the mask position with numpy : 0.005633354187011719 nb_pixel_total : 91238 time to create 1 rle with old method : 0.10087013244628906 time for calcul the mask position with numpy : 0.005516529083251953 nb_pixel_total : 31839 time to create 1 rle with old method : 0.035123586654663086 create new chi : 0.3601508140563965 time to delete rle : 0.0006227493286132812 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 6558 TO DO : save crop sub photo not yet done ! save time : 0.7818477153778076 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 0.8780899047851562 time for calcul the mask position with numpy : 0.015194177627563477 nb_pixel_total : 1107892 time to create 1 rle with new method : 0.03278827667236328 time for calcul the mask position with numpy : 0.005408525466918945 nb_pixel_total : 2928 time to create 1 rle with old method : 0.0034036636352539062 time for calcul the mask position with numpy : 0.0051555633544921875 nb_pixel_total : 2169 time to create 1 rle with old method : 0.0025634765625 time for calcul the mask position with numpy : 0.005209922790527344 nb_pixel_total : 6999 time to create 1 rle with old method : 0.008135795593261719 time for calcul the mask position with numpy : 0.005382537841796875 nb_pixel_total : 352 time to create 1 rle with old method : 0.00045418739318847656 time for calcul the mask position with numpy : 0.005359649658203125 nb_pixel_total : 23711 time to create 1 rle with old method : 0.027117013931274414 time for calcul the mask position with numpy : 0.005449771881103516 nb_pixel_total : 1406 time to create 1 rle with old method : 0.0016384124755859375 time for calcul the mask position with numpy : 0.005930423736572266 nb_pixel_total : 994 time to create 1 rle with old method : 0.0014350414276123047 time for calcul the mask position with numpy : 0.009382486343383789 nb_pixel_total : 478488 time to create 1 rle with new method : 0.027245521545410156 time for calcul the mask position with numpy : 0.00524592399597168 nb_pixel_total : 1268 time to create 1 rle with old method : 0.001432657241821289 time for calcul the mask position with numpy : 0.005220890045166016 nb_pixel_total : 25953 time to create 1 rle with old method : 0.029140710830688477 time for calcul the mask position with numpy : 0.005219221115112305 nb_pixel_total : 485 time to create 1 rle with old method : 0.0005767345428466797 time for calcul the mask position with numpy : 0.005353212356567383 nb_pixel_total : 4278 time to create 1 rle with old method : 0.005023479461669922 time for calcul the mask position with numpy : 0.005349636077880859 nb_pixel_total : 1264 time to create 1 rle with old method : 0.0015411376953125 time for calcul the mask position with numpy : 0.006139039993286133 nb_pixel_total : 97989 time to create 1 rle with old method : 0.11521577835083008 time for calcul the mask position with numpy : 0.00558161735534668 nb_pixel_total : 6384 time to create 1 rle with old method : 0.007422208786010742 create new chi : 0.3686199188232422 time to delete rle : 0.0006341934204101562 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 6331 TO DO : save crop sub photo not yet done ! save time : 0.7470433712005615 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 0.7538857460021973 time for calcul the mask position with numpy : 0.015550613403320312 nb_pixel_total : 1192457 time to create 1 rle with new method : 0.026928186416625977 time for calcul the mask position with numpy : 0.005279064178466797 nb_pixel_total : 74 time to create 1 rle with old method : 0.00011754035949707031 time for calcul the mask position with numpy : 0.0051653385162353516 nb_pixel_total : 1922 time to create 1 rle with old method : 0.002270936965942383 time for calcul the mask position with numpy : 0.008608341217041016 nb_pixel_total : 417397 time to create 1 rle with new method : 0.028414249420166016 time for calcul the mask position with numpy : 0.006579160690307617 nb_pixel_total : 1363 time to create 1 rle with old method : 0.0024285316467285156 time for calcul the mask position with numpy : 0.006474971771240234 nb_pixel_total : 6885 time to create 1 rle with old method : 0.012114524841308594 time for calcul the mask position with numpy : 0.006574153900146484 nb_pixel_total : 2366 time to create 1 rle with old method : 0.004288196563720703 time for calcul the mask position with numpy : 0.008087873458862305 nb_pixel_total : 95806 time to create 1 rle with old method : 0.15985465049743652 time for calcul the mask position with numpy : 0.006382465362548828 nb_pixel_total : 661 time to create 1 rle with old method : 0.0011174678802490234 time for calcul the mask position with numpy : 0.0064928531646728516 nb_pixel_total : 37435 time to create 1 rle with old method : 0.056610822677612305 time for calcul the mask position with numpy : 0.005967378616333008 nb_pixel_total : 6194 time to create 1 rle with old method : 0.010135173797607422 create new chi : 0.386643648147583 time to delete rle : 0.0008871555328369141 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 6021 TO DO : save crop sub photo not yet done ! save time : 0.7567386627197266 nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 0.9175076484680176 time for calcul the mask position with numpy : 0.015610456466674805 nb_pixel_total : 1112040 time to create 1 rle with new method : 0.03808331489562988 time for calcul the mask position with numpy : 0.00526738166809082 nb_pixel_total : 896 time to create 1 rle with old method : 0.0012028217315673828 time for calcul the mask position with numpy : 0.005249738693237305 nb_pixel_total : 6560 time to create 1 rle with old method : 0.007531404495239258 time for calcul the mask position with numpy : 0.005445241928100586 nb_pixel_total : 27054 time to create 1 rle with old method : 0.030902624130249023 time for calcul the mask position with numpy : 0.005824565887451172 nb_pixel_total : 97075 time to create 1 rle with old method : 0.10715556144714355 time for calcul the mask position with numpy : 0.00832676887512207 nb_pixel_total : 488928 time to create 1 rle with new method : 0.023751497268676758 time for calcul the mask position with numpy : 0.00516510009765625 nb_pixel_total : 3250 time to create 1 rle with old method : 0.003787517547607422 time for calcul the mask position with numpy : 0.005163908004760742 nb_pixel_total : 2871 time to create 1 rle with old method : 0.003412008285522461 time for calcul the mask position with numpy : 0.005213737487792969 nb_pixel_total : 14566 time to create 1 rle with old method : 0.016785860061645508 time for calcul the mask position with numpy : 0.004914522171020508 nb_pixel_total : 3493 time to create 1 rle with old method : 0.0039157867431640625 time for calcul the mask position with numpy : 0.005263566970825195 nb_pixel_total : 1964 time to create 1 rle with old method : 0.002301454544067383 time for calcul the mask position with numpy : 0.005116939544677734 nb_pixel_total : 3863 time to create 1 rle with old method : 0.004408121109008789 create new chi : 0.3207848072052002 time to delete rle : 0.0005440711975097656 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 5636 TO DO : save crop sub photo not yet done ! save time : 0.6929059028625488 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 1.2805447578430176 time for calcul the mask position with numpy : 0.015162467956542969 nb_pixel_total : 1081897 time to create 1 rle with new method : 0.03400111198425293 time for calcul the mask position with numpy : 0.0052030086517333984 nb_pixel_total : 13074 time to create 1 rle with old method : 0.014346837997436523 time for calcul the mask position with numpy : 0.005284786224365234 nb_pixel_total : 21377 time to create 1 rle with old method : 0.024497032165527344 time for calcul the mask position with numpy : 0.005968570709228516 nb_pixel_total : 64485 time to create 1 rle with old method : 0.07122111320495605 time for calcul the mask position with numpy : 0.008153676986694336 nb_pixel_total : 486501 time to create 1 rle with new method : 0.023987531661987305 time for calcul the mask position with numpy : 0.005133628845214844 nb_pixel_total : 7929 time to create 1 rle with old method : 0.00886988639831543 time for calcul the mask position with numpy : 0.0048828125 nb_pixel_total : 1652 time to create 1 rle with old method : 0.0018055438995361328 time for calcul the mask position with numpy : 0.0048372745513916016 nb_pixel_total : 241 time to create 1 rle with old method : 0.0002715587615966797 time for calcul the mask position with numpy : 0.00494694709777832 nb_pixel_total : 11024 time to create 1 rle with old method : 0.012139081954956055 time for calcul the mask position with numpy : 0.0049953460693359375 nb_pixel_total : 4729 time to create 1 rle with old method : 0.005110502243041992 time for calcul the mask position with numpy : 0.004877328872680664 nb_pixel_total : 1264 time to create 1 rle with old method : 0.0015358924865722656 time for calcul the mask position with numpy : 0.004838705062866211 nb_pixel_total : 1598 time to create 1 rle with old method : 0.0016973018646240234 time for calcul the mask position with numpy : 0.004855632781982422 nb_pixel_total : 1445 time to create 1 rle with old method : 0.0015437602996826172 time for calcul the mask position with numpy : 0.0048673152923583984 nb_pixel_total : 2786 time to create 1 rle with old method : 0.0030367374420166016 time for calcul the mask position with numpy : 0.0047626495361328125 nb_pixel_total : 1874 time to create 1 rle with old method : 0.002216815948486328 time for calcul the mask position with numpy : 0.005205631256103516 nb_pixel_total : 60684 time to create 1 rle with old method : 0.06505036354064941 create new chi : 0.36653757095336914 time to delete rle : 0.0007927417755126953 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 7679 TO DO : save crop sub photo not yet done ! save time : 0.928408145904541 map_output_result : {1388570840: (0.0, 'Should be the crop_list due to order', 0.0), 1388570823: (0.0, 'Should be the crop_list due to order', 0.0), 1388570819: (0.0, 'Should be the crop_list due to order', 0.0), 1388570816: (0.0, 'Should be the crop_list due to order', 0.0), 1388570813: (0.0, 'Should be the crop_list due to order', 0.0), 1388570811: (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 [1388570840, 1388570823, 1388570819, 1388570816, 1388570813, 1388570811] Looping around the photos to save general results len do output : 6 /1388570840.Didn't retrieve data . /1388570823.Didn't retrieve data . /1388570819.Didn't retrieve data . /1388570816.Didn't retrieve data . /1388570813.Didn't retrieve data . /1388570811.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, '3911003') ('4877', '27666895', '1388570840', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570823', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570819', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570816', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570813', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570811', None, None, None, None, None, '3911003') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03670835494995117 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.627987384796143 time spend to save output : 0.037108659744262695 total time spend for step 5 : 12.665096044540405 step6:crop_condition Fri Oct 10 09:08:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 6 ! batch 1 Loaded 80 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 ! 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/1760080111_4070390 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(1760080112), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570840_1dc1f3830f3f72077b61b224246dcf93_rle_crop_3991796017_0.png', 0, 205, 197, 0, 1760080112,'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(1760080112), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570840_1dc1f3830f3f72077b61b224246dcf93_rle_crop_3991796018_0.png', 0, 119, 219, 0, 1760080112,'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(1760080112), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570811_bdaff07557047ae5528acb6cd5f58093_rle_crop_3991796172_0.png', 0, 40, 44, 0, 1760080112,'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.2228453159332275 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760080113_4070390 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(1760080113), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570811_bdaff07557047ae5528acb6cd5f58093_rle_crop_3991796166_0.png', 0, 56, 64, 0, 1760080113,'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.7927277088165283 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 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 ! 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/1760080114_4070390 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(1760080114), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570840_1dc1f3830f3f72077b61b224246dcf93_rle_crop_3991796011_0.png', 0, 237, 150, 0, 1760080114,'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(1760080114), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570823_68fd29d621d1a0b36117b31bc6088e7c_rle_crop_3991796034_0.png', 0, 83, 118, 0, 1760080114,'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(1760080114), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570819_661e90751f5a2325398709a2a23fbedf_rle_crop_3991796071_0.png', 0, 81, 137, 0, 1760080114,'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(1760080114), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570816_4f7354d80f8ab4e040b7d45b34af9e8a_rle_crop_3991796142_0.png', 0, 82, 131, 0, 1760080114,'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.5665907859802246 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 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/1760080116_4070390 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(1760080116), 0.0, 0.0, 14, '', 0, 0, '1760080058_4070390_1388570819_661e90751f5a2325398709a2a23fbedf_rle_crop_3991796078_0.png', 0, 168, 191, 0, 1760080116,'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.7049386501312256 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 [1388570840, 1388570823, 1388570819, 1388570816, 1388570813, 1388570811] Looping around the photos to save general results len do output : 9 /1388625102Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625104Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1388625112Didn'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, '3911003') ('4877', '27666895', '1388570840', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570823', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570819', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570816', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570813', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570811', None, None, None, None, None, '3911003') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.05548429489135742 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.296765327453613 time spend to save output : 0.0560915470123291 total time spend for step 6 : 6.352856874465942 step7:ventilate_hashtags_in_portfolio Fri Oct 10 09:08: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 ! 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 : 27666895 get user id for portfolio 27666895 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`=27666895 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','plastique','flou','autre_refus','cartonnette','Teint_Dans_La_Masse','environnement','papier','Carton_brun','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27666895 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','plastique','flou','autre_refus','cartonnette','Teint_Dans_La_Masse','environnement','papier','Carton_brun','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27666895 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','plastique','flou','autre_refus','cartonnette','Teint_Dans_La_Masse','environnement','papier','Carton_brun','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27666895 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','plastique','flou','autre_refus','cartonnette','Teint_Dans_La_Masse','environnement','papier','Carton_brun','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27684017,27684018,27684019,27684020,27684021,27684022,27684023,27684024,27684025,27684026,27684027,27684028?tags=Carton_gris,kraft,plastique,flou,autre_refus,cartonnette,Teint_Dans_La_Masse,environnement,papier,Carton_brun,metal,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388570840, 1388570823, 1388570819, 1388570816, 1388570813, 1388570811] Looping around the photos to save general results len do output : 1 /27666895. 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, '3911003') ('4877', '27666895', '1388570840', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570823', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570819', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570816', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570813', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570811', None, None, None, None, None, '3911003') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.03745079040527344 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.8369903564453125 time spend to save output : 0.0376429557800293 total time spend for step 7 : 6.874633312225342 step8:tfhub_classification2 Fri Oct 10 09:08:43 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:08:46.166092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-10 09:08:46.167027: 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:08:46.167098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:08:46.167140: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:08:46.168646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:08:46.168695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:08:46.170254: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:08:46.170876: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:08:46.174095: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:08:46.175646: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:08:46.176040: 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:08:46.202491: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-10 09:08:46.203939: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1e6c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:08:46.203980: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-10 09:08:46.207530: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3cf6d3d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-10 09:08:46.207561: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-10 09:08:46.208995: 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:08:46.209066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:08:46.209093: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:08:46.209172: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-10 09:08:46.209202: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-10 09:08:46.209239: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-10 09:08:46.209279: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-10 09:08:46.209320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-10 09:08:46.211519: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-10 09:08:46.211583: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-10 09:08:46.211643: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-10 09:08:46.211659: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-10 09:08:46.211672: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-10 09:08:46.213875: 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 : 10774 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.339026212692261 time used to load_weights : 0.1303730010986328 0it [00:00, ?it/s] 6it [00:00, 2691.24it/s]2025-10-10 09:08:55.567060: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-10 09:08:55.593449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 temp/1760080058_4070390_1388570840_1dc1f3830f3f72077b61b224246dcf93.jpg temp/1760080058_4070390_1388570823_68fd29d621d1a0b36117b31bc6088e7c.jpg temp/1760080058_4070390_1388570819_661e90751f5a2325398709a2a23fbedf.jpg temp/1760080058_4070390_1388570816_4f7354d80f8ab4e040b7d45b34af9e8a.jpg temp/1760080058_4070390_1388570813_8b5df069e4c8501fde932f62474e109d.jpg temp/1760080058_4070390_1388570811_bdaff07557047ae5528acb6cd5f58093.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 2.1637988090515137 (6,) (6, 5) (6, 2048) shape of features : (6, 2048) shape of new features : (1, 6, 2048) save descriptor for thcl : 3513 time to traite the descriptors : 0.045595645904541016 storage_type for insertDescriptorsMulti : 3 To insert : 1388570840 To insert : 1388570823 To insert : 1388570819 To insert : 1388570816 To insert : 1388570813 To insert : 1388570811 Catched exception ! Connect or reconnect ! time to insert the descriptors : 3.7420291900634766 tagging for thcl : 3379 To do loadFromThcl(), then load ParamDescType : thcl3379 thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcl {'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'} Update svm_hashtag_type_desc : 5680 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5680, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 1280, 1280, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2022, 6, 4, 1, 31, 10), datetime.datetime(2022, 6, 4, 1, 31, 10)) model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_param file didn't exist model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022 /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Confusion_Matrix.png size_local : 82527 size in s3 : 82527 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:31:09 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_aluminium.jpg size_local : 67602 size in s3 : 67602 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_aluminium.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_ela.jpg size_local : 67189 size in s3 : 67189 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:13 Precision_Recall_ela.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_film_pedb.jpg size_local : 71280 size in s3 : 71280 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:14 Precision_Recall_film_pedb.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_flux_dev.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_flux_dev.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_jrm.jpg size_local : 67657 size in s3 : 67657 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:31:06 Precision_Recall_jrm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcm.jpg size_local : 83042 size in s3 : 83042 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:40 Precision_Recall_pcm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcnc.jpg size_local : 69972 size in s3 : 69972 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:05 Precision_Recall_pcnc.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pehd_pp.jpg size_local : 67313 size in s3 : 67313 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_pehd_pp.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pet_clair.jpg size_local : 67320 size in s3 : 67320 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:04 Precision_Recall_pet_clair.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_refus.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Precision_Recall_refus.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_tapis_vide.jpg size_local : 80244 size in s3 : 80244 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_tapis_vide.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Result_Summary.txt size_local : 1018 size in s3 : 1018 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/checkpoint size_local : 99 size in s3 : 99 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:06 checkpoint already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00000-of-00002 size_local : 216640 size in s3 : 216640 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:43 model_checkpoint.ckpt.data-00000-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00001-of-00002 size_local : 32341196 size in s3 : 32341196 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:15 model_checkpoint.ckpt.data-00001-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.index size_local : 43546 size in s3 : 43546 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:13 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_weights.h5 size_local : 16531224 size in s3 : 16531224 create time local : 2022-06-06 13:01:29 create time in s3 : 2022-06-03 23:23:46 model_weights.h5 already exist and didn't need to update desc size : 1280 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 1280) 4049564 _________________________________________________________________ learn_classif_flux_maj_gener (None, 11) 14091 ================================================================= Total params: 4,063,655 Trainable params: 14,091 Non-trainable params: 4,049,564 _________________________________________________________________ Loading Weights... time used to create the model : 6.746966600418091 time used to load_weights : 0.10395264625549316 0it [00:00, ?it/s] 6it [00:00, 2750.36it/s]temp/1760080058_4070390_1388570840_1dc1f3830f3f72077b61b224246dcf93.jpg temp/1760080058_4070390_1388570823_68fd29d621d1a0b36117b31bc6088e7c.jpg temp/1760080058_4070390_1388570819_661e90751f5a2325398709a2a23fbedf.jpg temp/1760080058_4070390_1388570816_4f7354d80f8ab4e040b7d45b34af9e8a.jpg temp/1760080058_4070390_1388570813_8b5df069e4c8501fde932f62474e109d.jpg temp/1760080058_4070390_1388570811_bdaff07557047ae5528acb6cd5f58093.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.0315947532653809 (6,) (6, 11) (6, 1280) shape of features : (6, 1280) shape of new features : (1, 6, 1280) save descriptor for thcl : 3379 time to traite the descriptors : 0.04672360420227051 storage_type for insertDescriptorsMulti : 3 To insert : 1388570840 To insert : 1388570823 To insert : 1388570819 To insert : 1388570816 To insert : 1388570813 To insert : 1388570811 time to insert the descriptors : 2.9135050773620605 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.625924587249756 time used to load_weights : 0.14107751846313477 0it [00:00, ?it/s] 6it [00:00, 2512.31it/s]temp/1760080058_4070390_1388570840_1dc1f3830f3f72077b61b224246dcf93.jpg temp/1760080058_4070390_1388570823_68fd29d621d1a0b36117b31bc6088e7c.jpg temp/1760080058_4070390_1388570819_661e90751f5a2325398709a2a23fbedf.jpg temp/1760080058_4070390_1388570816_4f7354d80f8ab4e040b7d45b34af9e8a.jpg temp/1760080058_4070390_1388570813_8b5df069e4c8501fde932f62474e109d.jpg temp/1760080058_4070390_1388570811_bdaff07557047ae5528acb6cd5f58093.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.9082560539245605 (6,) (6, 12) (6, 1280) shape of features : (6, 1280) shape of new features : (1, 6, 1280) save descriptor for thcl : 3847 time to traite the descriptors : 0.05926799774169922 storage_type for insertDescriptorsMulti : 3 To insert : 1388570840 To insert : 1388570823 To insert : 1388570819 To insert : 1388570816 To insert : 1388570813 To insert : 1388570811 time to insert the descriptors : 1.375103235244751 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1388570840, 1388570823, 1388570819, 1388570816, 1388570813, 1388570811] Looping around the photos to save general results len do output : 6 /1388570840Didn't retrieve data . /1388570823Didn't retrieve data . /1388570819Didn't retrieve data . /1388570816Didn't retrieve data . /1388570813Didn't retrieve data . /1388570811Didn'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, '3911003') ('4877', '27666895', '1388570840', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570823', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570819', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570816', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570813', None, None, None, None, None, '3911003') ('4877', None, None, None, None, None, None, None, '3911003') ('4877', '27666895', '1388570811', None, None, None, None, None, '3911003') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.03726553916931152 save_final save missing photos in datou_result : time spend for datou_step_exec : 42.59719777107239 time spend to save output : 0.03765082359313965 total time spend for step 8 : 42.63484859466553 step9:argmax Fri Oct 10 09:09:26 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 : 1388570840 output[photo_id] : [[(1388570840, '05102018_Papier_non_papier_presque_vide', 0.5481395, 4557, 3513), (1388570840, 'jrm', 0.64424974, 4374, 3379), (1388570840, 'jrm', 0.6441117, 4932, 3847)], 'temp/1760080058_4070390_1388570840_1dc1f3830f3f72077b61b224246dcf93.jpg'] photo_id : 1388570823 output[photo_id] : [[(1388570823, '05102018_Papier_non_papier_tres_dense', 0.43564576, 4557, 3513), (1388570823, 'jrm', 0.9265853, 4374, 3379), (1388570823, 'jrm', 0.86735785, 4932, 3847)], 'temp/1760080058_4070390_1388570823_68fd29d621d1a0b36117b31bc6088e7c.jpg'] photo_id : 1388570819 output[photo_id] : [[(1388570819, '05102018_Papier_non_papier_presque_vide', 0.8043187, 4557, 3513), (1388570819, 'jrm', 0.8878307, 4374, 3379), (1388570819, 'jrm', 0.8240367, 4932, 3847)], 'temp/1760080058_4070390_1388570819_661e90751f5a2325398709a2a23fbedf.jpg'] photo_id : 1388570816 output[photo_id] : [[(1388570816, '05102018_Papier_non_papier_presque_vide', 0.7000797, 4557, 3513), (1388570816, 'jrm', 0.94006413, 4374, 3379), (1388570816, 'jrm', 0.9168699, 4932, 3847)], 'temp/1760080058_4070390_1388570816_4f7354d80f8ab4e040b7d45b34af9e8a.jpg'] photo_id : 1388570813 output[photo_id] : [[(1388570813, '05102018_Papier_non_papier_presque_vide', 0.6024705, 4557, 3513), (1388570813, 'jrm', 0.908882, 4374, 3379), (1388570813, 'jrm', 0.81525606, 4932, 3847)], 'temp/1760080058_4070390_1388570813_8b5df069e4c8501fde932f62474e109d.jpg'] photo_id : 1388570811 output[photo_id] : [[(1388570811, '05102018_Papier_non_papier_presque_vide', 0.6205687, 4557, 3513), (1388570811, 'jrm', 0.9066052, 4374, 3379), (1388570811, 'jrm', 0.8518423, 4932, 3847)], 'temp/1760080058_4070390_1388570811_bdaff07557047ae5528acb6cd5f58093.jpg'] begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.03620290756225586 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 18 time used for this insertion : 0.03849387168884277 len list_finale : 18, len picture : 6 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03613424301147461 saving photo_ids in datou_result begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.0388340950012207 save missing photos in datou_result : time spend for datou_step_exec : 0.017369985580444336 time spend to save output : 0.20157289505004883 total time spend for step 9 : 0.21894288063049316 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 63.83user 21.02system 1:53.15elapsed 74%CPU (0avgtext+0avgdata 3028772maxresident)k 72inputs+22064outputs (10major+2753056minor)pagefaults 0swaps