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 : 2324021 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 : ['3447822'] with mtr_portfolio_ids : ['25678972'] and first list_photo_ids : [] new path : /proc/2324021/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.3712656497955322 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 Tue Aug 5 11:20:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-05 11:20:33.226653: 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-08-05 11:20:33.255544: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-05 11:20:33.257793: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff14c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-05 11:20:33.257859: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-05 11:20:33.261502: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-05 11:20:33.375553: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x901d6e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-05 11:20:33.375599: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-05 11:20:33.377020: 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-08-05 11:20:33.377407: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 11:20:33.380533: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 11:20:33.383497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-05 11:20:33.383979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-05 11:20:33.386763: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-05 11:20:33.388158: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-05 11:20:33.393579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-05 11:20:33.395608: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-05 11:20:33.395697: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 11:20:33.396637: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-05 11:20:33.396651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-05 11:20:33.396660: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-05 11:20:33.397951: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-08-05 11:20:33.645582: 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-08-05 11:20:33.645706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 11:20:33.645730: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 11:20:33.645750: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-05 11:20:33.645770: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-05 11:20:33.645789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-05 11:20:33.645808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-05 11:20:33.645828: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-05 11:20:33.647548: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-05 11:20:33.649089: 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-08-05 11:20:33.649130: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 11:20:33.649150: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 11:20:33.649168: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-05 11:20:33.649187: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-05 11:20:33.649205: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-05 11:20:33.649224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-05 11:20:33.649242: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-05 11:20:33.650926: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-05 11:20:33.650965: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-05 11:20:33.650977: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-05 11:20:33.650987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-05 11:20:33.652486: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-08-05 11:20:42.024775: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 11:20:42.229162: 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.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: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 53.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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.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: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.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: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 55.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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 63.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: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 2324502 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 376 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 5665 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.0002684593200683594 nb_pixel_total : 9890 time to create 1 rle with old method : 0.011792182922363281 length of segment : 146 time for calcul the mask position with numpy : 0.00019240379333496094 nb_pixel_total : 11675 time to create 1 rle with old method : 0.013777971267700195 length of segment : 135 time for calcul the mask position with numpy : 0.00010180473327636719 nb_pixel_total : 4608 time to create 1 rle with old method : 0.005597114562988281 length of segment : 126 time for calcul the mask position with numpy : 0.011969566345214844 nb_pixel_total : 708232 time to create 1 rle with new method : 0.05281567573547363 length of segment : 1403 time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 7855 time to create 1 rle with old method : 0.009353399276733398 length of segment : 101 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 10927 time to create 1 rle with old method : 0.013158082962036133 length of segment : 121 time for calcul the mask position with numpy : 0.009009599685668945 nb_pixel_total : 703976 time to create 1 rle with new method : 0.025854110717773438 length of segment : 961 time for calcul the mask position with numpy : 0.00041794776916503906 nb_pixel_total : 32545 time to create 1 rle with old method : 0.03688406944274902 length of segment : 227 time for calcul the mask position with numpy : 0.00015282630920410156 nb_pixel_total : 8760 time to create 1 rle with old method : 0.010491132736206055 length of segment : 130 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 10123 time to create 1 rle with old method : 0.012087821960449219 length of segment : 162 time for calcul the mask position with numpy : 9.274482727050781e-05 nb_pixel_total : 4190 time to create 1 rle with old method : 0.005120754241943359 length of segment : 85 time for calcul the mask position with numpy : 0.0001506805419921875 nb_pixel_total : 8103 time to create 1 rle with old method : 0.00969386100769043 length of segment : 117 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 8190 time to create 1 rle with old method : 0.009720087051391602 length of segment : 144 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 2998 time to create 1 rle with old method : 0.003609895706176758 length of segment : 73 time for calcul the mask position with numpy : 0.00024080276489257812 nb_pixel_total : 14570 time to create 1 rle with old method : 0.017492055892944336 length of segment : 129 time for calcul the mask position with numpy : 0.0017673969268798828 nb_pixel_total : 99113 time to create 1 rle with old method : 0.11134910583496094 length of segment : 502 time for calcul the mask position with numpy : 0.0001964569091796875 nb_pixel_total : 10574 time to create 1 rle with old method : 0.012837886810302734 length of segment : 100 time for calcul the mask position with numpy : 0.00028204917907714844 nb_pixel_total : 20862 time to create 1 rle with old method : 0.024029970169067383 length of segment : 158 time for calcul the mask position with numpy : 0.0009922981262207031 nb_pixel_total : 68271 time to create 1 rle with old method : 0.07828712463378906 length of segment : 382 time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 7607 time to create 1 rle with old method : 0.008661985397338867 length of segment : 113 time for calcul the mask position with numpy : 9.298324584960938e-05 nb_pixel_total : 4005 time to create 1 rle with old method : 0.004678249359130859 length of segment : 58 time for calcul the mask position with numpy : 0.0001876354217529297 nb_pixel_total : 10827 time to create 1 rle with old method : 0.013015031814575195 length of segment : 130 time for calcul the mask position with numpy : 0.00023603439331054688 nb_pixel_total : 14640 time to create 1 rle with old method : 0.020494699478149414 length of segment : 189 time for calcul the mask position with numpy : 0.0018358230590820312 nb_pixel_total : 95282 time to create 1 rle with old method : 0.10735201835632324 length of segment : 575 time for calcul the mask position with numpy : 0.00030541419982910156 nb_pixel_total : 15443 time to create 1 rle with old method : 0.018604278564453125 length of segment : 223 time for calcul the mask position with numpy : 0.0006222724914550781 nb_pixel_total : 13377 time to create 1 rle with old method : 0.01795220375061035 length of segment : 219 time for calcul the mask position with numpy : 0.0002231597900390625 nb_pixel_total : 11151 time to create 1 rle with old method : 0.01260066032409668 length of segment : 114 time for calcul the mask position with numpy : 0.0003063678741455078 nb_pixel_total : 7314 time to create 1 rle with old method : 0.008864164352416992 length of segment : 94 time for calcul the mask position with numpy : 0.0005521774291992188 nb_pixel_total : 13986 time to create 1 rle with old method : 0.016235828399658203 length of segment : 158 time for calcul the mask position with numpy : 0.00044918060302734375 nb_pixel_total : 14416 time to create 1 rle with old method : 0.016510725021362305 length of segment : 134 time for calcul the mask position with numpy : 0.00017142295837402344 nb_pixel_total : 6935 time to create 1 rle with old method : 0.007984638214111328 length of segment : 86 time for calcul the mask position with numpy : 0.0003662109375 nb_pixel_total : 11907 time to create 1 rle with old method : 0.014259099960327148 length of segment : 111 time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 2595 time to create 1 rle with old method : 0.003053903579711914 length of segment : 75 time for calcul the mask position with numpy : 0.0002529621124267578 nb_pixel_total : 7370 time to create 1 rle with old method : 0.00848698616027832 length of segment : 105 time for calcul the mask position with numpy : 0.00016379356384277344 nb_pixel_total : 3940 time to create 1 rle with old method : 0.006981849670410156 length of segment : 58 time for calcul the mask position with numpy : 0.0004150867462158203 nb_pixel_total : 7585 time to create 1 rle with old method : 0.013000965118408203 length of segment : 106 time for calcul the mask position with numpy : 0.0001678466796875 nb_pixel_total : 2905 time to create 1 rle with old method : 0.0036258697509765625 length of segment : 58 time spent for convertir_results : 2.0662753582000732 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 37 chid ids of type : 3594 Number RLEs to save : 7808 save missing photos in datou_result : time spend for datou_step_exec : 27.757169723510742 time spend to save output : 0.5243206024169922 total time spend for step 1 : 28.281490325927734 step2:crop_condition Tue Aug 5 11:20:58 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 : 12 ! batch 1 Loaded 37 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 ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754385660_2324021 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.668036937713623 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 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754385668_2324021 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5502195358276367 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 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754385670_2324021 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9078567028045654 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 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 : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754385675_2324021 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.7533926963806152 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 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754385678_2324021 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3231041431427002 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 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 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 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 [1375256603, 1375256561, 1375256560, 1375256166, 1375256161, 1375256148, 1375256114, 1375256070, 1375256047, 1375255585, 1375255557, 1375255509] Looping around the photos to save general results len do output : 37 /1375275074Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375275322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256603', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256561', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256560', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256166', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256161', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256148', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256114', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256070', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256047', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255585', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255557', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255509', None, None, None, None, None, '3447822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 time used for this insertion : 0.022330284118652344 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.504543781280518 time spend to save output : 0.024132251739501953 total time spend for step 2 : 20.52867603302002 step3:rle_unique_nms_with_priority Tue Aug 5 11:21:19 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 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 Begin step rle-unique-nms batch 1 Loaded 37 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.8210465908050537 time for calcul the mask position with numpy : 0.12811994552612305 nb_pixel_total : 2052035 time to create 1 rle with new method : 0.12206220626831055 time for calcul the mask position with numpy : 0.006365299224853516 nb_pixel_total : 11675 time to create 1 rle with old method : 0.013671159744262695 time for calcul the mask position with numpy : 0.006120204925537109 nb_pixel_total : 9890 time to create 1 rle with old method : 0.011610984802246094 create new chi : 0.2980837821960449 time to delete rle : 0.021260976791381836 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1642 TO DO : save crop sub photo not yet done ! save time : 0.15256500244140625 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.43228745460510254 time for calcul the mask position with numpy : 0.08197546005249023 nb_pixel_total : 1363540 time to create 1 rle with new method : 0.3955097198486328 time for calcul the mask position with numpy : 0.011634111404418945 nb_pixel_total : 705452 time to create 1 rle with new method : 0.12588024139404297 time for calcul the mask position with numpy : 0.007025480270385742 nb_pixel_total : 4608 time to create 1 rle with old method : 0.005482196807861328 create new chi : 0.6437225341796875 time to delete rle : 0.0005366802215576172 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4137 TO DO : save crop sub photo not yet done ! save time : 0.2841300964355469 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.1575300693511963 time for calcul the mask position with numpy : 0.07968926429748535 nb_pixel_total : 1350842 time to create 1 rle with new method : 0.1670079231262207 time for calcul the mask position with numpy : 0.013966083526611328 nb_pixel_total : 703976 time to create 1 rle with new method : 0.2699697017669678 time for calcul the mask position with numpy : 0.0059871673583984375 nb_pixel_total : 10927 time to create 1 rle with old method : 0.01240229606628418 time for calcul the mask position with numpy : 0.006634235382080078 nb_pixel_total : 7855 time to create 1 rle with old method : 0.009049415588378906 create new chi : 0.5829145908355713 time to delete rle : 0.00044918060302734375 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3446 TO DO : save crop sub photo not yet done ! save time : 0.26068687438964844 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03976178169250488 time for calcul the mask position with numpy : 0.053862571716308594 nb_pixel_total : 2032295 time to create 1 rle with new method : 0.2519645690917969 time for calcul the mask position with numpy : 0.006918191909790039 nb_pixel_total : 8760 time to create 1 rle with old method : 0.01044321060180664 time for calcul the mask position with numpy : 0.0065882205963134766 nb_pixel_total : 32545 time to create 1 rle with old method : 0.03993034362792969 create new chi : 0.3792073726654053 time to delete rle : 0.0002944469451904297 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1794 TO DO : save crop sub photo not yet done ! save time : 0.151594877243042 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.2765970230102539 time for calcul the mask position with numpy : 0.29241943359375 nb_pixel_total : 1915739 time to create 1 rle with new method : 0.10258936882019043 time for calcul the mask position with numpy : 0.006236553192138672 nb_pixel_total : 10574 time to create 1 rle with old method : 0.012295961380004883 time for calcul the mask position with numpy : 0.00711822509765625 nb_pixel_total : 99113 time to create 1 rle with old method : 0.12120342254638672 time for calcul the mask position with numpy : 0.0066661834716796875 nb_pixel_total : 14570 time to create 1 rle with old method : 0.017496585845947266 time for calcul the mask position with numpy : 0.0066375732421875 nb_pixel_total : 2998 time to create 1 rle with old method : 0.0036344528198242188 time for calcul the mask position with numpy : 0.00647282600402832 nb_pixel_total : 8190 time to create 1 rle with old method : 0.00948190689086914 time for calcul the mask position with numpy : 0.0067195892333984375 nb_pixel_total : 8103 time to create 1 rle with old method : 0.009499549865722656 time for calcul the mask position with numpy : 0.006597280502319336 nb_pixel_total : 4190 time to create 1 rle with old method : 0.004898786544799805 time for calcul the mask position with numpy : 0.006693601608276367 nb_pixel_total : 10123 time to create 1 rle with old method : 0.012319326400756836 create new chi : 0.6499526500701904 time to delete rle : 0.0005629062652587891 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 3704 TO DO : save crop sub photo not yet done ! save time : 0.25734949111938477 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.047651052474975586 time for calcul the mask position with numpy : 0.020366907119750977 nb_pixel_total : 1984467 time to create 1 rle with new method : 0.029369592666625977 time for calcul the mask position with numpy : 0.006598234176635742 nb_pixel_total : 68271 time to create 1 rle with old method : 0.08061718940734863 time for calcul the mask position with numpy : 0.006281614303588867 nb_pixel_total : 20862 time to create 1 rle with old method : 0.024077653884887695 create new chi : 0.16768860816955566 time to delete rle : 0.0003325939178466797 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2160 TO DO : save crop sub photo not yet done ! save time : 0.17249512672424316 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.20633912086486816 time for calcul the mask position with numpy : 0.2508692741394043 nb_pixel_total : 1901268 time to create 1 rle with new method : 0.13710331916809082 time for calcul the mask position with numpy : 0.011090993881225586 nb_pixel_total : 11151 time to create 1 rle with old method : 0.01287698745727539 time for calcul the mask position with numpy : 0.011199951171875 nb_pixel_total : 13377 time to create 1 rle with old method : 0.02044057846069336 time for calcul the mask position with numpy : 0.011882781982421875 nb_pixel_total : 15443 time to create 1 rle with old method : 0.02533555030822754 time for calcul the mask position with numpy : 0.013354778289794922 nb_pixel_total : 95282 time to create 1 rle with old method : 0.12206482887268066 time for calcul the mask position with numpy : 0.013945341110229492 nb_pixel_total : 14640 time to create 1 rle with old method : 0.017621994018554688 time for calcul the mask position with numpy : 0.010967254638671875 nb_pixel_total : 10827 time to create 1 rle with old method : 0.01273202896118164 time for calcul the mask position with numpy : 0.010697126388549805 nb_pixel_total : 4005 time to create 1 rle with old method : 0.004739522933959961 time for calcul the mask position with numpy : 0.010665178298950195 nb_pixel_total : 7607 time to create 1 rle with old method : 0.00902557373046875 create new chi : 0.7181100845336914 time to delete rle : 0.0006916522979736328 batch 1 Loaded 17 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 4322 TO DO : save crop sub photo not yet done ! save time : 0.3073437213897705 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.10095429420471191 time for calcul the mask position with numpy : 0.020819664001464844 nb_pixel_total : 2052300 time to create 1 rle with new method : 0.046755313873291016 time for calcul the mask position with numpy : 0.008376359939575195 nb_pixel_total : 13986 time to create 1 rle with old method : 0.022079944610595703 time for calcul the mask position with numpy : 0.007119655609130859 nb_pixel_total : 7314 time to create 1 rle with old method : 0.008722782135009766 create new chi : 0.11429095268249512 time to delete rle : 0.00039458274841308594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1584 TO DO : save crop sub photo not yet done ! save time : 0.13821029663085938 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.7369873523712158 time for calcul the mask position with numpy : 0.43034958839416504 nb_pixel_total : 2052249 time to create 1 rle with new method : 0.10286736488342285 time for calcul the mask position with numpy : 0.01085972785949707 nb_pixel_total : 6935 time to create 1 rle with old method : 0.008130788803100586 time for calcul the mask position with numpy : 0.006565570831298828 nb_pixel_total : 14416 time to create 1 rle with old method : 0.017035961151123047 create new chi : 0.5874373912811279 time to delete rle : 0.0003082752227783203 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1520 TO DO : save crop sub photo not yet done ! save time : 0.14939451217651367 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.24477767944335938 time for calcul the mask position with numpy : 0.13058733940124512 nb_pixel_total : 2047788 time to create 1 rle with new method : 0.46193885803222656 time for calcul the mask position with numpy : 0.010188579559326172 nb_pixel_total : 3940 time to create 1 rle with old method : 0.004515171051025391 time for calcul the mask position with numpy : 0.0059854984283447266 nb_pixel_total : 7370 time to create 1 rle with old method : 0.008524656295776367 time for calcul the mask position with numpy : 0.009752273559570312 nb_pixel_total : 2595 time to create 1 rle with old method : 0.0028209686279296875 time for calcul the mask position with numpy : 0.009926319122314453 nb_pixel_total : 11907 time to create 1 rle with old method : 0.013877153396606445 create new chi : 0.6686489582061768 time to delete rle : 0.00040793418884277344 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1778 TO DO : save crop sub photo not yet done ! save time : 0.15951085090637207 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.044974565505981445 time for calcul the mask position with numpy : 0.022104740142822266 nb_pixel_total : 2066015 time to create 1 rle with new method : 0.23831534385681152 time for calcul the mask position with numpy : 0.006130695343017578 nb_pixel_total : 7585 time to create 1 rle with old method : 0.008594036102294922 create new chi : 0.28225040435791016 time to delete rle : 0.00021767616271972656 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1292 TO DO : save crop sub photo not yet done ! save time : 0.12593889236450195 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.20797157287597656 time for calcul the mask position with numpy : 0.0843651294708252 nb_pixel_total : 2070695 time to create 1 rle with new method : 0.1865377426147461 time for calcul the mask position with numpy : 0.0060787200927734375 nb_pixel_total : 2905 time to create 1 rle with old method : 0.0032558441162109375 create new chi : 0.2906928062438965 time to delete rle : 0.00022912025451660156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1196 TO DO : save crop sub photo not yet done ! save time : 0.11251378059387207 map_output_result : {1375256603: (0.0, 'Should be the crop_list due to order', 0), 1375256561: (0.0, 'Should be the crop_list due to order', 0), 1375256560: (0.0, 'Should be the crop_list due to order', 0), 1375256166: (0.0, 'Should be the crop_list due to order', 0), 1375256161: (0.0, 'Should be the crop_list due to order', 0), 1375256148: (0.0, 'Should be the crop_list due to order', 0), 1375256114: (0.0, 'Should be the crop_list due to order', 0), 1375256070: (0.0, 'Should be the crop_list due to order', 0), 1375256047: (0.0, 'Should be the crop_list due to order', 0), 1375255585: (0.0, 'Should be the crop_list due to order', 0), 1375255557: (0.0, 'Should be the crop_list due to order', 0), 1375255509: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1375256603, 1375256561, 1375256560, 1375256166, 1375256161, 1375256148, 1375256114, 1375256070, 1375256047, 1375255585, 1375255557, 1375255509] Looping around the photos to save general results len do output : 12 /1375256603.Didn't retrieve data . /1375256561.Didn't retrieve data . /1375256560.Didn't retrieve data . /1375256166.Didn't retrieve data . /1375256161.Didn't retrieve data . /1375256148.Didn't retrieve data . /1375256114.Didn't retrieve data . /1375256070.Didn't retrieve data . /1375256047.Didn't retrieve data . /1375255585.Didn't retrieve data . /1375255557.Didn't retrieve data . /1375255509.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256603', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256561', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256560', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256166', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256161', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256148', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256114', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256070', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256047', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255585', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255557', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255509', None, None, None, None, None, '3447822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.015958786010742188 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.402746677398682 time spend to save output : 0.01642298698425293 total time spend for step 3 : 11.419169664382935 step4:ventilate_hashtags_in_portfolio Tue Aug 5 11:21:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25678972 get user id for portfolio 25678972 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25678972 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','pehd','papier','mal_croppe','pet_fonce','flou','pet_clair','metal','autre','background')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25678972 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','pehd','papier','mal_croppe','pet_fonce','flou','pet_clair','metal','autre','background')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25678972 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','pehd','papier','mal_croppe','pet_fonce','flou','pet_clair','metal','autre','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25680011,25680012,25680013,25680014,25680015,25680016,25680017,25680018,25680019,25680020,25680021?tags=environnement,carton,pehd,papier,mal_croppe,pet_fonce,flou,pet_clair,metal,autre,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375256603, 1375256561, 1375256560, 1375256166, 1375256161, 1375256148, 1375256114, 1375256070, 1375256047, 1375255585, 1375255557, 1375255509] Looping around the photos to save general results len do output : 1 /25678972. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256603', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256561', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256560', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256166', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256161', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256148', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256114', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256070', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256047', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255585', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255557', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255509', None, None, None, None, None, '3447822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.017416715621948242 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7255215644836426 time spend to save output : 0.017888784408569336 total time spend for step 4 : 1.743410348892212 step5:final Tue Aug 5 11:21:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1375256603: ('0.08013306166409463',), 1375256561: ('0.08013306166409463',), 1375256560: ('0.08013306166409463',), 1375256166: ('0.08013306166409463',), 1375256161: ('0.08013306166409463',), 1375256148: ('0.08013306166409463',), 1375256114: ('0.08013306166409463',), 1375256070: ('0.08013306166409463',), 1375256047: ('0.08013306166409463',), 1375255585: ('0.08013306166409463',), 1375255557: ('0.08013306166409463',), 1375255509: ('0.08013306166409463',)} new output for save of step final : {1375256603: ('0.08013306166409463',), 1375256561: ('0.08013306166409463',), 1375256560: ('0.08013306166409463',), 1375256166: ('0.08013306166409463',), 1375256161: ('0.08013306166409463',), 1375256148: ('0.08013306166409463',), 1375256114: ('0.08013306166409463',), 1375256070: ('0.08013306166409463',), 1375256047: ('0.08013306166409463',), 1375255585: ('0.08013306166409463',), 1375255557: ('0.08013306166409463',), 1375255509: ('0.08013306166409463',)} [1375256603, 1375256561, 1375256560, 1375256166, 1375256161, 1375256148, 1375256114, 1375256070, 1375256047, 1375255585, 1375255557, 1375255509] Looping around the photos to save general results len do output : 12 /1375256603.Didn't retrieve data . /1375256561.Didn't retrieve data . /1375256560.Didn't retrieve data . /1375256166.Didn't retrieve data . /1375256161.Didn't retrieve data . /1375256148.Didn't retrieve data . /1375256114.Didn't retrieve data . /1375256070.Didn't retrieve data . /1375256047.Didn't retrieve data . /1375255585.Didn't retrieve data . /1375255557.Didn't retrieve data . /1375255509.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256603', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256561', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256560', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256166', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256161', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256148', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256114', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256070', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256047', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255585', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255557', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255509', None, None, None, None, None, '3447822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.013946533203125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11881327629089355 time spend to save output : 0.014551401138305664 total time spend for step 5 : 0.13336467742919922 step6:blur_detection Tue Aug 5 11:21:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1754385629_2324021_1375256603_57523eda411fe71f527d2e195c9e4cf3.jpg resize: (1080, 1920) 1375256603 -0.22777806629972844 treat image : temp/1754385629_2324021_1375256561_97d4f725597b89ea812f090de01ebc73.jpg resize: (1080, 1920) 1375256561 1.3004736794076168 treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228.jpg resize: (1080, 1920) 1375256560 0.8472468654845025 treat image : temp/1754385629_2324021_1375256166_319ade344ad153fae0643d08ed149176.jpg resize: (1080, 1920) 1375256166 2.314074186144563 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed.jpg resize: (1080, 1920) 1375256161 1.5487431004765546 treat image : temp/1754385629_2324021_1375256148_80b08e5a7e180b8cc2e0a0fa6e9f8ddf.jpg resize: (1080, 1920) 1375256148 -0.02951467434335931 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98.jpg resize: (1080, 1920) 1375256114 1.1148490162033637 treat image : temp/1754385629_2324021_1375256070_25eacfebb71c801fde109c6c516173b1.jpg resize: (1080, 1920) 1375256070 1.8866651824827747 treat image : temp/1754385629_2324021_1375256047_9b19aea3fc196f8d523b50d4a3df4443.jpg resize: (1080, 1920) 1375256047 -0.34062089973037557 treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f.jpg resize: (1080, 1920) 1375255585 0.7005234670555628 treat image : temp/1754385629_2324021_1375255557_6336ceb083700278f1bacc39c438ed40.jpg resize: (1080, 1920) 1375255557 1.6678853217154395 treat image : temp/1754385629_2324021_1375255509_049151352c507a197301dccab9e28d6d.jpg resize: (1080, 1920) 1375255509 0.24454179130526002 treat image : temp/1754385629_2324021_1375256603_57523eda411fe71f527d2e195c9e4cf3_rle_crop_3903511815_0.png resize: (146, 136) 1375275074 -3.0317028248790208 treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228_rle_crop_3903511820_0.png resize: (111, 169) 1375275075 -0.7852405078508968 treat image : temp/1754385629_2324021_1375256166_319ade344ad153fae0643d08ed149176_rle_crop_3903511823_0.png resize: (130, 93) 1375275077 1.4730121077799647 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511828_0.png resize: (73, 79) 1375275079 -1.4356521228814823 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511827_0.png resize: (131, 151) 1375275080 -0.6997517748849451 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511826_0.png resize: (115, 90) 1375275083 0.2569361320913096 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511824_0.png resize: (162, 96) 1375275085 -1.0178222054080628 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511835_0.png resize: (55, 91) 1375275086 0.54923973585156 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511840_0.png resize: (149, 127) 1375275087 -0.12005555842359417 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511834_0.png resize: (113, 106) 1375275090 1.5149373950036782 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511841_0.png resize: (114, 137) 1375275091 -0.7810888019328425 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511836_0.png resize: (128, 149) 1375275092 -1.7510608122727844 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511839_0.png resize: (174, 144) 1375275095 -0.967996643113489 treat image : temp/1754385629_2324021_1375256070_25eacfebb71c801fde109c6c516173b1_rle_crop_3903511842_0.png resize: (93, 140) 1375275096 -3.027420204717678 treat image : temp/1754385629_2324021_1375256047_9b19aea3fc196f8d523b50d4a3df4443_rle_crop_3903511844_0.png resize: (134, 173) 1375275097 1.7997198447002083 treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511846_0.png resize: (104, 144) 1375275100 -0.1498972762842142 treat image : temp/1754385629_2324021_1375255557_6336ceb083700278f1bacc39c438ed40_rle_crop_3903511850_0.png resize: (106, 102) 1375275101 -0.3544347268433398 treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228_rle_crop_3903511821_0.png resize: (956, 1025) 1375275158 1.0619449868849162 treat image : temp/1754385629_2324021_1375256166_319ade344ad153fae0643d08ed149176_rle_crop_3903511822_0.png resize: (201, 221) 1375275160 -0.2892409241380391 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511837_0.png resize: (176, 121) 1375275161 -1.2825945009761472 treat image : temp/1754385629_2324021_1375256070_25eacfebb71c801fde109c6c516173b1_rle_crop_3903511843_0.png resize: (155, 129) 1375275163 -0.7682061523375745 treat image : temp/1754385629_2324021_1375255509_049151352c507a197301dccab9e28d6d_rle_crop_3903511851_0.png resize: (58, 71) 1375275165 -0.35093328186219813 treat image : temp/1754385629_2324021_1375256047_9b19aea3fc196f8d523b50d4a3df4443_rle_crop_3903511845_0.png resize: (86, 98) 1375275180 -2.695104154258674 treat image : temp/1754385629_2324021_1375256561_97d4f725597b89ea812f090de01ebc73_rle_crop_3903511818_0.png resize: (964, 937) 1375275277 0.04140571178264966 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511831_0.png resize: (104, 141) 1375275280 -1.715896400643725 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511829_0.png resize: (129, 173) 1375275281 -0.2777501114254656 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511825_0.png resize: (85, 58) 1375275283 2.385772844470624 treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511830_0.png resize: (498, 335) 1375275284 0.0854225316928752 treat image : temp/1754385629_2324021_1375256148_80b08e5a7e180b8cc2e0a0fa6e9f8ddf_rle_crop_3903511832_0.png resize: (154, 173) 1375275286 -0.4916901205829342 treat image : temp/1754385629_2324021_1375256148_80b08e5a7e180b8cc2e0a0fa6e9f8ddf_rle_crop_3903511833_0.png resize: (377, 304) 1375275288 -0.018119612653482154 treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511838_0.png resize: (501, 334) 1375275289 -0.487105623305407 treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511848_0.png resize: (104, 125) 1375275291 -3.38749304153314 treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511847_0.png resize: (75, 49) 1375275293 -0.5065106635347199 treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511849_0.png resize: (58, 93) 1375275294 -0.2529766703376376 treat image : temp/1754385629_2324021_1375256603_57523eda411fe71f527d2e195c9e4cf3_rle_crop_3903511816_0.png resize: (126, 118) 1375275319 -1.7652897310911353 treat image : temp/1754385629_2324021_1375256561_97d4f725597b89ea812f090de01ebc73_rle_crop_3903511817_0.png resize: (126, 50) 1375275320 -0.7715145823948836 treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228_rle_crop_3903511819_0.png resize: (99, 100) 1375275322 1.3434534276757057 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 49 time used for this insertion : 0.01781320571899414 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.01610708236694336 save missing photos in datou_result : time spend for datou_step_exec : 10.331772327423096 time spend to save output : 0.03873944282531738 total time spend for step 6 : 10.370511770248413 step7:brightness Tue Aug 5 11:21:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1754385629_2324021_1375256603_57523eda411fe71f527d2e195c9e4cf3.jpg treat image : temp/1754385629_2324021_1375256561_97d4f725597b89ea812f090de01ebc73.jpg treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228.jpg treat image : temp/1754385629_2324021_1375256166_319ade344ad153fae0643d08ed149176.jpg treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed.jpg treat image : temp/1754385629_2324021_1375256148_80b08e5a7e180b8cc2e0a0fa6e9f8ddf.jpg treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98.jpg treat image : temp/1754385629_2324021_1375256070_25eacfebb71c801fde109c6c516173b1.jpg treat image : temp/1754385629_2324021_1375256047_9b19aea3fc196f8d523b50d4a3df4443.jpg treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f.jpg treat image : temp/1754385629_2324021_1375255557_6336ceb083700278f1bacc39c438ed40.jpg treat image : temp/1754385629_2324021_1375255509_049151352c507a197301dccab9e28d6d.jpg treat image : temp/1754385629_2324021_1375256603_57523eda411fe71f527d2e195c9e4cf3_rle_crop_3903511815_0.png treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228_rle_crop_3903511820_0.png treat image : temp/1754385629_2324021_1375256166_319ade344ad153fae0643d08ed149176_rle_crop_3903511823_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511828_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511827_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511826_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511824_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511835_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511840_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511834_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511841_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511836_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511839_0.png treat image : temp/1754385629_2324021_1375256070_25eacfebb71c801fde109c6c516173b1_rle_crop_3903511842_0.png treat image : temp/1754385629_2324021_1375256047_9b19aea3fc196f8d523b50d4a3df4443_rle_crop_3903511844_0.png treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511846_0.png treat image : temp/1754385629_2324021_1375255557_6336ceb083700278f1bacc39c438ed40_rle_crop_3903511850_0.png treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228_rle_crop_3903511821_0.png treat image : temp/1754385629_2324021_1375256166_319ade344ad153fae0643d08ed149176_rle_crop_3903511822_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511837_0.png treat image : temp/1754385629_2324021_1375256070_25eacfebb71c801fde109c6c516173b1_rle_crop_3903511843_0.png treat image : temp/1754385629_2324021_1375255509_049151352c507a197301dccab9e28d6d_rle_crop_3903511851_0.png treat image : temp/1754385629_2324021_1375256047_9b19aea3fc196f8d523b50d4a3df4443_rle_crop_3903511845_0.png treat image : temp/1754385629_2324021_1375256561_97d4f725597b89ea812f090de01ebc73_rle_crop_3903511818_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511831_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511829_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511825_0.png treat image : temp/1754385629_2324021_1375256161_f101cbfef08b61de49006a231d5cdaed_rle_crop_3903511830_0.png treat image : temp/1754385629_2324021_1375256148_80b08e5a7e180b8cc2e0a0fa6e9f8ddf_rle_crop_3903511832_0.png treat image : temp/1754385629_2324021_1375256148_80b08e5a7e180b8cc2e0a0fa6e9f8ddf_rle_crop_3903511833_0.png treat image : temp/1754385629_2324021_1375256114_6bf06bab341dbd7e31f473bd5550db98_rle_crop_3903511838_0.png treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511848_0.png treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511847_0.png treat image : temp/1754385629_2324021_1375255585_720249265f9512639f7e28d9fabc2d9f_rle_crop_3903511849_0.png treat image : temp/1754385629_2324021_1375256603_57523eda411fe71f527d2e195c9e4cf3_rle_crop_3903511816_0.png treat image : temp/1754385629_2324021_1375256561_97d4f725597b89ea812f090de01ebc73_rle_crop_3903511817_0.png treat image : temp/1754385629_2324021_1375256560_423900dfb79447559d41abf312598228_rle_crop_3903511819_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 49 time used for this insertion : 0.016192197799682617 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.01672220230102539 save missing photos in datou_result : time spend for datou_step_exec : 3.1376254558563232 time spend to save output : 0.037856101989746094 total time spend for step 7 : 3.1754815578460693 step8:velours_tree Tue Aug 5 11:21:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.1383991241455078 time spend to save output : 3.170967102050781e-05 total time spend for step 8 : 0.13843083381652832 step9:send_mail_cod Tue Aug 5 11:21:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 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 dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P25678972_05-08-2025_11_21_46.pdf 25680012 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette256800121754385706 25680013 imagette256800131754385706 25680014 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette256800141754385706 25680015 imagette256800151754385707 25680016 imagette256800161754385707 25680017 imagette256800171754385707 25680018 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette256800181754385707 25680019 change filename to text .imagette256800191754385708 25680020 change filename to text .change filename to text .change filename to text .imagette256800201754385708 25680021 imagette256800211754385708 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25678972 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25680011,25680012,25680013,25680014,25680015,25680016,25680017,25680018,25680019,25680020,25680021?tags=environnement,carton,pehd,papier,mal_croppe,pet_fonce,flou,pet_clair,metal,autre,background args[1375256603] : ((1375256603, -0.22777806629972844, 492688767), (1375256603, 0.9033481993863249, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256561] : ((1375256561, 1.3004736794076168, 492688767), (1375256561, 0.3344476148986993, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256560] : ((1375256560, 0.8472468654845025, 492688767), (1375256560, 0.8223983132602878, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256166] : ((1375256166, 2.314074186144563, 492688767), (1375256166, 0.9345331690132744, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256161] : ((1375256161, 1.5487431004765546, 492688767), (1375256161, 0.811275535746858, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256148] : ((1375256148, -0.02951467434335931, 492688767), (1375256148, 0.7902359381790669, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256114] : ((1375256114, 1.1148490162033637, 492688767), (1375256114, 0.4937588591682752, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256070] : ((1375256070, 1.8866651824827747, 492688767), (1375256070, 0.8017663387825964, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375256047] : ((1375256047, -0.34062089973037557, 492688767), (1375256047, 0.6340502516437228, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375255585] : ((1375255585, 0.7005234670555628, 492688767), (1375255585, 0.8451391149534316, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375255557] : ((1375255557, 1.6678853217154395, 492688767), (1375255557, 0.9511667557665895, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com args[1375255509] : ((1375255509, 0.24454179130526002, 492688767), (1375255509, 1.2431939071831788, 2107752395), '0.08013306166409463') We are sending mail with results at report@fotonower.com refus_total : 0.08013306166409463 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25678972 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678972_05-08-2025_11_21_46.pdf results_Auto_P25678972_05-08-2025_11_21_46.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678972_05-08-2025_11_21_46.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','25678972','results_Auto_P25678972_05-08-2025_11_21_46.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678972_05-08-2025_11_21_46.pdf','pdf','','0.3','0.08013306166409463') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25678972

https://www.fotonower.com/image?json=false&list_photos_id=1375256603
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375256561
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3004736794076168)
https://www.fotonower.com/image?json=false&list_photos_id=1375256560
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375256166
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.314074186144563)
https://www.fotonower.com/image?json=false&list_photos_id=1375256161
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5487431004765546)
https://www.fotonower.com/image?json=false&list_photos_id=1375256148
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375256114
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1148490162033637)
https://www.fotonower.com/image?json=false&list_photos_id=1375256070
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.8866651824827747)
https://www.fotonower.com/image?json=false&list_photos_id=1375256047
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375255585
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375255557
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6678853217154395)
https://www.fotonower.com/image?json=false&list_photos_id=1375255509
Bravo, la photo est bien prise.

Dans ces conditions,le taux de refus est: 8.01%
Veuillez trouver les photos des contaminants.

exemples de contaminants: carton: https://www.fotonower.com/view/25680012?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25680014?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25680018?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25680019?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25680020?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678972_05-08-2025_11_21_46.pdf.

Lien vers velours :https://www.fotonower.com/velours/25680011,25680012,25680013,25680014,25680015,25680016,25680017,25680018,25680019,25680020,25680021?tags=environnement,carton,pehd,papier,mal_croppe,pet_fonce,flou,pet_clair,metal,autre,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 05 Aug 2025 09:21:50 GMT Content-Length: 0 Connection: close X-Message-Id: 5T0c9Fn7RG-pvCE3SLbqiQ Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1375256603, 1375256561, 1375256560, 1375256166, 1375256161, 1375256148, 1375256114, 1375256070, 1375256047, 1375255585, 1375255557, 1375255509] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256603', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256561', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256560', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256166', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256161', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256148', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256114', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256070', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256047', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255585', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255557', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255509', None, None, None, None, None, '3447822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.03399920463562012 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.044406175613403 time spend to save output : 0.03433084487915039 total time spend for step 9 : 4.078737020492554 step10:split_time_score Tue Aug 5 11:21:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05082025 25678972 Nombre de photos uploadées : 12 / 23040 (0%) 05082025 25678972 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 05082025 25678972 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008385181427001953 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21157455444335938 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.07281246985918212 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25675565_05-08-2025_10_11_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25675565 order by id desc limit 1 # 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 ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25675565 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678966 order by id desc limit 1 Qualite : 0.08013306166409463 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678972_05-08-2025_11_21_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678972 order by id desc limit 1 # 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 ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25678972 AND mptpi.`type`=3594 To do Qualite : 0.09016365916105501 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678976_05-08-2025_11_11_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678976 order by id desc limit 1 # 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 ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25678976 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05082025': {'nb_upload': 12, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1375256603, 1375256561, 1375256560, 1375256166, 1375256161, 1375256148, 1375256114, 1375256070, 1375256047, 1375255585, 1375255557, 1375255509] Looping around the photos to save general results len do output : 1 /25678972Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256603', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256561', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256560', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256166', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256161', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256148', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256114', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256070', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375256047', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255585', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255557', None, None, None, None, None, '3447822') ('3318', None, None, None, None, None, None, None, '3447822') ('3318', '25678972', '1375255509', None, None, None, None, None, '3447822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.01567673683166504 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5523359775543213 time spend to save output : 0.016031742095947266 total time spend for step 10 : 1.5683677196502686 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 43.30user 24.70system 1:26.16elapsed 78%CPU (0avgtext+0avgdata 2838416maxresident)k 96inputs+18904outputs (8major+1768494minor)pagefaults 0swaps