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 : 2917978 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 : ['3673602'] with mtr_portfolio_ids : ['26601766'] and first list_photo_ids : [] new path : /proc/2917978/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.2895557880401611 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 Sat Sep 6 07:40: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 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 : 10155 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-06 07:40:35.050767: 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-09-06 07:40:35.080687: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-06 07:40:35.082086: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb468000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-06 07:40:35.082122: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-06 07:40:35.084427: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-06 07:40:35.199516: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x30e10660 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-06 07:40:35.199580: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-06 07:40:35.200806: 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-09-06 07:40:35.201161: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 07:40:35.203834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 07:40:35.206619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-06 07:40:35.207213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-06 07:40:35.210422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-06 07:40:35.212236: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-06 07:40:35.216875: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-06 07:40:35.218378: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-06 07:40:35.218461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 07:40:35.219226: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-06 07:40:35.219244: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-06 07:40:35.219252: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-06 07:40:35.220727: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9259 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-09-06 07:40:35.550680: 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-09-06 07:40:35.550781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 07:40:35.550810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 07:40:35.550835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-06 07:40:35.550859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-06 07:40:35.550883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-06 07:40:35.550907: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-06 07:40:35.550931: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-06 07:40:35.552999: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-06 07:40:35.554334: 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-09-06 07:40:35.554370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 07:40:35.554385: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 07:40:35.554399: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-06 07:40:35.554413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-06 07:40:35.554426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-06 07:40:35.554440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-06 07:40:35.554454: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-06 07:40:35.555641: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-06 07:40:35.555668: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-06 07:40:35.555676: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-06 07:40:35.555683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-06 07:40:35.556951: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9259 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-09-06 07:40:43.699236: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 07:40:43.891151: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.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: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 88.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 : 1 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: 39.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: 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 49.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: 45.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 Detection mask done ! Trying to reset tf kernel 2918501 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4866 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 10376 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.0016188621520996094 nb_pixel_total : 91870 time to create 1 rle with old method : 0.10299873352050781 length of segment : 491 time for calcul the mask position with numpy : 9.846687316894531e-05 nb_pixel_total : 4018 time to create 1 rle with old method : 0.004764556884765625 length of segment : 84 time for calcul the mask position with numpy : 0.017513036727905273 nb_pixel_total : 1099310 time to create 1 rle with new method : 0.07165932655334473 length of segment : 1946 time for calcul the mask position with numpy : 0.0002548694610595703 nb_pixel_total : 18561 time to create 1 rle with old method : 0.022393226623535156 length of segment : 144 time for calcul the mask position with numpy : 0.0002295970916748047 nb_pixel_total : 17408 time to create 1 rle with old method : 0.020095109939575195 length of segment : 114 time for calcul the mask position with numpy : 0.0004456043243408203 nb_pixel_total : 34343 time to create 1 rle with old method : 0.04257464408874512 length of segment : 186 time for calcul the mask position with numpy : 0.00017905235290527344 nb_pixel_total : 9646 time to create 1 rle with old method : 0.010798931121826172 length of segment : 153 time for calcul the mask position with numpy : 0.00010156631469726562 nb_pixel_total : 6476 time to create 1 rle with old method : 0.007580995559692383 length of segment : 69 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 7023 time to create 1 rle with old method : 0.008142232894897461 length of segment : 128 time for calcul the mask position with numpy : 0.00012540817260742188 nb_pixel_total : 7243 time to create 1 rle with old method : 0.009054183959960938 length of segment : 82 time for calcul the mask position with numpy : 0.013103723526000977 nb_pixel_total : 1193932 time to create 1 rle with new method : 0.03813362121582031 length of segment : 1507 time for calcul the mask position with numpy : 0.0002541542053222656 nb_pixel_total : 6241 time to create 1 rle with old method : 0.007353544235229492 length of segment : 100 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 11246 time to create 1 rle with old method : 0.013098001480102539 length of segment : 127 time for calcul the mask position with numpy : 0.002105236053466797 nb_pixel_total : 104839 time to create 1 rle with old method : 0.12018156051635742 length of segment : 517 time for calcul the mask position with numpy : 0.00051116943359375 nb_pixel_total : 13193 time to create 1 rle with old method : 0.021249055862426758 length of segment : 167 time for calcul the mask position with numpy : 0.0005464553833007812 nb_pixel_total : 23516 time to create 1 rle with old method : 0.028652191162109375 length of segment : 159 time for calcul the mask position with numpy : 0.00034809112548828125 nb_pixel_total : 10801 time to create 1 rle with old method : 0.012592554092407227 length of segment : 130 time for calcul the mask position with numpy : 0.012214899063110352 nb_pixel_total : 730903 time to create 1 rle with new method : 0.02173757553100586 length of segment : 905 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 3729 time to create 1 rle with old method : 0.004724979400634766 length of segment : 83 time for calcul the mask position with numpy : 0.0001742839813232422 nb_pixel_total : 11147 time to create 1 rle with old method : 0.013461589813232422 length of segment : 103 time for calcul the mask position with numpy : 0.0014650821685791016 nb_pixel_total : 63568 time to create 1 rle with old method : 0.07286334037780762 length of segment : 352 time for calcul the mask position with numpy : 0.0009951591491699219 nb_pixel_total : 50465 time to create 1 rle with old method : 0.05918383598327637 length of segment : 206 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 7398 time to create 1 rle with old method : 0.009005308151245117 length of segment : 58 time for calcul the mask position with numpy : 0.0003609657287597656 nb_pixel_total : 12439 time to create 1 rle with old method : 0.014798402786254883 length of segment : 225 time for calcul the mask position with numpy : 0.0022323131561279297 nb_pixel_total : 107663 time to create 1 rle with old method : 0.1247556209564209 length of segment : 515 time for calcul the mask position with numpy : 0.0004277229309082031 nb_pixel_total : 11405 time to create 1 rle with old method : 0.013067960739135742 length of segment : 137 time for calcul the mask position with numpy : 9.250640869140625e-05 nb_pixel_total : 1842 time to create 1 rle with old method : 0.0023162364959716797 length of segment : 44 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 9078 time to create 1 rle with old method : 0.011081218719482422 length of segment : 121 time for calcul the mask position with numpy : 0.0006241798400878906 nb_pixel_total : 32551 time to create 1 rle with old method : 0.0381014347076416 length of segment : 145 time for calcul the mask position with numpy : 0.0004267692565917969 nb_pixel_total : 17394 time to create 1 rle with old method : 0.020183086395263672 length of segment : 143 time for calcul the mask position with numpy : 0.00786733627319336 nb_pixel_total : 478629 time to create 1 rle with new method : 0.015521526336669922 length of segment : 1357 time for calcul the mask position with numpy : 0.0007956027984619141 nb_pixel_total : 31437 time to create 1 rle with old method : 0.0357818603515625 length of segment : 217 time for calcul the mask position with numpy : 0.0006165504455566406 nb_pixel_total : 29817 time to create 1 rle with old method : 0.034316062927246094 length of segment : 146 time for calcul the mask position with numpy : 0.00023102760314941406 nb_pixel_total : 6133 time to create 1 rle with old method : 0.0076656341552734375 length of segment : 85 time for calcul the mask position with numpy : 0.002451658248901367 nb_pixel_total : 101619 time to create 1 rle with old method : 0.11645650863647461 length of segment : 541 time for calcul the mask position with numpy : 0.0027298927307128906 nb_pixel_total : 139484 time to create 1 rle with old method : 0.15524649620056152 length of segment : 460 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 4214 time to create 1 rle with old method : 0.0050203800201416016 length of segment : 97 time spent for convertir_results : 3.442000150680542 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 : 12044 save missing photos in datou_result : time spend for datou_step_exec : 25.472697734832764 time spend to save output : 1.3246331214904785 total time spend for step 1 : 26.797330856323242 step2:crop_condition Sat Sep 6 07:40:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 10 ! 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 ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757137260_2917978 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 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.5164642333984375 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757137265_2917978 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 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0300986766815186 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/1757137267_2917978 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.5073621273040771 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757137284_2917978 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 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.328466892242432 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757137289_2917978 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 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.021139144897461 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381976235, 1381976200, 1381975907, 1381975880, 1381975843, 1381975801, 1381975755, 1381975697, 1381975226, 1381975192] Looping around the photos to save general results len do output : 37 /1381980384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980395Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980396Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980397Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381980444Didn'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, '3673602') ('3318', '26601766', '1381976235', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381976200', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975907', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975880', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975843', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975801', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975755', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975697', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975226', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975192', None, None, None, None, None, '3673602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 121 time used for this insertion : 0.1430041790008545 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.106131553649902 time spend to save output : 0.14460277557373047 total time spend for step 2 : 31.250734329223633 step3:rle_unique_nms_with_priority Sat Sep 6 07:41: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 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 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 : 5 nb_hashtags : 2 time to prepare the origin masks : 0.6825320720672607 time for calcul the mask position with numpy : 0.031047821044921875 nb_pixel_total : 863209 time to create 1 rle with new method : 0.2688591480255127 time for calcul the mask position with numpy : 0.0063588619232177734 nb_pixel_total : 12941 time to create 1 rle with old method : 0.014652252197265625 time for calcul the mask position with numpy : 0.006412982940673828 nb_pixel_total : 4381 time to create 1 rle with old method : 0.0049173831939697266 time for calcul the mask position with numpy : 0.038048505783081055 nb_pixel_total : 1097181 time to create 1 rle with new method : 0.31606411933898926 time for calcul the mask position with numpy : 0.006226062774658203 nb_pixel_total : 4018 time to create 1 rle with old method : 0.004605293273925781 time for calcul the mask position with numpy : 0.006573200225830078 nb_pixel_total : 91870 time to create 1 rle with old method : 0.12483787536621094 create new chi : 0.8464410305023193 time to delete rle : 0.021252155303955078 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 6332 TO DO : save crop sub photo not yet done ! save time : 0.47795987129211426 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.11670732498168945 time for calcul the mask position with numpy : 0.03818988800048828 nb_pixel_total : 2016112 time to create 1 rle with new method : 0.21899104118347168 time for calcul the mask position with numpy : 0.006412506103515625 nb_pixel_total : 7023 time to create 1 rle with old method : 0.008206367492675781 time for calcul the mask position with numpy : 0.0064983367919921875 nb_pixel_total : 6476 time to create 1 rle with old method : 0.01094675064086914 time for calcul the mask position with numpy : 0.011710643768310547 nb_pixel_total : 9646 time to create 1 rle with old method : 0.01610851287841797 time for calcul the mask position with numpy : 0.011870861053466797 nb_pixel_total : 34343 time to create 1 rle with old method : 0.048049211502075195 create new chi : 0.3839712142944336 time to delete rle : 0.0004336833953857422 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2152 TO DO : save crop sub photo not yet done ! save time : 0.2689998149871826 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.08445000648498535 time for calcul the mask position with numpy : 0.016980886459350586 nb_pixel_total : 872425 time to create 1 rle with new method : 0.08357763290405273 time for calcul the mask position with numpy : 0.015147924423217773 nb_pixel_total : 1193932 time to create 1 rle with new method : 0.02875494956970215 time for calcul the mask position with numpy : 0.0061168670654296875 nb_pixel_total : 7243 time to create 1 rle with old method : 0.008568525314331055 create new chi : 0.15982866287231445 time to delete rle : 0.0006349086761474609 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4258 TO DO : save crop sub photo not yet done ! save time : 0.567936897277832 No data in photo_id : 1381975880 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.14982008934020996 time for calcul the mask position with numpy : 0.059799909591674805 nb_pixel_total : 2067359 time to create 1 rle with new method : 0.10399103164672852 time for calcul the mask position with numpy : 0.006654024124145508 nb_pixel_total : 6241 time to create 1 rle with old method : 0.007207393646240234 create new chi : 0.188978910446167 time to delete rle : 0.00022482872009277344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1280 TO DO : save crop sub photo not yet done ! save time : 0.3590419292449951 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.8319716453552246 time for calcul the mask position with numpy : 0.09498977661132812 nb_pixel_total : 1920806 time to create 1 rle with new method : 0.6923003196716309 time for calcul the mask position with numpy : 0.0063478946685791016 nb_pixel_total : 23516 time to create 1 rle with old method : 0.02632427215576172 time for calcul the mask position with numpy : 0.006025552749633789 nb_pixel_total : 13193 time to create 1 rle with old method : 0.015424728393554688 time for calcul the mask position with numpy : 0.006741762161254883 nb_pixel_total : 104839 time to create 1 rle with old method : 0.13955020904541016 time for calcul the mask position with numpy : 0.007332563400268555 nb_pixel_total : 11246 time to create 1 rle with old method : 0.01851367950439453 create new chi : 1.0228126049041748 time to delete rle : 0.0004937648773193359 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3020 TO DO : save crop sub photo not yet done ! save time : 0.580162525177002 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.09323430061340332 time for calcul the mask position with numpy : 0.08291888236999512 nb_pixel_total : 1260821 time to create 1 rle with new method : 0.09003067016601562 time for calcul the mask position with numpy : 0.00687861442565918 nb_pixel_total : 63200 time to create 1 rle with old method : 0.07266521453857422 time for calcul the mask position with numpy : 0.006758689880371094 nb_pixel_total : 11147 time to create 1 rle with old method : 0.013083696365356445 time for calcul the mask position with numpy : 0.006316661834716797 nb_pixel_total : 3729 time to create 1 rle with old method : 0.004402875900268555 time for calcul the mask position with numpy : 0.012146234512329102 nb_pixel_total : 723902 time to create 1 rle with new method : 0.2355055809020996 time for calcul the mask position with numpy : 0.006715059280395508 nb_pixel_total : 10801 time to create 1 rle with old method : 0.012563943862915039 create new chi : 0.5683062076568604 time to delete rle : 0.0006215572357177734 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 4188 TO DO : save crop sub photo not yet done ! save time : 1.3743183612823486 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 0.330355167388916 time for calcul the mask position with numpy : 0.26741719245910645 nb_pixel_total : 1873479 time to create 1 rle with new method : 0.20754456520080566 time for calcul the mask position with numpy : 0.006230354309082031 nb_pixel_total : 9078 time to create 1 rle with old method : 0.010435104370117188 time for calcul the mask position with numpy : 0.0065419673919677734 nb_pixel_total : 1842 time to create 1 rle with old method : 0.0021355152130126953 time for calcul the mask position with numpy : 0.006270408630371094 nb_pixel_total : 11405 time to create 1 rle with old method : 0.012786388397216797 time for calcul the mask position with numpy : 0.0064792633056640625 nb_pixel_total : 107663 time to create 1 rle with old method : 0.12028384208679199 time for calcul the mask position with numpy : 0.0061113834381103516 nb_pixel_total : 12439 time to create 1 rle with old method : 0.01394033432006836 time for calcul the mask position with numpy : 0.005988359451293945 nb_pixel_total : 7229 time to create 1 rle with old method : 0.008280038833618164 time for calcul the mask position with numpy : 0.006773471832275391 nb_pixel_total : 50465 time to create 1 rle with old method : 0.05724596977233887 create new chi : 0.7551515102386475 time to delete rle : 0.0005984306335449219 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++Number RLEs to save : 3663 TO DO : save crop sub photo not yet done ! save time : 0.2894477844238281 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.052657365798950195 time for calcul the mask position with numpy : 0.018160581588745117 nb_pixel_total : 1545026 time to create 1 rle with new method : 0.03179597854614258 time for calcul the mask position with numpy : 0.011488914489746094 nb_pixel_total : 478629 time to create 1 rle with new method : 0.08458280563354492 time for calcul the mask position with numpy : 0.006011962890625 nb_pixel_total : 17394 time to create 1 rle with old method : 0.019702434539794922 time for calcul the mask position with numpy : 0.006184577941894531 nb_pixel_total : 32551 time to create 1 rle with old method : 0.03635287284851074 create new chi : 0.23388242721557617 time to delete rle : 0.0006716251373291016 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 4370 TO DO : save crop sub photo not yet done ! save time : 0.8381376266479492 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.18502163887023926 time for calcul the mask position with numpy : 0.04748058319091797 nb_pixel_total : 1760981 time to create 1 rle with new method : 0.3071322441101074 time for calcul the mask position with numpy : 0.006029605865478516 nb_pixel_total : 4214 time to create 1 rle with old method : 0.0049974918365478516 time for calcul the mask position with numpy : 0.006500720977783203 nb_pixel_total : 139399 time to create 1 rle with old method : 0.1566307544708252 time for calcul the mask position with numpy : 0.006360530853271484 nb_pixel_total : 101619 time to create 1 rle with old method : 0.11061334609985352 time for calcul the mask position with numpy : 0.006359100341796875 nb_pixel_total : 6133 time to create 1 rle with old method : 0.00685429573059082 time for calcul the mask position with numpy : 0.006033658981323242 nb_pixel_total : 29817 time to create 1 rle with old method : 0.03272604942321777 time for calcul the mask position with numpy : 0.00620579719543457 nb_pixel_total : 31437 time to create 1 rle with old method : 0.03503060340881348 create new chi : 0.749866247177124 time to delete rle : 0.0005924701690673828 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 4162 TO DO : save crop sub photo not yet done ! save time : 0.3061180114746094 map_output_result : {1381976235: (0.0, 'Should be the crop_list due to order', 0), 1381976200: (0.0, 'Should be the crop_list due to order', 0), 1381975907: (0.0, 'Should be the crop_list due to order', 0), 1381975880: (0.0, 'Should be the crop_list due to order', 0.0), 1381975843: (0.0, 'Should be the crop_list due to order', 0), 1381975801: (0.0, 'Should be the crop_list due to order', 0), 1381975755: (0.0, 'Should be the crop_list due to order', 0), 1381975697: (0.0, 'Should be the crop_list due to order', 0), 1381975226: (0.0, 'Should be the crop_list due to order', 0), 1381975192: (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 [1381976235, 1381976200, 1381975907, 1381975880, 1381975843, 1381975801, 1381975755, 1381975697, 1381975226, 1381975192] Looping around the photos to save general results len do output : 10 /1381976235.Didn't retrieve data . /1381976200.Didn't retrieve data . /1381975907.Didn't retrieve data . /1381975880.Didn't retrieve data . /1381975843.Didn't retrieve data . /1381975801.Didn't retrieve data . /1381975755.Didn't retrieve data . /1381975697.Didn't retrieve data . /1381975226.Didn't retrieve data . /1381975192.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, '3673602') ('3318', '26601766', '1381976235', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381976200', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975907', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975880', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975843', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975801', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975755', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975697', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975226', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975192', None, None, None, None, None, '3673602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.07636046409606934 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.94957709312439 time spend to save output : 0.07676362991333008 total time spend for step 3 : 13.02634072303772 step4:ventilate_hashtags_in_portfolio Sat Sep 6 07:41:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 26601766 get user id for portfolio 26601766 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`=26601766 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','carton','environnement','pet_clair','pet_fonce','flou','autre','background','mal_croppe','pehd','papier')) 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`=26601766 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','carton','environnement','pet_clair','pet_fonce','flou','autre','background','mal_croppe','pehd','papier')) AND mptpi.`min_score`=0.5 To do 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`=26601766 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','carton','environnement','pet_clair','pet_fonce','flou','autre','background','mal_croppe','pehd','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26601916,26601917,26601918,26601919,26601920,26601921,26601922,26601923,26601924,26601925,26601926?tags=metal,carton,environnement,pet_clair,pet_fonce,flou,autre,background,mal_croppe,pehd,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381976235, 1381976200, 1381975907, 1381975880, 1381975843, 1381975801, 1381975755, 1381975697, 1381975226, 1381975192] Looping around the photos to save general results len do output : 1 /26601766. 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, '3673602') ('3318', '26601766', '1381976235', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381976200', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975907', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975880', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975843', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975801', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975755', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975697', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975226', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975192', None, None, None, None, None, '3673602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.07491087913513184 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9477717876434326 time spend to save output : 0.07519340515136719 total time spend for step 4 : 1.0229651927947998 step5:final Sat Sep 6 07:41:44 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 : {1381976235: ('0.21615461033950617',), 1381976200: ('0.21615461033950617',), 1381975907: ('0.21615461033950617',), 1381975880: ('0.21615461033950617',), 1381975843: ('0.21615461033950617',), 1381975801: ('0.21615461033950617',), 1381975755: ('0.21615461033950617',), 1381975697: ('0.21615461033950617',), 1381975226: ('0.21615461033950617',), 1381975192: ('0.21615461033950617',)} new output for save of step final : {1381976235: ('0.21615461033950617',), 1381976200: ('0.21615461033950617',), 1381975907: ('0.21615461033950617',), 1381975880: ('0.21615461033950617',), 1381975843: ('0.21615461033950617',), 1381975801: ('0.21615461033950617',), 1381975755: ('0.21615461033950617',), 1381975697: ('0.21615461033950617',), 1381975226: ('0.21615461033950617',), 1381975192: ('0.21615461033950617',)} [1381976235, 1381976200, 1381975907, 1381975880, 1381975843, 1381975801, 1381975755, 1381975697, 1381975226, 1381975192] Looping around the photos to save general results len do output : 10 /1381976235.Didn't retrieve data . /1381976200.Didn't retrieve data . /1381975907.Didn't retrieve data . /1381975880.Didn't retrieve data . /1381975843.Didn't retrieve data . /1381975801.Didn't retrieve data . /1381975755.Didn't retrieve data . /1381975697.Didn't retrieve data . /1381975226.Didn't retrieve data . /1381975192.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, '3673602') ('3318', '26601766', '1381976235', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381976200', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975907', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975880', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975843', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975801', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975755', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975697', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975226', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975192', None, None, None, None, None, '3673602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.06193876266479492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14288759231567383 time spend to save output : 0.06236529350280762 total time spend for step 5 : 0.20525288581848145 step6:blur_detection Sat Sep 6 07:41:44 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/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484.jpg resize: (1080, 1920) 1381976235 1.1387044818159562 treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef.jpg resize: (1080, 1920) 1381976200 1.1653016677116896 treat image : temp/1757137231_2917978_1381975907_0f3b74673e8b0fb715c7800d36cbb285.jpg resize: (1080, 1920) 1381975907 2.7975653353405923 treat image : temp/1757137231_2917978_1381975880_cfbf8bfb91604c72e9f7b2bb3d703969.jpg resize: (1080, 1920) 1381975880 -1.0224669077699349 treat image : temp/1757137231_2917978_1381975843_69bf2064c862be86c3a36a848dbe0a0e.jpg resize: (1080, 1920) 1381975843 1.349302251691349 treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6.jpg resize: (1080, 1920) 1381975801 0.5569195522460706 treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0.jpg resize: (1080, 1920) 1381975755 -0.24299232000649446 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f.jpg resize: (1080, 1920) 1381975697 -0.9263353771849403 treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6.jpg resize: (1080, 1920) 1381975226 1.7429969613599 treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4.jpg resize: (1080, 1920) 1381975192 1.0951164154122026 treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567639_0.png resize: (83, 63) 1381980384 -1.0420375828433168 treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567643_0.png resize: (179, 315) 1381980385 0.48944401059371634 treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567645_0.png resize: (68, 126) 1381980386 -0.5966390336643007 treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567646_0.png resize: (126, 106) 1381980387 -1.2797859618902272 treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567644_0.png resize: (153, 91) 1381980388 -0.8173098055394812 treat image : temp/1757137231_2917978_1381975907_0f3b74673e8b0fb715c7800d36cbb285_rle_crop_3947567647_0.png resize: (81, 153) 1381980389 -0.8439733954693436 treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567653_0.png resize: (157, 225) 1381980390 -0.7775330502017958 treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567650_0.png resize: (123, 130) 1381980391 -2.3612438818579227 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567661_0.png resize: (219, 103) 1381980392 -2.26407655429698 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567659_0.png resize: (173, 378) 1381980393 -3.7157648573317865 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567660_0.png resize: (54, 180) 1381980394 -0.2572861000438432 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567665_0.png resize: (110, 151) 1381980395 -1.5486320129063573 treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6_rle_crop_3947567667_0.png resize: (133, 175) 1381980396 -0.8274746044213498 treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567670_0.png resize: (144, 262) 1381980397 -0.5117274555750432 treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567669_0.png resize: (213, 205) 1381980398 -0.12911766628763738 treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567671_0.png resize: (85, 81) 1381980399 20.0 treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567652_0.png resize: (164, 123) 1381980400 -1.2766532510072457 treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567656_0.png resize: (83, 71) 1381980401 -1.5648184342960143 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567664_0.png resize: (44, 54) 1381980402 -3.690371170860436 treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567640_0.png resize: (992, 1704) 1381980419 -1.085754708374355 treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567641_0.png resize: (137, 177) 1381980420 -1.5313174505146392 treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567642_0.png resize: (111, 200) 1381980421 -1.7298852189860507 treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567638_0.png resize: (489, 335) 1381980422 -0.2603202910697176 treat image : temp/1757137231_2917978_1381975907_0f3b74673e8b0fb715c7800d36cbb285_rle_crop_3947567648_0.png resize: (955, 1439) 1381980423 0.049440500513101886 treat image : temp/1757137231_2917978_1381975843_69bf2064c862be86c3a36a848dbe0a0e_rle_crop_3947567649_0.png resize: (100, 77) 1381980424 -0.4942358056002361 treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567651_0.png resize: (513, 342) 1381980425 0.2808829159782693 treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567655_0.png resize: (905, 1122) 1381980426 -0.24207871326337982 treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567658_0.png resize: (289, 455) 1381980427 -1.322176014404217 treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567657_0.png resize: (103, 135) 1381980428 -4.263292328018111 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567662_0.png resize: (507, 337) 1381980429 0.11621585878841739 treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6_rle_crop_3947567668_0.png resize: (968, 856) 1381980430 -0.2859672697192149 treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6_rle_crop_3947567666_0.png resize: (136, 348) 1381980431 -0.19860355385993905 treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567674_0.png resize: (96, 58) 1381980432 -1.5182289117489525 treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567673_0.png resize: (460, 493) 1381980433 -0.23078265803009168 treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567672_0.png resize: (531, 345) 1381980434 0.3820764860517452 treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567654_0.png resize: (130, 112) 1381980443 -2.304347439930299 treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567663_0.png resize: (135, 125) 1381980444 -2.6717698913112593 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 : 47 time used for this insertion : 0.013891220092773438 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.37968015670776367 save missing photos in datou_result : time spend for datou_step_exec : 9.992847442626953 time spend to save output : 0.39824724197387695 total time spend for step 6 : 10.39109468460083 step7:brightness Sat Sep 6 07:41:55 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/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484.jpg treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef.jpg treat image : temp/1757137231_2917978_1381975907_0f3b74673e8b0fb715c7800d36cbb285.jpg treat image : temp/1757137231_2917978_1381975880_cfbf8bfb91604c72e9f7b2bb3d703969.jpg treat image : temp/1757137231_2917978_1381975843_69bf2064c862be86c3a36a848dbe0a0e.jpg treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6.jpg treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0.jpg treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f.jpg treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6.jpg treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4.jpg treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567639_0.png treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567643_0.png treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567645_0.png treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567646_0.png treat image : temp/1757137231_2917978_1381976200_b71be9ec74700f18ab852336804073ef_rle_crop_3947567644_0.png treat image : temp/1757137231_2917978_1381975907_0f3b74673e8b0fb715c7800d36cbb285_rle_crop_3947567647_0.png treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567653_0.png treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567650_0.png treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567661_0.png treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567659_0.png treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567660_0.png treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567665_0.png treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6_rle_crop_3947567667_0.png treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567670_0.png treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567669_0.png treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567671_0.png treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567652_0.png treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567656_0.png treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567664_0.png treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567640_0.png treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567641_0.png treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567642_0.png treat image : temp/1757137231_2917978_1381976235_4b6dbbb810dd564430a12c4faea75484_rle_crop_3947567638_0.png treat image : temp/1757137231_2917978_1381975907_0f3b74673e8b0fb715c7800d36cbb285_rle_crop_3947567648_0.png treat image : temp/1757137231_2917978_1381975843_69bf2064c862be86c3a36a848dbe0a0e_rle_crop_3947567649_0.png treat image : temp/1757137231_2917978_1381975801_dbecb92fbcdab479f4e8aae6c167e0d6_rle_crop_3947567651_0.png treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567655_0.png treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567658_0.png treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567657_0.png treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567662_0.png treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6_rle_crop_3947567668_0.png treat image : temp/1757137231_2917978_1381975226_3b9ee0f7f4b513bbb5fe54268b48e5d6_rle_crop_3947567666_0.png treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567674_0.png treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567673_0.png treat image : temp/1757137231_2917978_1381975192_a222214da9905e955a935110bdf5fcd4_rle_crop_3947567672_0.png treat image : temp/1757137231_2917978_1381975755_60f4935c8b09f677ab1a3965d6525fc0_rle_crop_3947567654_0.png treat image : temp/1757137231_2917978_1381975697_5fccc0a3a40d853fa366965db5569e9f_rle_crop_3947567663_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 : 47 time used for this insertion : 0.016386747360229492 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.23134613037109375 save missing photos in datou_result : time spend for datou_step_exec : 2.850503444671631 time spend to save output : 0.2530517578125 total time spend for step 7 : 3.103555202484131 step8:velours_tree Sat Sep 6 07:41: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 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.09631061553955078 time spend to save output : 4.410743713378906e-05 total time spend for step 8 : 0.09635472297668457 step9:send_mail_cod Sat Sep 6 07:41: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 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_P26601766_06-09-2025_07_41_58.pdf 26601916 change filename to text .imagette266019161757137318 26601917 change filename to text .change filename to text .imagette266019171757137318 26601919 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 .imagette266019191757137318 26601920 imagette266019201757137319 26601921 imagette266019211757137319 26601922 change filename to text .change filename to text .imagette266019221757137319 26601923 imagette266019231757137319 26601924 imagette266019241757137319 26601925 imagette266019251757137319 26601926 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 .imagette266019261757137319 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26601766 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26601916,26601917,26601918,26601919,26601920,26601921,26601922,26601923,26601924,26601925,26601926?tags=metal,carton,environnement,pet_clair,pet_fonce,flou,autre,background,mal_croppe,pehd,papier args[1381976235] : ((1381976235, 1.1387044818159562, 492688767), (1381976235, 0.5010193333496777, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381976200] : ((1381976200, 1.1653016677116896, 492688767), (1381976200, 0.5116119905158819, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975907] : ((1381975907, 2.7975653353405923, 492688767), (1381975907, 0.5239987077147262, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975880] : ((1381975880, -1.0224669077699349, 492688767), (1381975880, 2.00237454227409, 492649241), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975843] : ((1381975843, 1.349302251691349, 492688767), (1381975843, 0.9584672407538357, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975801] : ((1381975801, 0.5569195522460706, 492688767), (1381975801, 0.6064498214525806, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975755] : ((1381975755, -0.24299232000649446, 492688767), (1381975755, 0.7215935112446679, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975697] : ((1381975697, -0.9263353771849403, 492688767), (1381975697, 0.3757501075575308, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975226] : ((1381975226, 1.7429969613599, 492688767), (1381975226, 0.611363175117335, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com args[1381975192] : ((1381975192, 1.0951164154122026, 492688767), (1381975192, 0.8295919427238004, 2107752395), '0.21615461033950617') We are sending mail with results at report@fotonower.com refus_total : 0.21615461033950617 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=26601766 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_P26601766_06-09-2025_07_41_58.pdf results_Auto_P26601766_06-09-2025_07_41_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26601766_06-09-2025_07_41_58.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','26601766','results_Auto_P26601766_06-09-2025_07_41_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26601766_06-09-2025_07_41_58.pdf','pdf','','0.51','0.21615461033950617') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26601766

https://www.fotonower.com/image?json=false&list_photos_id=1381976235
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1387044818159562)
https://www.fotonower.com/image?json=false&list_photos_id=1381976200
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1653016677116896)
https://www.fotonower.com/image?json=false&list_photos_id=1381975907
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.7975653353405923)
https://www.fotonower.com/image?json=false&list_photos_id=1381975880
La photo est trop lumineuse, merci de reprendre une photo.(avec le score = 2.00237454227409,le score doit entre -2 et 2)
https://www.fotonower.com/image?json=false&list_photos_id=1381975843
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.349302251691349)
https://www.fotonower.com/image?json=false&list_photos_id=1381975801
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381975755
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381975697
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381975226
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7429969613599)
https://www.fotonower.com/image?json=false&list_photos_id=1381975192
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0951164154122026)

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

exemples de contaminants: metal: https://www.fotonower.com/view/26601916?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26601917?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26601919?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26601922?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26601926?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26601766_06-09-2025_07_41_58.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26601916,26601917,26601918,26601919,26601920,26601921,26601922,26601923,26601924,26601925,26601926?tags=metal,carton,environnement,pet_clair,pet_fonce,flou,autre,background,mal_croppe,pehd,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 06 Sep 2025 05:42:02 GMT Content-Length: 0 Connection: close X-Message-Id: Drm7_OPUT4uIRuKmHXfE5Q 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 [1381976235, 1381976200, 1381975907, 1381975880, 1381975843, 1381975801, 1381975755, 1381975697, 1381975226, 1381975192] 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, '3673602') ('3318', '26601766', '1381976235', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381976200', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975907', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975880', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975843', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975801', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975755', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975697', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975226', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975192', None, None, None, None, None, '3673602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.05846238136291504 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.192849636077881 time spend to save output : 0.05887913703918457 total time spend for step 9 : 4.251728773117065 step10:split_time_score Sat Sep 6 07:42:02 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'}] (('06', 9), ('07', 1)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06092025 26601766 Nombre de photos uploadées : 10 / 23040 (0%) 06092025 26601766 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 06092025 26601766 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005779266357421875 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21881890296936035 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.21615461033950617 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26601766_06-09-2025_07_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26601766 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`=26601766 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06092025': {'nb_upload': 10, '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 [1381976235, 1381976200, 1381975907, 1381975880, 1381975843, 1381975801, 1381975755, 1381975697, 1381975226, 1381975192] Looping around the photos to save general results len do output : 1 /26601766Didn'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, '3673602') ('3318', '26601766', '1381976235', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381976200', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975907', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975880', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975843', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975801', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975755', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975697', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975226', None, None, None, None, None, '3673602') ('3318', None, None, None, None, None, None, None, '3673602') ('3318', '26601766', '1381975192', None, None, None, None, None, '3673602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.2316875457763672 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.472675085067749 time spend to save output : 0.23192596435546875 total time spend for step 10 : 0.7046010494232178 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 52.98user 20.87system 1:37.15elapsed 76%CPU (0avgtext+0avgdata 2769292maxresident)k 509040inputs+32960outputs (62major+1627637minor)pagefaults 0swaps