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 : 146762 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 : ['2652110'] with mtr_portfolio_ids : ['21178346'] and first list_photo_ids : [] new path : /proc/146762/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 2.2177157402038574 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 Mar 8 12:10:31 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 havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1618 wait 20 seconds l 3637 free memory gpu now : 1618 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-08 12:10:54.733926: 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-03-08 12:10:54.759223: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-08 12:10:54.761488: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd37c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-08 12:10:54.761561: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-08 12:10:54.766061: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-08 12:10:55.066021: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xbd1f7c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-08 12:10:55.066079: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-08 12:10:55.067361: 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-03-08 12:10:55.071136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 12:10:55.075813: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 12:10:55.078185: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 12:10:55.079018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 12:10:55.082708: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 12:10:55.084225: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 12:10:55.090669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 12:10:55.091976: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 12:10:55.092087: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 12:10:55.092783: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 12:10:55.092803: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 12:10:55.092829: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 12:10:55.093969: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1200 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-03-08 12:10:55.417923: 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-03-08 12:10:55.418000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 12:10:55.418027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 12:10:55.418045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 12:10:55.418063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 12:10:55.418080: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 12:10:55.418098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 12:10:55.418115: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 12:10:55.419025: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 12:10:55.419942: 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-03-08 12:10:55.419979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 12:10:55.420000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 12:10:55.420020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 12:10:55.420040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 12:10:55.420059: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 12:10:55.420078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 12:10:55.420097: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 12:10:55.421130: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 12:10:55.421166: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 12:10:55.421177: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 12:10:55.421187: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 12:10:55.422755: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1200 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-03-08 12:11:08.140405: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 12:11:08.169036: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED 2025-03-08 12:11:08.170158: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED 2025-03-08 12:11:08.179724: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 12:11:08.185823: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:08.187515: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:10.441711: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:10.443631: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:12.833791: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:12.836322: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:14.922426: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:14.924737: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:17.229462: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:17.231726: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:19.644520: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:19.646337: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:23.102628: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:23.104765: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 11 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338884878_d9094cd545d8670adf8de5f9b2cac523.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338884874_9cb46b8e068b4bf841b6593f603a5a66.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338884754_e4b7255ea3794802b2522119079e5547.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338884728_cf9f98cb3506760e3e739a4c5c8c596f.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338884448_b3bd9b07716817b3504ce6a9e173c3a1.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338884444_b94527401a406744d13ba44911bd0302.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338884443_d4280d2dab237f6e0a72e0ae70a164ff.jpg 2025-03-08 12:11:26.405101: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:26.406967: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:28.299430: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:28.302061: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:30.952564: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:30.954408: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-08 12:11:35.493872: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.493941: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.500449: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.500484: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.507087: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.507124: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.507630: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.507647: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.537876: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.537926: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.543982: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.544011: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.544574: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.544593: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 12:11:35.581143: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.581681: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.658451: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.659023: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.660545: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.661057: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.667977: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.668497: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.674319: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.674925: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.676460: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.676998: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.708427: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.709146: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.709833: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.710541: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.714474: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.715047: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.731166: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.731719: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.732236: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.732773: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.745565: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.746099: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.754743: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.755714: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.769527: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.770455: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.774792: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.775352: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.776098: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.776619: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.787509: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.788099: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.788666: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.789223: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.789785: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.790382: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.835650: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.835716: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-03-08 12:11:35.836708: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.837704: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.845061: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.846038: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.854421: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.855041: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.876048: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.876745: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.877431: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.878113: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.882517: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.883112: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.883653: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.884175: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.885361: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.895632: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.896212: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.905665: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.906230: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.906828: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.907432: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.907988: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 12:11:35.908595: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 689.88M (723386368 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338876601_3b946e2171553947f434c71be4275305.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338876598_1a709f02ac65620deec74cdbf7010cac.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741432229_146762_1338876590_c1ccd3ad4485fd9f0e7e185b89e7969c.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 48 Detection mask done ! Trying to reset tf kernel 148446 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 415 tf kernel not reseted sub process len(results) : 1 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 1 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 : 1415 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.0005886554718017578 nb_pixel_total : 16543 time to create 1 rle with old method : 0.017852783203125 length of segment : 208 time for calcul the mask position with numpy : 0.002349376678466797 nb_pixel_total : 98603 time to create 1 rle with old method : 0.10693907737731934 length of segment : 307 time for calcul the mask position with numpy : 0.0002505779266357422 nb_pixel_total : 13565 time to create 1 rle with old method : 0.015297412872314453 length of segment : 114 time for calcul the mask position with numpy : 0.0007860660552978516 nb_pixel_total : 35147 time to create 1 rle with old method : 0.038033246994018555 length of segment : 253 time for calcul the mask position with numpy : 0.0036461353302001953 nb_pixel_total : 162589 time to create 1 rle with new method : 0.010085821151733398 length of segment : 564 time for calcul the mask position with numpy : 0.014544248580932617 nb_pixel_total : 316703 time to create 1 rle with new method : 0.06561899185180664 length of segment : 524 time for calcul the mask position with numpy : 0.000553131103515625 nb_pixel_total : 29397 time to create 1 rle with old method : 0.03202009201049805 length of segment : 232 time for calcul the mask position with numpy : 0.00016546249389648438 nb_pixel_total : 6569 time to create 1 rle with old method : 0.007424831390380859 length of segment : 74 time for calcul the mask position with numpy : 0.0002856254577636719 nb_pixel_total : 12044 time to create 1 rle with old method : 0.012917280197143555 length of segment : 202 time for calcul the mask position with numpy : 0.0008084774017333984 nb_pixel_total : 39865 time to create 1 rle with old method : 0.04344749450683594 length of segment : 339 time for calcul the mask position with numpy : 0.002552509307861328 nb_pixel_total : 116095 time to create 1 rle with old method : 0.1216437816619873 length of segment : 573 time for calcul the mask position with numpy : 0.00047469139099121094 nb_pixel_total : 19607 time to create 1 rle with old method : 0.021826505661010742 length of segment : 183 time for calcul the mask position with numpy : 0.001811981201171875 nb_pixel_total : 91675 time to create 1 rle with old method : 0.10072064399719238 length of segment : 428 time for calcul the mask position with numpy : 0.0003941059112548828 nb_pixel_total : 6140 time to create 1 rle with old method : 0.006821393966674805 length of segment : 99 time for calcul the mask position with numpy : 0.0006797313690185547 nb_pixel_total : 14416 time to create 1 rle with old method : 0.0158843994140625 length of segment : 130 time for calcul the mask position with numpy : 0.0013554096221923828 nb_pixel_total : 18289 time to create 1 rle with old method : 0.01958465576171875 length of segment : 174 time for calcul the mask position with numpy : 0.0002906322479248047 nb_pixel_total : 7783 time to create 1 rle with old method : 0.008426666259765625 length of segment : 167 time for calcul the mask position with numpy : 0.003573179244995117 nb_pixel_total : 87730 time to create 1 rle with old method : 0.09299683570861816 length of segment : 364 time for calcul the mask position with numpy : 0.0006253719329833984 nb_pixel_total : 22390 time to create 1 rle with old method : 0.02509474754333496 length of segment : 344 time for calcul the mask position with numpy : 0.0024755001068115234 nb_pixel_total : 63012 time to create 1 rle with old method : 0.06900763511657715 length of segment : 355 time for calcul the mask position with numpy : 0.0005767345428466797 nb_pixel_total : 14044 time to create 1 rle with old method : 0.015563249588012695 length of segment : 170 time for calcul the mask position with numpy : 0.0014820098876953125 nb_pixel_total : 67182 time to create 1 rle with old method : 0.07465863227844238 length of segment : 365 time for calcul the mask position with numpy : 0.00016641616821289062 nb_pixel_total : 4604 time to create 1 rle with old method : 0.005034923553466797 length of segment : 81 time spent for convertir_results : 2.4065053462982178 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 23 chid ids of type : 3594 Number RLEs to save : 6250 save missing photos in datou_result : time spend for datou_step_exec : 76.34481239318848 time spend to save output : 7.651010274887085 total time spend for step 1 : 83.99582266807556 step2:crop_condition Sat Mar 8 12:11: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 ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 11 ! batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741432321_146762 we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.263177156448364 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/1741432330_146762 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8180947303771973 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 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741432335_146762 we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.5609776973724365 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 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1338884878, 1338884874, 1338884754, 1338884728, 1338884448, 1338884444, 1338884443, 1338876601, 1338876598, 1338876590, 1338876584] Looping around the photos to save general results len do output : 23 /1341842252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341842299Didn'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, '2652110') ('3318', '21178346', '1338884878', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884874', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884754', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884728', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884448', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884444', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884443', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876601', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876598', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876590', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876584', None, None, None, None, None, '2652110') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 80 time used for this insertion : 3.1247904300689697 save_final save missing photos in datou_result : time spend for datou_step_exec : 21.916022777557373 time spend to save output : 3.1260905265808105 total time spend for step 2 : 25.042113304138184 step3:rle_unique_nms_with_priority Sat Mar 8 12:12:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++ No data in photo_id : 1338884878 No data in photo_id : 1338884874 No data in photo_id : 1338884754 No data in photo_id : 1338884728 No data in photo_id : 1338884448 No data in photo_id : 1338884444 No data in photo_id : 1338884443 No data in photo_id : 1338876601 No data in photo_id : 1338876598 No data in photo_id : 1338876590 nb_obj : 23 nb_hashtags : 3 time to prepare the origin masks : 13.715704679489136 time for calcul the mask position with numpy : 0.483231782913208 nb_pixel_total : 7131529 time to create 1 rle with new method : 1.0302610397338867 time for calcul the mask position with numpy : 0.02879929542541504 nb_pixel_total : 4604 time to create 1 rle with old method : 0.005263805389404297 time for calcul the mask position with numpy : 0.047181129455566406 nb_pixel_total : 6100 time to create 1 rle with old method : 0.007946014404296875 time for calcul the mask position with numpy : 0.044156551361083984 nb_pixel_total : 14044 time to create 1 rle with old method : 0.01629471778869629 time for calcul the mask position with numpy : 0.0444943904876709 nb_pixel_total : 63012 time to create 1 rle with old method : 0.07758903503417969 time for calcul the mask position with numpy : 0.0456700325012207 nb_pixel_total : 22390 time to create 1 rle with old method : 0.02492499351501465 time for calcul the mask position with numpy : 0.04449868202209473 nb_pixel_total : 87730 time to create 1 rle with old method : 0.09681010246276855 time for calcul the mask position with numpy : 0.043363094329833984 nb_pixel_total : 7783 time to create 1 rle with old method : 0.008729696273803711 time for calcul the mask position with numpy : 0.0395817756652832 nb_pixel_total : 18289 time to create 1 rle with old method : 0.020477294921875 time for calcul the mask position with numpy : 0.027521848678588867 nb_pixel_total : 14416 time to create 1 rle with old method : 0.01621270179748535 time for calcul the mask position with numpy : 0.02964019775390625 nb_pixel_total : 6067 time to create 1 rle with old method : 0.00989532470703125 time for calcul the mask position with numpy : 0.028158187866210938 nb_pixel_total : 78451 time to create 1 rle with old method : 0.1138157844543457 time for calcul the mask position with numpy : 0.027118921279907227 nb_pixel_total : 19607 time to create 1 rle with old method : 0.02214956283569336 time for calcul the mask position with numpy : 0.026982545852661133 nb_pixel_total : 89353 time to create 1 rle with old method : 0.10146021842956543 time for calcul the mask position with numpy : 0.02598118782043457 nb_pixel_total : 39865 time to create 1 rle with old method : 0.04493975639343262 time for calcul the mask position with numpy : 0.025356292724609375 nb_pixel_total : 12044 time to create 1 rle with old method : 0.013380765914916992 time for calcul the mask position with numpy : 0.026248693466186523 nb_pixel_total : 6569 time to create 1 rle with old method : 0.007386445999145508 time for calcul the mask position with numpy : 0.025388479232788086 nb_pixel_total : 29397 time to create 1 rle with old method : 0.03423905372619629 time for calcul the mask position with numpy : 0.02825188636779785 nb_pixel_total : 316703 time to create 1 rle with new method : 1.189173698425293 time for calcul the mask position with numpy : 0.02787160873413086 nb_pixel_total : 162589 time to create 1 rle with new method : 0.860614538192749 time for calcul the mask position with numpy : 0.027985095977783203 nb_pixel_total : 35147 time to create 1 rle with old method : 0.06423354148864746 time for calcul the mask position with numpy : 0.026287555694580078 nb_pixel_total : 13565 time to create 1 rle with old method : 0.015349864959716797 time for calcul the mask position with numpy : 0.027729511260986328 nb_pixel_total : 98603 time to create 1 rle with old method : 0.11132144927978516 time for calcul the mask position with numpy : 0.028562545776367188 nb_pixel_total : 16543 time to create 1 rle with old method : 0.023233652114868164 create new chi : 5.243182420730591 time to delete rle : 0.029851198196411133 batch 1 Loaded 47 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++Number RLEs to save : 13989 TO DO : save crop sub photo not yet done ! save time : 4.8407580852508545 map_output_result : {1338884878: (0.0, 'Should be the crop_list due to order', 0.0), 1338884874: (0.0, 'Should be the crop_list due to order', 0.0), 1338884754: (0.0, 'Should be the crop_list due to order', 0.0), 1338884728: (0.0, 'Should be the crop_list due to order', 0.0), 1338884448: (0.0, 'Should be the crop_list due to order', 0.0), 1338884444: (0.0, 'Should be the crop_list due to order', 0.0), 1338884443: (0.0, 'Should be the crop_list due to order', 0.0), 1338876601: (0.0, 'Should be the crop_list due to order', 0.0), 1338876598: (0.0, 'Should be the crop_list due to order', 0.0), 1338876590: (0.0, 'Should be the crop_list due to order', 0.0), 1338876584: (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 [1338884878, 1338884874, 1338884754, 1338884728, 1338884448, 1338884444, 1338884443, 1338876601, 1338876598, 1338876590, 1338876584] Looping around the photos to save general results len do output : 11 /1338884878.Didn't retrieve data . /1338884874.Didn't retrieve data . /1338884754.Didn't retrieve data . /1338884728.Didn't retrieve data . /1338884448.Didn't retrieve data . /1338884444.Didn't retrieve data . /1338884443.Didn't retrieve data . /1338876601.Didn't retrieve data . /1338876598.Didn't retrieve data . /1338876590.Didn't retrieve data . /1338876584.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, '2652110') ('3318', '21178346', '1338884878', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884874', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884754', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884728', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884448', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884444', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884443', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876601', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876598', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876590', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876584', None, None, None, None, None, '2652110') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.06826329231262207 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.776007175445557 time spend to save output : 0.06914639472961426 total time spend for step 3 : 24.84515357017517 step4:ventilate_hashtags_in_portfolio Sat Mar 8 12:12:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 21178346 get user id for portfolio 21178346 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`=21178346 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','mal_croppe','background','pet_clair','carton','environnement','flou','autre','metal','pet_fonce','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`=21178346 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','mal_croppe','background','pet_clair','carton','environnement','flou','autre','metal','pet_fonce','papier')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21178346 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','mal_croppe','background','pet_clair','carton','environnement','flou','autre','metal','pet_fonce','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21178887,21178888,21178889,21178890,21178891,21178892,21178893,21178894,21178895,21178896,21178897?tags=pehd,mal_croppe,background,pet_clair,carton,environnement,flou,autre,metal,pet_fonce,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338884878, 1338884874, 1338884754, 1338884728, 1338884448, 1338884444, 1338884443, 1338876601, 1338876598, 1338876590, 1338876584] Looping around the photos to save general results len do output : 1 /21178346. 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, '2652110') ('3318', '21178346', '1338884878', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884874', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884754', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884728', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884448', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884444', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884443', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876601', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876598', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876590', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876584', None, None, None, None, None, '2652110') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.01784515380859375 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7319300174713135 time spend to save output : 0.018321752548217773 total time spend for step 4 : 1.7502517700195312 step5:final Sat Mar 8 12:12:47 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 : {1338884878: ('0.012745412019500559',), 1338884874: ('0.012745412019500559',), 1338884754: ('0.012745412019500559',), 1338884728: ('0.012745412019500559',), 1338884448: ('0.012745412019500559',), 1338884444: ('0.012745412019500559',), 1338884443: ('0.012745412019500559',), 1338876601: ('0.012745412019500559',), 1338876598: ('0.012745412019500559',), 1338876590: ('0.012745412019500559',), 1338876584: ('0.012745412019500559',)} new output for save of step final : {1338884878: ('0.012745412019500559',), 1338884874: ('0.012745412019500559',), 1338884754: ('0.012745412019500559',), 1338884728: ('0.012745412019500559',), 1338884448: ('0.012745412019500559',), 1338884444: ('0.012745412019500559',), 1338884443: ('0.012745412019500559',), 1338876601: ('0.012745412019500559',), 1338876598: ('0.012745412019500559',), 1338876590: ('0.012745412019500559',), 1338876584: ('0.012745412019500559',)} [1338884878, 1338884874, 1338884754, 1338884728, 1338884448, 1338884444, 1338884443, 1338876601, 1338876598, 1338876590, 1338876584] Looping around the photos to save general results len do output : 11 /1338884878.Didn't retrieve data . /1338884874.Didn't retrieve data . /1338884754.Didn't retrieve data . /1338884728.Didn't retrieve data . /1338884448.Didn't retrieve data . /1338884444.Didn't retrieve data . /1338884443.Didn't retrieve data . /1338876601.Didn't retrieve data . /1338876598.Didn't retrieve data . /1338876590.Didn't retrieve data . /1338876584.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, '2652110') ('3318', '21178346', '1338884878', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884874', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884754', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884728', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884448', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884444', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884443', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876601', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876598', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876590', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876584', None, None, None, None, None, '2652110') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.014024972915649414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12493062019348145 time spend to save output : 0.01455235481262207 total time spend for step 5 : 0.13948297500610352 step6:blur_detection Sat Mar 8 12:12:47 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/1741432229_146762_1338884878_d9094cd545d8670adf8de5f9b2cac523.jpg resize: (2160, 3840) 1338884878 -4.059940241596144 treat image : temp/1741432229_146762_1338884874_9cb46b8e068b4bf841b6593f603a5a66.jpg resize: (2160, 3840) 1338884874 -4.267287203218708 treat image : temp/1741432229_146762_1338884754_e4b7255ea3794802b2522119079e5547.jpg resize: (2160, 3840) 1338884754 -4.570472782499055 treat image : temp/1741432229_146762_1338884728_cf9f98cb3506760e3e739a4c5c8c596f.jpg resize: (2160, 3840) 1338884728 -6.713616353834859 treat image : temp/1741432229_146762_1338884448_b3bd9b07716817b3504ce6a9e173c3a1.jpg resize: (2160, 3840) 1338884448 -6.268482618811276 treat image : temp/1741432229_146762_1338884444_b94527401a406744d13ba44911bd0302.jpg resize: (2160, 3840) 1338884444 -6.392636250273925 treat image : temp/1741432229_146762_1338884443_d4280d2dab237f6e0a72e0ae70a164ff.jpg resize: (2160, 3840) 1338884443 -4.578899699983378 treat image : temp/1741432229_146762_1338876601_3b946e2171553947f434c71be4275305.jpg resize: (2160, 3840) 1338876601 -2.7835365668643037 treat image : temp/1741432229_146762_1338876598_1a709f02ac65620deec74cdbf7010cac.jpg resize: (2160, 3840) 1338876598 -5.167012901454797 treat image : temp/1741432229_146762_1338876590_c1ccd3ad4485fd9f0e7e185b89e7969c.jpg resize: (2160, 3840) 1338876590 -5.265023732075339 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8.jpg resize: (2160, 3840) 1338876584 -4.208132078413847 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529763_0.png resize: (337, 323) 1341842252 -3.735555737702746 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529745_0.png resize: (252, 228) 1341842253 -2.7954753544972233 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529752_0.png resize: (521, 380) 1341842254 -4.03134710293973 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529751_0.png resize: (330, 187) 1341842255 -3.8204599771409553 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529748_0.png resize: (226, 166) 1341842256 -3.18241798576995 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529756_0.png resize: (114, 223) 1341842257 -3.838757228220973 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529762_0.png resize: (159, 104) 1341842258 -4.338585887130427 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529757_0.png resize: (174, 163) 1341842259 -2.7993381360752023 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529760_0.png resize: (222, 282) 1341842261 -3.706004089384511 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529750_0.png resize: (179, 89) 1341842262 -4.5155143354088345 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529755_0.png resize: (91, 114) 1341842263 -1.194091585664597 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529753_0.png resize: (182, 177) 1341842264 -2.8942232322041272 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529764_0.png resize: (80, 74) 1341842267 -1.4588038482840717 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529754_0.png resize: (339, 437) 1341842271 -4.30942094006834 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529749_0.png resize: (72, 151) 1341842274 -3.860600291184716 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529742_0.png resize: (178, 145) 1341842275 -3.77096060549895 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529744_0.png resize: (113, 153) 1341842276 -3.7940704396083844 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529761_0.png resize: (302, 328) 1341842281 -3.7312718434637246 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529758_0.png resize: (165, 129) 1341842282 -3.5441828306749428 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529746_0.png resize: (563, 418) 1341842296 -4.198617190248889 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529743_0.png resize: (276, 566) 1341842297 -4.301350454605608 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529747_0.png resize: (524, 1660) 1341842298 -1.8668500054830224 treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529759_0.png resize: (352, 374) 1341842299 -3.8754552909620568 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 : 34 time used for this insertion : 0.0828092098236084 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 34 time used for this insertion : 0.013658523559570312 save missing photos in datou_result : time spend for datou_step_exec : 49.4488160610199 time spend to save output : 0.12072944641113281 total time spend for step 6 : 49.56954550743103 step7:brightness Sat Mar 8 12:13:37 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/1741432229_146762_1338884878_d9094cd545d8670adf8de5f9b2cac523.jpg treat image : temp/1741432229_146762_1338884874_9cb46b8e068b4bf841b6593f603a5a66.jpg treat image : temp/1741432229_146762_1338884754_e4b7255ea3794802b2522119079e5547.jpg treat image : temp/1741432229_146762_1338884728_cf9f98cb3506760e3e739a4c5c8c596f.jpg treat image : temp/1741432229_146762_1338884448_b3bd9b07716817b3504ce6a9e173c3a1.jpg treat image : temp/1741432229_146762_1338884444_b94527401a406744d13ba44911bd0302.jpg treat image : temp/1741432229_146762_1338884443_d4280d2dab237f6e0a72e0ae70a164ff.jpg treat image : temp/1741432229_146762_1338876601_3b946e2171553947f434c71be4275305.jpg treat image : temp/1741432229_146762_1338876598_1a709f02ac65620deec74cdbf7010cac.jpg treat image : temp/1741432229_146762_1338876590_c1ccd3ad4485fd9f0e7e185b89e7969c.jpg treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8.jpg treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529763_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529745_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529752_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529751_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529748_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529756_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529762_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529757_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529760_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529750_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529755_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529753_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529764_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529754_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529749_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529742_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529744_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529761_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529758_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529746_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529743_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529747_0.png treat image : temp/1741432229_146762_1338876584_59938956a58a30995b158f93e821eec8_rle_crop_3699529759_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 : 34 time used for this insertion : 0.017289161682128906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 34 time used for this insertion : 0.016217947006225586 save missing photos in datou_result : time spend for datou_step_exec : 12.824522495269775 time spend to save output : 0.0458524227142334 total time spend for step 7 : 12.870374917984009 step8:velours_tree Sat Mar 8 12:13:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 1.1285982131958008 time spend to save output : 5.125999450683594e-05 total time spend for step 8 : 1.1286494731903076 step9:send_mail_cod Sat Mar 8 12:13:51 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_P21178346_08-03-2025_12_13_51.pdf 21178887 imagette211788871741432431 21178888 imagette211788881741432431 21178889 imagette211788891741432431 21178890 change filename to text .change filename to text .change filename to text .change filename to text .imagette211788901741432431 21178891 change filename to text .change filename to text .imagette211788911741432431 21178893 imagette211788931741432431 21178894 imagette211788941741432431 21178895 imagette211788951741432431 21178896 imagette211788961741432431 21178897 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211788971741432431 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21178346 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21178887,21178888,21178889,21178890,21178891,21178892,21178893,21178894,21178895,21178896,21178897?tags=pehd,mal_croppe,background,pet_clair,carton,environnement,flou,autre,metal,pet_fonce,papier args[1338884878] : ((1338884878, -4.059940241596144, 492609224), (1338884878, -0.5064260960729043, 501862349), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338884874] : ((1338884874, -4.267287203218708, 492609224), (1338884874, -0.5419631300197182, 501862349), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338884754] : ((1338884754, -4.570472782499055, 492609224), (1338884754, -0.34139905616570454, 496442774), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338884728] : ((1338884728, -6.713616353834859, 492609224), (1338884728, -0.24116500669434382, 496442774), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338884448] : ((1338884448, -6.268482618811276, 492609224), (1338884448, -0.45935139698185495, 496442774), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338884444] : ((1338884444, -6.392636250273925, 492609224), (1338884444, -0.6435971418197027, 501862349), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338884443] : ((1338884443, -4.578899699983378, 492609224), (1338884443, -0.4679897858694335, 496442774), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338876601] : ((1338876601, -2.7835365668643037, 492609224), (1338876601, -0.174592496533803, 496442774), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338876598] : ((1338876598, -5.167012901454797, 492609224), (1338876598, -0.26211892947815824, 496442774), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338876590] : ((1338876590, -5.265023732075339, 492609224), (1338876590, -0.35956846368967255, 496442774), '0.012745412019500559') We are sending mail with results at report@fotonower.com args[1338876584] : ((1338876584, -4.208132078413847, 492609224), (1338876584, -0.5636319586999116, 501862349), '0.012745412019500559') We are sending mail with results at report@fotonower.com refus_total : 0.012745412019500559 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=21178346 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1338876598,1338884754,1338884448,1338876584,1338876590,1338876601,1338884443,1338884444,1338884728,1338884874,1338884878) Found this number of photos: 11 begin to download photo : 1338876598 begin to download photo : 1338876584 begin to download photo : 1338884443 begin to download photo : 1338884874 download finish for photo 1338884443 begin to download photo : 1338884444 download finish for photo 1338876598 begin to download photo : 1338884754 download finish for photo 1338884874 begin to download photo : 1338884878 download finish for photo 1338876584 begin to download photo : 1338876590 download finish for photo 1338884754 begin to download photo : 1338884448 download finish for photo 1338884444 begin to download photo : 1338884728 download finish for photo 1338884878 download finish for photo 1338876590 begin to download photo : 1338876601 download finish for photo 1338884448 download finish for photo 1338884728 download finish for photo 1338876601 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21178346_08-03-2025_12_13_51.pdf results_Auto_P21178346_08-03-2025_12_13_51.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21178346_08-03-2025_12_13_51.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','21178346','results_Auto_P21178346_08-03-2025_12_13_51.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21178346_08-03-2025_12_13_51.pdf','pdf','','0.52','0.012745412019500559') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/21178346

https://www.fotonower.com/image?json=false&list_photos_id=1338884878
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338884874
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338884754
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338884728
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338884448
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338884444
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338884443
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338876601
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338876598
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338876590
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338876584
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/21178890?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/21178891?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/21178897?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21178346_08-03-2025_12_13_51.pdf.

Lien vers velours :https://www.fotonower.com/velours/21178887,21178888,21178889,21178890,21178891,21178892,21178893,21178894,21178895,21178896,21178897?tags=pehd,mal_croppe,background,pet_clair,carton,environnement,flou,autre,metal,pet_fonce,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 08 Mar 2025 11:14:00 GMT Content-Length: 0 Connection: close X-Message-Id: PaR5BpNTQmmQ28q69Eu2-Q 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 [1338884878, 1338884874, 1338884754, 1338884728, 1338884448, 1338884444, 1338884443, 1338876601, 1338876598, 1338876590, 1338876584] 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, '2652110') ('3318', '21178346', '1338884878', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884874', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884754', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884728', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884448', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884444', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884443', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876601', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876598', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876590', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876584', None, None, None, None, None, '2652110') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.4818305969238281 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.202887296676636 time spend to save output : 0.4820702075958252 total time spend for step 9 : 9.684957504272461 step10:split_time_score Sat Mar 8 12:14:00 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'}] (('16', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06022025 21178346 Nombre de photos uploadées : 11 / 23040 (0%) 06022025 21178346 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 06022025 21178346 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.049041748046875e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006597042083740234 elapsed_time : insert_dashboard_record_day_entry 0.03173995018005371 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.012745412019500559 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21178346_08-03-2025_12_13_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21178346 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`=21178346 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21178362 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06022025': {'nb_upload': 11, '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 [1338884878, 1338884874, 1338884754, 1338884728, 1338884448, 1338884444, 1338884443, 1338876601, 1338876598, 1338876590, 1338876584] Looping around the photos to save general results len do output : 1 /21178346Didn'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, '2652110') ('3318', '21178346', '1338884878', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884874', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884754', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884728', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884448', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884444', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338884443', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876601', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876598', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876590', None, None, None, None, None, '2652110') ('3318', None, None, None, None, None, None, None, '2652110') ('3318', '21178346', '1338876584', None, None, None, None, None, '2652110') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.016385316848754883 save_final save missing photos in datou_result : time spend for datou_step_exec : 27.566286087036133 time spend to save output : 0.016701936721801758 total time spend for step 10 : 27.582988023757935 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 81.35user 73.92system 4:03.62elapsed 63%CPU (0avgtext+0avgdata 3607748maxresident)k 735928inputs+76888outputs (12125major+4949544minor)pagefaults 0swaps