python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 3318 ' -s datou_3318 -M 0 -S 0 -U 95,95,120 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/caffe_cuda8_python3/python', '/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', '/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 : 849228 load datou : 3318 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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 : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig 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 : 3318, datou_cur_ids : ['3959933'] with mtr_portfolio_ids : ['27900927'] and first list_photo_ids : [] new path : /proc/849228/ 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 2.821115732192993 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 : 10 step1:mask_detect Sun Oct 19 13:13:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-19 13:13:08.080173: 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-19 13:13:08.106410: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-19 13:13:08.107840: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efce0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-19 13:13:08.107873: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-19 13:13:08.110127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-19 13:13:08.413036: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42d3d850 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-19 13:13:08.413086: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-19 13:13:08.414978: 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-19 13:13:08.415367: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-19 13:13:08.418206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-19 13:13:08.420589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-19 13:13:08.420967: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-19 13:13:08.423576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-19 13:13:08.424892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-19 13:13:08.430087: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-19 13:13:08.454191: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-19 13:13:08.454308: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-19 13:13:08.456217: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-19 13:13:08.456242: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-19 13:13:08.456256: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-19 13:13:08.460215: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10183 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-19 13:13:08.849380: 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-19 13:13:08.849470: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-19 13:13:08.849498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-19 13:13:08.849524: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-19 13:13:08.849548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-19 13:13:08.849573: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-19 13:13:08.849600: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-19 13:13:08.849625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-19 13:13:08.851716: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-19 13:13:08.852786: 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-19 13:13:08.852819: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-19 13:13:08.852838: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-19 13:13:08.852854: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-19 13:13:08.852870: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-19 13:13:08.852886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-19 13:13:08.852902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-19 13:13:08.852918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-19 13:13:08.854156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-19 13:13:08.854181: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-19 13:13:08.854188: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-19 13:13:08.854196: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-19 13:13:08.855525: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10183 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 : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', '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_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 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_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-19 13:13:19.205654: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-19 13:13:19.387104: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 11 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 34 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 34 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 32 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 18 Detection mask done ! Trying to reset tf kernel 851215 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 417 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.007710933685302734 nb_pixel_total : 289474 time to create 1 rle with new method : 0.02075362205505371 length of segment : 814 time for calcul the mask position with numpy : 0.0002644062042236328 nb_pixel_total : 10413 time to create 1 rle with old method : 0.010961771011352539 length of segment : 132 time for calcul the mask position with numpy : 0.0019381046295166016 nb_pixel_total : 98166 time to create 1 rle with old method : 0.10230660438537598 length of segment : 331 time for calcul the mask position with numpy : 0.0008835792541503906 nb_pixel_total : 48908 time to create 1 rle with old method : 0.05176544189453125 length of segment : 244 time for calcul the mask position with numpy : 0.002152681350708008 nb_pixel_total : 113779 time to create 1 rle with old method : 0.1195068359375 length of segment : 402 time for calcul the mask position with numpy : 0.0054318904876708984 nb_pixel_total : 249224 time to create 1 rle with new method : 0.0209658145904541 length of segment : 617 time for calcul the mask position with numpy : 0.003000497817993164 nb_pixel_total : 163768 time to create 1 rle with new method : 0.009700536727905273 length of segment : 322 time for calcul the mask position with numpy : 0.0018422603607177734 nb_pixel_total : 45970 time to create 1 rle with old method : 0.04930424690246582 length of segment : 621 time for calcul the mask position with numpy : 0.0007476806640625 nb_pixel_total : 40252 time to create 1 rle with old method : 0.04204154014587402 length of segment : 334 time for calcul the mask position with numpy : 0.006474494934082031 nb_pixel_total : 253046 time to create 1 rle with new method : 0.02099013328552246 length of segment : 504 time for calcul the mask position with numpy : 0.00025153160095214844 nb_pixel_total : 9486 time to create 1 rle with old method : 0.011678218841552734 length of segment : 114 time for calcul the mask position with numpy : 0.0005056858062744141 nb_pixel_total : 24002 time to create 1 rle with old method : 0.025774002075195312 length of segment : 180 time for calcul the mask position with numpy : 0.0002605915069580078 nb_pixel_total : 11538 time to create 1 rle with old method : 0.012535572052001953 length of segment : 114 time for calcul the mask position with numpy : 0.001363515853881836 nb_pixel_total : 77724 time to create 1 rle with old method : 0.08291101455688477 length of segment : 566 time for calcul the mask position with numpy : 0.0012743473052978516 nb_pixel_total : 34313 time to create 1 rle with old method : 0.045274972915649414 length of segment : 156 time for calcul the mask position with numpy : 0.0032656192779541016 nb_pixel_total : 117111 time to create 1 rle with old method : 0.1390678882598877 length of segment : 409 time for calcul the mask position with numpy : 0.001729726791381836 nb_pixel_total : 80795 time to create 1 rle with old method : 0.09179067611694336 length of segment : 202 time for calcul the mask position with numpy : 0.0026848316192626953 nb_pixel_total : 121972 time to create 1 rle with old method : 0.13462376594543457 length of segment : 485 time for calcul the mask position with numpy : 0.0014352798461914062 nb_pixel_total : 57767 time to create 1 rle with old method : 0.08105349540710449 length of segment : 379 time for calcul the mask position with numpy : 0.0015134811401367188 nb_pixel_total : 51648 time to create 1 rle with old method : 0.056199073791503906 length of segment : 334 time for calcul the mask position with numpy : 0.0007801055908203125 nb_pixel_total : 35566 time to create 1 rle with old method : 0.04977107048034668 length of segment : 195 time for calcul the mask position with numpy : 0.0032362937927246094 nb_pixel_total : 162573 time to create 1 rle with new method : 0.01097416877746582 length of segment : 501 time for calcul the mask position with numpy : 0.0015480518341064453 nb_pixel_total : 84901 time to create 1 rle with old method : 0.09273338317871094 length of segment : 323 time for calcul the mask position with numpy : 0.00511479377746582 nb_pixel_total : 206384 time to create 1 rle with new method : 0.020680904388427734 length of segment : 702 time for calcul the mask position with numpy : 0.0002474784851074219 nb_pixel_total : 10705 time to create 1 rle with old method : 0.011869430541992188 length of segment : 108 time for calcul the mask position with numpy : 0.001088857650756836 nb_pixel_total : 36508 time to create 1 rle with old method : 0.04089546203613281 length of segment : 382 time for calcul the mask position with numpy : 0.0006997585296630859 nb_pixel_total : 34148 time to create 1 rle with old method : 0.03698539733886719 length of segment : 188 time for calcul the mask position with numpy : 0.0011000633239746094 nb_pixel_total : 41463 time to create 1 rle with old method : 0.04695916175842285 length of segment : 243 time for calcul the mask position with numpy : 0.0012030601501464844 nb_pixel_total : 67318 time to create 1 rle with old method : 0.07177138328552246 length of segment : 224 time for calcul the mask position with numpy : 0.0019910335540771484 nb_pixel_total : 76522 time to create 1 rle with old method : 0.08106327056884766 length of segment : 406 time for calcul the mask position with numpy : 0.0008156299591064453 nb_pixel_total : 46254 time to create 1 rle with old method : 0.05229926109313965 length of segment : 257 time for calcul the mask position with numpy : 0.00124359130859375 nb_pixel_total : 64003 time to create 1 rle with old method : 0.06708645820617676 length of segment : 281 time for calcul the mask position with numpy : 0.0007784366607666016 nb_pixel_total : 39531 time to create 1 rle with old method : 0.042063236236572266 length of segment : 259 time for calcul the mask position with numpy : 0.0009417533874511719 nb_pixel_total : 51711 time to create 1 rle with old method : 0.05693340301513672 length of segment : 209 time for calcul the mask position with numpy : 0.0015223026275634766 nb_pixel_total : 73024 time to create 1 rle with old method : 0.0779416561126709 length of segment : 310 time for calcul the mask position with numpy : 0.0007789134979248047 nb_pixel_total : 51575 time to create 1 rle with old method : 0.05473136901855469 length of segment : 285 time for calcul the mask position with numpy : 0.0018401145935058594 nb_pixel_total : 99887 time to create 1 rle with old method : 0.10455155372619629 length of segment : 326 time for calcul the mask position with numpy : 0.0016756057739257812 nb_pixel_total : 80327 time to create 1 rle with old method : 0.08399605751037598 length of segment : 350 time for calcul the mask position with numpy : 0.0008831024169921875 nb_pixel_total : 35386 time to create 1 rle with old method : 0.038106679916381836 length of segment : 184 time for calcul the mask position with numpy : 0.001621246337890625 nb_pixel_total : 88003 time to create 1 rle with old method : 0.09252500534057617 length of segment : 365 time for calcul the mask position with numpy : 0.0006482601165771484 nb_pixel_total : 25218 time to create 1 rle with old method : 0.02655339241027832 length of segment : 225 time for calcul the mask position with numpy : 0.0011701583862304688 nb_pixel_total : 62329 time to create 1 rle with old method : 0.06624174118041992 length of segment : 289 time for calcul the mask position with numpy : 0.0005102157592773438 nb_pixel_total : 19466 time to create 1 rle with old method : 0.02073073387145996 length of segment : 188 time for calcul the mask position with numpy : 0.0007066726684570312 nb_pixel_total : 34523 time to create 1 rle with old method : 0.03663182258605957 length of segment : 164 time for calcul the mask position with numpy : 0.00404047966003418 nb_pixel_total : 209308 time to create 1 rle with new method : 0.014528989791870117 length of segment : 690 time for calcul the mask position with numpy : 0.00028514862060546875 nb_pixel_total : 12082 time to create 1 rle with old method : 0.01282501220703125 length of segment : 123 time for calcul the mask position with numpy : 0.001947641372680664 nb_pixel_total : 95303 time to create 1 rle with old method : 0.10250687599182129 length of segment : 362 time for calcul the mask position with numpy : 0.002715587615966797 nb_pixel_total : 149501 time to create 1 rle with old method : 0.1570894718170166 length of segment : 518 time for calcul the mask position with numpy : 0.001636505126953125 nb_pixel_total : 81855 time to create 1 rle with old method : 0.08496570587158203 length of segment : 556 time for calcul the mask position with numpy : 0.0005023479461669922 nb_pixel_total : 19019 time to create 1 rle with old method : 0.020294189453125 length of segment : 159 time for calcul the mask position with numpy : 0.00213623046875 nb_pixel_total : 108608 time to create 1 rle with old method : 0.11957335472106934 length of segment : 367 time for calcul the mask position with numpy : 0.0004968643188476562 nb_pixel_total : 23935 time to create 1 rle with old method : 0.02564549446105957 length of segment : 227 time for calcul the mask position with numpy : 0.00022220611572265625 nb_pixel_total : 9062 time to create 1 rle with old method : 0.009838104248046875 length of segment : 142 time for calcul the mask position with numpy : 0.00029730796813964844 nb_pixel_total : 10936 time to create 1 rle with old method : 0.01224827766418457 length of segment : 190 time for calcul the mask position with numpy : 0.002717256546020508 nb_pixel_total : 107983 time to create 1 rle with old method : 0.11606955528259277 length of segment : 688 time for calcul the mask position with numpy : 0.0013670921325683594 nb_pixel_total : 71046 time to create 1 rle with old method : 0.07586479187011719 length of segment : 354 time for calcul the mask position with numpy : 0.0005452632904052734 nb_pixel_total : 26347 time to create 1 rle with old method : 0.028118610382080078 length of segment : 193 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 10160 time to create 1 rle with old method : 0.010897159576416016 length of segment : 95 time for calcul the mask position with numpy : 0.0001270771026611328 nb_pixel_total : 6538 time to create 1 rle with old method : 0.00718379020690918 length of segment : 79 time for calcul the mask position with numpy : 0.0005698204040527344 nb_pixel_total : 33242 time to create 1 rle with old method : 0.035459041595458984 length of segment : 254 time for calcul the mask position with numpy : 0.00036716461181640625 nb_pixel_total : 22759 time to create 1 rle with old method : 0.02387523651123047 length of segment : 267 time for calcul the mask position with numpy : 0.002822399139404297 nb_pixel_total : 205583 time to create 1 rle with new method : 0.010533571243286133 length of segment : 585 time for calcul the mask position with numpy : 0.0007236003875732422 nb_pixel_total : 33815 time to create 1 rle with old method : 0.03609418869018555 length of segment : 298 time for calcul the mask position with numpy : 0.0008132457733154297 nb_pixel_total : 42825 time to create 1 rle with old method : 0.04540872573852539 length of segment : 245 time for calcul the mask position with numpy : 0.0015261173248291016 nb_pixel_total : 87380 time to create 1 rle with old method : 0.08976459503173828 length of segment : 401 time for calcul the mask position with numpy : 0.0008373260498046875 nb_pixel_total : 46304 time to create 1 rle with old method : 0.04901123046875 length of segment : 320 time for calcul the mask position with numpy : 0.00035572052001953125 nb_pixel_total : 18020 time to create 1 rle with old method : 0.019585847854614258 length of segment : 251 time for calcul the mask position with numpy : 0.0004124641418457031 nb_pixel_total : 23684 time to create 1 rle with old method : 0.02663564682006836 length of segment : 162 time for calcul the mask position with numpy : 0.0014767646789550781 nb_pixel_total : 37569 time to create 1 rle with old method : 0.040908098220825195 length of segment : 624 time for calcul the mask position with numpy : 0.0004961490631103516 nb_pixel_total : 19548 time to create 1 rle with old method : 0.021665334701538086 length of segment : 216 time for calcul the mask position with numpy : 0.0014913082122802734 nb_pixel_total : 76629 time to create 1 rle with old method : 0.08170008659362793 length of segment : 363 time for calcul the mask position with numpy : 0.008273839950561523 nb_pixel_total : 367182 time to create 1 rle with new method : 0.024482011795043945 length of segment : 1067 time for calcul the mask position with numpy : 0.0005729198455810547 nb_pixel_total : 22292 time to create 1 rle with old method : 0.023831844329833984 length of segment : 180 time for calcul the mask position with numpy : 0.002099752426147461 nb_pixel_total : 151745 time to create 1 rle with new method : 0.006333589553833008 length of segment : 420 time for calcul the mask position with numpy : 0.0007996559143066406 nb_pixel_total : 52099 time to create 1 rle with old method : 0.05576205253601074 length of segment : 218 time for calcul the mask position with numpy : 0.0035505294799804688 nb_pixel_total : 215083 time to create 1 rle with new method : 0.015005111694335938 length of segment : 584 time for calcul the mask position with numpy : 0.002002239227294922 nb_pixel_total : 130941 time to create 1 rle with old method : 0.14752936363220215 length of segment : 527 time for calcul the mask position with numpy : 0.0014889240264892578 nb_pixel_total : 90079 time to create 1 rle with old method : 0.09701156616210938 length of segment : 453 time for calcul the mask position with numpy : 0.0015268325805664062 nb_pixel_total : 95518 time to create 1 rle with old method : 0.10310792922973633 length of segment : 522 time for calcul the mask position with numpy : 0.0003790855407714844 nb_pixel_total : 8719 time to create 1 rle with old method : 0.009409904479980469 length of segment : 161 time for calcul the mask position with numpy : 0.0009622573852539062 nb_pixel_total : 25081 time to create 1 rle with old method : 0.027249813079833984 length of segment : 240 time for calcul the mask position with numpy : 0.001489877700805664 nb_pixel_total : 55526 time to create 1 rle with old method : 0.06067609786987305 length of segment : 358 time for calcul the mask position with numpy : 0.0003685951232910156 nb_pixel_total : 7757 time to create 1 rle with old method : 0.008879661560058594 length of segment : 95 time for calcul the mask position with numpy : 0.0002532005310058594 nb_pixel_total : 7625 time to create 1 rle with old method : 0.008715391159057617 length of segment : 103 time for calcul the mask position with numpy : 0.00063323974609375 nb_pixel_total : 19206 time to create 1 rle with old method : 0.02206563949584961 length of segment : 172 time for calcul the mask position with numpy : 0.005939960479736328 nb_pixel_total : 197244 time to create 1 rle with new method : 0.012923717498779297 length of segment : 585 time for calcul the mask position with numpy : 0.004137754440307617 nb_pixel_total : 171162 time to create 1 rle with new method : 0.008628606796264648 length of segment : 409 time for calcul the mask position with numpy : 0.0037775039672851562 nb_pixel_total : 111438 time to create 1 rle with old method : 0.11786890029907227 length of segment : 586 time for calcul the mask position with numpy : 0.0007984638214111328 nb_pixel_total : 29010 time to create 1 rle with old method : 0.03127861022949219 length of segment : 167 time for calcul the mask position with numpy : 0.0009608268737792969 nb_pixel_total : 21127 time to create 1 rle with old method : 0.022932052612304688 length of segment : 186 time for calcul the mask position with numpy : 0.0033750534057617188 nb_pixel_total : 107104 time to create 1 rle with old method : 0.12537598609924316 length of segment : 367 time for calcul the mask position with numpy : 0.003076314926147461 nb_pixel_total : 96167 time to create 1 rle with old method : 0.10811567306518555 length of segment : 285 time for calcul the mask position with numpy : 0.0005478858947753906 nb_pixel_total : 15218 time to create 1 rle with old method : 0.016933917999267578 length of segment : 101 time for calcul the mask position with numpy : 0.001117706298828125 nb_pixel_total : 27080 time to create 1 rle with old method : 0.030330657958984375 length of segment : 281 time for calcul the mask position with numpy : 0.0007994174957275391 nb_pixel_total : 20077 time to create 1 rle with old method : 0.02279210090637207 length of segment : 227 time for calcul the mask position with numpy : 0.002594470977783203 nb_pixel_total : 79800 time to create 1 rle with old method : 0.08956360816955566 length of segment : 348 time for calcul the mask position with numpy : 0.002068758010864258 nb_pixel_total : 90039 time to create 1 rle with old method : 0.1031341552734375 length of segment : 302 time for calcul the mask position with numpy : 0.0015609264373779297 nb_pixel_total : 53070 time to create 1 rle with old method : 0.060461997985839844 length of segment : 233 time for calcul the mask position with numpy : 0.0008454322814941406 nb_pixel_total : 31976 time to create 1 rle with old method : 0.03680706024169922 length of segment : 213 time for calcul the mask position with numpy : 0.00296783447265625 nb_pixel_total : 84540 time to create 1 rle with old method : 0.12255215644836426 length of segment : 247 time for calcul the mask position with numpy : 0.002830028533935547 nb_pixel_total : 98199 time to create 1 rle with old method : 0.12037301063537598 length of segment : 620 time for calcul the mask position with numpy : 0.0009624958038330078 nb_pixel_total : 29019 time to create 1 rle with old method : 0.03396248817443848 length of segment : 176 time for calcul the mask position with numpy : 0.0026183128356933594 nb_pixel_total : 48097 time to create 1 rle with old method : 0.07758045196533203 length of segment : 536 time for calcul the mask position with numpy : 0.0011467933654785156 nb_pixel_total : 29890 time to create 1 rle with old method : 0.0342714786529541 length of segment : 193 time for calcul the mask position with numpy : 0.0003979206085205078 nb_pixel_total : 7677 time to create 1 rle with old method : 0.014209508895874023 length of segment : 107 time for calcul the mask position with numpy : 0.0005352497100830078 nb_pixel_total : 17469 time to create 1 rle with old method : 0.020709753036499023 length of segment : 153 time for calcul the mask position with numpy : 0.0018808841705322266 nb_pixel_total : 16086 time to create 1 rle with old method : 0.01886439323425293 length of segment : 289 time for calcul the mask position with numpy : 0.00414729118347168 nb_pixel_total : 149075 time to create 1 rle with old method : 0.1968991756439209 length of segment : 417 time for calcul the mask position with numpy : 0.003884553909301758 nb_pixel_total : 126197 time to create 1 rle with old method : 0.1435849666595459 length of segment : 602 time for calcul the mask position with numpy : 0.003974199295043945 nb_pixel_total : 107307 time to create 1 rle with old method : 0.12795400619506836 length of segment : 579 time for calcul the mask position with numpy : 0.0033631324768066406 nb_pixel_total : 119893 time to create 1 rle with old method : 0.1339857578277588 length of segment : 461 time for calcul the mask position with numpy : 0.0008709430694580078 nb_pixel_total : 20657 time to create 1 rle with old method : 0.023237228393554688 length of segment : 262 time for calcul the mask position with numpy : 0.002498626708984375 nb_pixel_total : 67473 time to create 1 rle with old method : 0.07658028602600098 length of segment : 361 time for calcul the mask position with numpy : 0.001483917236328125 nb_pixel_total : 48076 time to create 1 rle with old method : 0.055001258850097656 length of segment : 377 time spent for convertir_results : 12.454299449920654 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 128 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 1005 save missing photos in datou_result : time spend for datou_step_exec : 66.59002566337585 time spend to save output : 118.43700385093689 total time spend for step 1 : 185.02702951431274 step2:crop_condition Sun Oct 19 13:16:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 11 ! batch 1 Loaded 128 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 61 About to insert : list_path_to_insert length 61 new photo from crops ! About to upload 61 photos upload in portfolio : 3736932 init cache_photo without model_param we have 61 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760872590_849228 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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811127_0.png', 0, 252, 244, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811143_0.png', 0, 285, 318, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4003077645_0.png', 0, 284, 318, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811134_0.png', 0, 107, 114, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811125_0.png', 0, 98, 131, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811126_0.png', 0, 444, 331, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_bib_crop_4003077644_0.jpg', 0, 330, 144, 0, 1760872608,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811138_0.png', 0, 323, 132, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811135_0.png', 0, 161, 180, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811131_0.png', 0, 402, 420, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811128_0.png', 0, 431, 395, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811124_0.png', 0, 616, 710, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811132_0.png', 0, 184, 326, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811158_0.png', 0, 288, 228, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811144_0.png', 0, 494, 495, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811147_0.png', 0, 119, 107, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811151_0.png', 0, 466, 214, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811148_0.png', 0, 257, 360, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4003077646_0.png', 0, 258, 359, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811145_0.png', 0, 354, 319, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811150_0.png', 0, 247, 243, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002811165_0.png', 0, 207, 198, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002938519_0.png', 0, 201, 204, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002811163_0.png', 0, 223, 224, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002938518_0.png', 0, 228, 223, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002811160_0.png', 0, 402, 348, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811172_0.png', 0, 194, 158, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811178_0.png', 0, 312, 354, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811169_0.png', 0, 480, 301, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811175_0.png', 0, 83, 142, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811176_0.png', 0, 150, 143, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811179_0.png', 0, 224, 205, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811173_0.png', 0, 418, 359, 0, 1760872608,'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(1760872608), 0.0, 0.0, 14, '', 0, 0, '1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811168_0.png', 0, 132, 123, 0, 1760872608,'0',0) Catched exception ! Connect or reconnect ! File "/home/admin/workarea/git/Velours/python/mtr/utils/upload_batch.py", line 65, in upload_batch map_result_insert, list_errors = storage_photo.upload_photos_by_python(context, list_path_to_insert, File "/home/admin/workarea/git/Velours/python/mtr/database_queries/CachePhotoData_queries.py", line 333, in upload_photos_by_python map_path_photo_id, list_photo_ids = self.save_photo_infos_in_sql(context , map_local_s3_path, File "/home/admin/workarea/git/Velours/python/mtr/database_queries/CachePhotoData_queries.py", line 261, in save_photo_infos_in_sql photo_id = context.piq.insert_photo_opt(created_at=time_stamp, latitude=latitude, longitude=longitude, File "/home/admin/workarea/git/Velours/python/mtr/database_queries/photo_insert_queries.py", line 572, in insert_photo_opt photo_id = self.gq.insert_id_retrieve(insert_new_photo) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 170, in insert_id_retrieve self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 84, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811127_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811143_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4003077645_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811134_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811125_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811126_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_bib_crop_4003077644_0.jpg CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811138_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811135_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811131_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811128_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811124_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749543_19e1a5d175af33ac2df0f0ca127b2550_rle_crop_4002811132_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811158_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811144_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811147_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811151_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811148_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4003077646_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811145_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749540_0770a86e1ce9a85be86f2cbba65292de_rle_crop_4002811150_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002811165_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002938519_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002811163_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002938518_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749537_b26a45344f4c539a9cccfa061baf450b_rle_crop_4002811160_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811172_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811178_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811169_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811175_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811176_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811179_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811173_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811168_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811174_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749533_7a2732651657f9da53152ee5556909d4_rle_crop_4002811171_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749518_1e74e9d41369af4a22faa56810a25a59_rle_crop_4002811181_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749518_1e74e9d41369af4a22faa56810a25a59_rle_crop_4002811182_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749512_d7e47ed8c98e503875786bb79a7ffe09_rle_crop_4002811195_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749512_d7e47ed8c98e503875786bb79a7ffe09_rle_crop_4002811186_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749512_d7e47ed8c98e503875786bb79a7ffe09_rle_crop_4002811190_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749512_d7e47ed8c98e503875786bb79a7ffe09_rle_crop_4002811187_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749508_ad272213c946f8a03e161ecf19813744_rle_crop_4002811197_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749508_ad272213c946f8a03e161ecf19813744_rle_crop_4002811198_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749508_ad272213c946f8a03e161ecf19813744_rle_crop_4002811202_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749505_dce38b993b457ace89ef02b9b1267f7e_rle_crop_4002811204_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749505_dce38b993b457ace89ef02b9b1267f7e_rle_crop_4002811205_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749505_dce38b993b457ace89ef02b9b1267f7e_rle_crop_4002811207_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749502_b9f4507ed47ea9efe35da28e8692f1d6_rle_crop_4002811214_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749502_b9f4507ed47ea9efe35da28e8692f1d6_rle_crop_4002938521_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749502_b9f4507ed47ea9efe35da28e8692f1d6_rle_crop_4002811209_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749502_b9f4507ed47ea9efe35da28e8692f1d6_rle_crop_4002938523_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749502_b9f4507ed47ea9efe35da28e8692f1d6_rle_crop_4002938524_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749502_b9f4507ed47ea9efe35da28e8692f1d6_rle_crop_4002811211_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749498_65c265bb9f8c0ebdf9d3d003d6877e42_rle_crop_4002811217_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749498_65c265bb9f8c0ebdf9d3d003d6877e42_rle_crop_4002811218_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749498_65c265bb9f8c0ebdf9d3d003d6877e42_rle_crop_4002811223_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749479_3750757ca7f921a8c3bef81078b7f24f_rle_crop_4002811231_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749479_3750757ca7f921a8c3bef81078b7f24f_rle_crop_4002811232_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749479_3750757ca7f921a8c3bef81078b7f24f_rle_crop_4002811230_0.png CONSIDER SERIOUSLY ! Globalization failed since we didn't found path {} in map_result_inserttemp/1760872382_849228_1389749479_3750757ca7f921a8c3bef81078b7f24f_rle_crop_4002811228_0.png CONSIDER SERIOUSLY ! we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 Catched exception ! Connect or reconnect ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") WARNING : we don't manage photo1389749543because one value is None WARNING : we don't manage photo1389749540because one value is None WARNING : we don't manage photo1389749537because one value is None WARNING : we don't manage photo1389749533because one value is None WARNING : we don't manage photo1389749518because one value is None WARNING : we don't manage photo1389749512because one value is None WARNING : we don't manage photo1389749508because one value is None WARNING : we don't manage photo1389749505because one value is None WARNING : we don't manage photo1389749502because one value is None WARNING : we don't manage photo1389749498because one value is None WARNING : we don't manage photo1389749479because one value is None map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 Catched exception ! Connect or reconnect ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") WARNING : we don't manage photo1389749543because one value is None WARNING : we don't manage photo1389749540because one value is None WARNING : we don't manage photo1389749537because one value is None WARNING : we don't manage photo1389749533because one value is None WARNING : we don't manage photo1389749518because one value is None WARNING : we don't manage photo1389749512because one value is None WARNING : we don't manage photo1389749508because one value is None WARNING : we don't manage photo1389749505because one value is None WARNING : we don't manage photo1389749502because one value is None WARNING : we don't manage photo1389749498because one value is None WARNING : we don't manage photo1389749479because one value is None map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 Catched exception ! Connect or reconnect ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") WARNING : we don't manage photo1389749543because one value is None WARNING : we don't manage photo1389749540because one value is None WARNING : we don't manage photo1389749537because one value is None WARNING : we don't manage photo1389749533because one value is None WARNING : we don't manage photo1389749518because one value is None WARNING : we don't manage photo1389749512because one value is None WARNING : we don't manage photo1389749508because one value is None WARNING : we don't manage photo1389749505because one value is None WARNING : we don't manage photo1389749502because one value is None WARNING : we don't manage photo1389749498because one value is None WARNING : we don't manage photo1389749479because one value is None map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 Catched exception ! Connect or reconnect ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (110)") WARNING : we don't manage photo1389749543because one value is None WARNING : we don't manage photo1389749540because one value is None WARNING : we don't manage photo1389749537because one value is None WARNING : we don't manage photo1389749533because one value is None WARNING : we don't manage photo1389749518because one value is None WARNING : we don't manage photo1389749512because one value is None WARNING : we don't manage photo1389749508because one value is None WARNING : we don't manage photo1389749505because one value is None WARNING : we don't manage photo1389749502because one value is None WARNING : we don't manage photo1389749498because one value is None WARNING : we don't manage photo1389749479because one value is None map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 Catched exception ! Connect or reconnect ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 Catched exception ! Connect or reconnect ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") WARNING : we don't manage photo1389749543because one value is None WARNING : we don't manage photo1389749540because one value is None WARNING : we don't manage photo1389749537because one value is None WARNING : we don't manage photo1389749533because one value is None WARNING : we don't manage photo1389749518because one value is None WARNING : we don't manage photo1389749512because one value is None WARNING : we don't manage photo1389749508because one value is None WARNING : we don't manage photo1389749505because one value is None WARNING : we don't manage photo1389749502because one value is None WARNING : we don't manage photo1389749498because one value is None WARNING : we don't manage photo1389749479because one value is None map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1389749543, 1389749540, 1389749537, 1389749533, 1389749518, 1389749512, 1389749508, 1389749505, 1389749502, 1389749498, 1389749479] Looping around the photos to save general results len do output : 0 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 ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749543', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749540', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749537', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749533', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749518', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749512', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749508', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749505', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749502', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749498', None, None, None, None, None, '3959933') ('3318', None, None, None, None, None, None, None, '3959933') ('3318', '27900927', '1389749479', None, None, None, None, None, '3959933') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 Catched exception ! Connect or reconnect ! exception in save_final Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") query : insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_tup_unique : [('3318', '27900927', '1389749543', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749540', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749537', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749533', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749518', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749512', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749508', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749505', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749502', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749498', None, None, None, None, None, '3959933'), ('3318', '27900927', '1389749479', None, None, None, None, None, '3959933')] time used for this insertion : 2.861790418624878 save_final save missing photos in datou_result : time spend for datou_step_exec : 10601.52251458168 time spend to save output : 2.862760066986084 total time spend for step 2 : 10604.385274648666 step3:rle_unique_nms_with_priority Sun Oct 19 16:12:54 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 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Catched exception ! Connect or reconnect ! ERROR in select last photo from portfolio Begin step rle-unique-nms Catched exception ! Connect or reconnect ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") refus batch 1 Catched exception ! Connect or reconnect ! ERROR in datou_step_exec, will save and exit ! Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2339, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2625, in datou_step_exec return post_process.datou_step_rle_unique_nms_with_priority(param, json_param, args, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_post_processing.py", line 2627, in datou_step_rle_unique_nms_with_priority dummy, map_chi_objs = context.load_crop_hashtag_ids(list_photo_ids, [pht_input], verbose, min_score, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 1609, in load_crop_hashtag_ids return self.DQ.load_crop_hashtag_ids(list_photo_ids, crop_hashtag_type_list, verbose, min_score, File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 646, in load_crop_hashtag_ids res = self.gq.select(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 115, in select self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 84, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) [1389749543, 1389749540, 1389749537, 1389749533, 1389749518, 1389749512, 1389749508, 1389749505, 1389749502, 1389749498, 1389749479] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 Catched exception ! Connect or reconnect ! exception in save_final Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") query : insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_tup_unique : [('3318', '27900927', '1389749543', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749540', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749537', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749533', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749518', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749512', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749508', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749505', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749502', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749498', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933'), ('3318', '27900927', '1389749479', '[>, , , , \'Unable to connect to sql_cath.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql_cath.fotonower.com:3306\\\' (113)")\']', '-1', '-1.0', '501120777', '1.0', '3959933')] time used for this insertion : 3.122929573059082 save_final ERROR in last step rle_unique_nms_with_priority, Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") time spend for datou_step_exec : 9.360879182815552 time spend to save output : 3.125906229019165 total time spend for step 2 : 12.486785411834717 Catched exception ! (2013, 'Lost connection to MySQL server during query') Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 106, in select cursor.execute(query, args) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 179, in execute res = self._query(mogrified_query) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 330, in _query db.query(q) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 280, in query _mysql.connection.query(self, query) MySQLdb.OperationalError: (2013, 'Lost connection to MySQL server during query') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 81, in connect self.db = MySQLdb.connect(host=self.host, db=self.dbname, user=self.user, passwd=self.password) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/__init__.py", line 121, in Connect return Connection(*args, **kwargs) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 200, in __init__ super().__init__(*args, **kwargs2) MySQLdb.OperationalError: (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2339, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2625, in datou_step_exec return post_process.datou_step_rle_unique_nms_with_priority(param, json_param, args, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_post_processing.py", line 2627, in datou_step_rle_unique_nms_with_priority dummy, map_chi_objs = context.load_crop_hashtag_ids(list_photo_ids, [pht_input], verbose, min_score, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 1609, in load_crop_hashtag_ids return self.DQ.load_crop_hashtag_ids(list_photo_ids, crop_hashtag_type_list, verbose, min_score, File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 646, in load_crop_hashtag_ids res = self.gq.select(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 115, in select self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 84, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) Exception: Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 138, in insert number = cursor.execute(query, args) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 179, in execute res = self._query(mogrified_query) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 330, in _query db.query(q) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 280, in query _mysql.connection.query(self, query) MySQLdb.OperationalError: (2013, 'Lost connection to MySQL server during query') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 81, in connect self.db = MySQLdb.connect(host=self.host, db=self.dbname, user=self.user, passwd=self.password) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/__init__.py", line 121, in Connect return Connection(*args, **kwargs) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 200, in __init__ super().__init__(*args, **kwargs2) MySQLdb.OperationalError: (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "prod/datou.py", line 270, in ret = batchDatouCurrent(context, datou_id, mtr_portfolio_ids, list_photo_ids, limit, offset, rand, save, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 628, in batchDatouCurrent ret = batchDatouExec(context, datou_id, mtr_portfolio_ids, list_photo_ids, list_input_json, limit, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 826, in batchDatouExec output, datou_failed_to_relaunch = datou_exec(datou, input, cache, context, map_info, save, list_pids, verbose, mtr_user_id, is_last_batch, end_time) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2378, in datou_exec context.update_current_state(map_info["datou_cur_ids"], 0, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 1885, in update_current_state self.DQ.update_current_state(map_info_datou_cur_ids, status, verbose) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 184, in update_current_state self.gq.insert(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 149, in insert self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 84, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) Exception: Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") Command exited with non-zero status 1 54.05user 40.99system 3:02:31elapsed 0%CPU (0avgtext+0avgdata 5154168maxresident)k 216872inputs+71120outputs (14101major+6866215minor)pagefaults 0swaps