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 : 3012918 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 : ['3573287'] with mtr_portfolio_ids : ['26141104'] and first list_photo_ids : [] new path : /proc/3012918/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.1811699867248535 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 Fri Aug 22 09:20:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10614 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-22 09:20:31.302589: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-22 09:20:31.328766: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-22 09:20:31.330447: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2d10000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-22 09:20:31.330502: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-22 09:20:31.333079: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-22 09:20:31.509714: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xaa29480 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-22 09:20:31.509769: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-22 09:20:31.510679: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-22 09:20:31.510985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 09:20:31.513148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 09:20:31.515317: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 09:20:31.515646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 09:20:31.518092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 09:20:31.519184: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 09:20:31.523969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 09:20:31.525440: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 09:20:31.525515: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 09:20:31.526273: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-22 09:20:31.526288: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-22 09:20:31.526297: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-22 09:20:31.527607: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9832 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-22 09:20:31.783254: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-22 09:20:31.783377: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 09:20:31.783397: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 09:20:31.783414: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 09:20:31.783430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 09:20:31.783446: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 09:20:31.783461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 09:20:31.783477: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 09:20:31.784690: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 09:20:31.785932: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-22 09:20:31.785969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 09:20:31.785985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 09:20:31.786003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 09:20:31.786017: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 09:20:31.786036: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 09:20:31.786050: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 09:20:31.786063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 09:20:31.787260: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 09:20:31.787296: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-22 09:20:31.787305: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-22 09:20:31.787312: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-22 09:20:31.788544: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9832 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-22 09:20:40.006074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 09:20:40.197426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 3013528 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 746 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 5751 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.00030684471130371094 nb_pixel_total : 11090 time to create 1 rle with old method : 0.012871265411376953 length of segment : 102 time for calcul the mask position with numpy : 0.0002467632293701172 nb_pixel_total : 13589 time to create 1 rle with old method : 0.015221834182739258 length of segment : 112 time for calcul the mask position with numpy : 0.0001506805419921875 nb_pixel_total : 4170 time to create 1 rle with old method : 0.006910562515258789 length of segment : 69 time for calcul the mask position with numpy : 0.00032973289489746094 nb_pixel_total : 14162 time to create 1 rle with old method : 0.02298259735107422 length of segment : 142 time for calcul the mask position with numpy : 0.00012373924255371094 nb_pixel_total : 4490 time to create 1 rle with old method : 0.007408857345581055 length of segment : 65 time for calcul the mask position with numpy : 0.00021219253540039062 nb_pixel_total : 9326 time to create 1 rle with old method : 0.01537466049194336 length of segment : 115 time for calcul the mask position with numpy : 0.000202178955078125 nb_pixel_total : 10719 time to create 1 rle with old method : 0.013300418853759766 length of segment : 129 time for calcul the mask position with numpy : 0.00025534629821777344 nb_pixel_total : 12540 time to create 1 rle with old method : 0.014752626419067383 length of segment : 158 time for calcul the mask position with numpy : 0.002227306365966797 nb_pixel_total : 97675 time to create 1 rle with old method : 0.11316823959350586 length of segment : 539 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 8969 time to create 1 rle with old method : 0.010835409164428711 length of segment : 97 time for calcul the mask position with numpy : 0.0002465248107910156 nb_pixel_total : 12148 time to create 1 rle with old method : 0.014350175857543945 length of segment : 153 time for calcul the mask position with numpy : 0.00011706352233886719 nb_pixel_total : 5564 time to create 1 rle with old method : 0.006853818893432617 length of segment : 65 time for calcul the mask position with numpy : 0.00010442733764648438 nb_pixel_total : 4813 time to create 1 rle with old method : 0.005753755569458008 length of segment : 78 time for calcul the mask position with numpy : 0.0005669593811035156 nb_pixel_total : 40112 time to create 1 rle with old method : 0.0457768440246582 length of segment : 293 time for calcul the mask position with numpy : 0.00019550323486328125 nb_pixel_total : 12619 time to create 1 rle with old method : 0.01500844955444336 length of segment : 75 time for calcul the mask position with numpy : 0.0002162456512451172 nb_pixel_total : 14566 time to create 1 rle with old method : 0.01705169677734375 length of segment : 158 time for calcul the mask position with numpy : 0.00010132789611816406 nb_pixel_total : 4684 time to create 1 rle with old method : 0.005742311477661133 length of segment : 66 time for calcul the mask position with numpy : 0.0002181529998779297 nb_pixel_total : 12601 time to create 1 rle with old method : 0.014777660369873047 length of segment : 154 time for calcul the mask position with numpy : 0.0003154277801513672 nb_pixel_total : 10632 time to create 1 rle with old method : 0.01222681999206543 length of segment : 181 time for calcul the mask position with numpy : 0.0032868385314941406 nb_pixel_total : 159818 time to create 1 rle with new method : 0.012840747833251953 length of segment : 1027 time for calcul the mask position with numpy : 0.0001690387725830078 nb_pixel_total : 4690 time to create 1 rle with old method : 0.010227680206298828 length of segment : 77 time for calcul the mask position with numpy : 0.0002319812774658203 nb_pixel_total : 12095 time to create 1 rle with old method : 0.022760629653930664 length of segment : 84 time for calcul the mask position with numpy : 0.00018525123596191406 nb_pixel_total : 11447 time to create 1 rle with old method : 0.015800952911376953 length of segment : 108 time for calcul the mask position with numpy : 0.0002219676971435547 nb_pixel_total : 10119 time to create 1 rle with old method : 0.012657403945922852 length of segment : 118 time for calcul the mask position with numpy : 0.00033974647521972656 nb_pixel_total : 13724 time to create 1 rle with old method : 0.017331600189208984 length of segment : 159 time for calcul the mask position with numpy : 0.00020432472229003906 nb_pixel_total : 9994 time to create 1 rle with old method : 0.011640548706054688 length of segment : 139 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 6665 time to create 1 rle with old method : 0.008109569549560547 length of segment : 99 time for calcul the mask position with numpy : 0.0005648136138916016 nb_pixel_total : 25776 time to create 1 rle with old method : 0.029731035232543945 length of segment : 291 time for calcul the mask position with numpy : 0.000247955322265625 nb_pixel_total : 10189 time to create 1 rle with old method : 0.012091875076293945 length of segment : 104 time for calcul the mask position with numpy : 0.00042724609375 nb_pixel_total : 18778 time to create 1 rle with old method : 0.026395320892333984 length of segment : 215 time for calcul the mask position with numpy : 0.0002872943878173828 nb_pixel_total : 15281 time to create 1 rle with old method : 0.018018722534179688 length of segment : 165 time for calcul the mask position with numpy : 0.00020766258239746094 nb_pixel_total : 3008 time to create 1 rle with old method : 0.0036339759826660156 length of segment : 84 time for calcul the mask position with numpy : 0.0027132034301757812 nb_pixel_total : 116293 time to create 1 rle with old method : 0.13114237785339355 length of segment : 547 time for calcul the mask position with numpy : 8.320808410644531e-05 nb_pixel_total : 2380 time to create 1 rle with old method : 0.002875089645385742 length of segment : 56 time for calcul the mask position with numpy : 0.00041747093200683594 nb_pixel_total : 12881 time to create 1 rle with old method : 0.015126943588256836 length of segment : 135 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 5011 time to create 1 rle with old method : 0.006059885025024414 length of segment : 64 time for calcul the mask position with numpy : 0.00040411949157714844 nb_pixel_total : 13942 time to create 1 rle with old method : 0.016520023345947266 length of segment : 126 time for calcul the mask position with numpy : 0.0004699230194091797 nb_pixel_total : 14432 time to create 1 rle with old method : 0.017199039459228516 length of segment : 154 time for calcul the mask position with numpy : 0.000301361083984375 nb_pixel_total : 9176 time to create 1 rle with old method : 0.011016130447387695 length of segment : 81 time for calcul the mask position with numpy : 0.00029015541076660156 nb_pixel_total : 5748 time to create 1 rle with old method : 0.007170915603637695 length of segment : 82 time for calcul the mask position with numpy : 0.00022411346435546875 nb_pixel_total : 10896 time to create 1 rle with old method : 0.01303720474243164 length of segment : 140 time for calcul the mask position with numpy : 0.00034499168395996094 nb_pixel_total : 24903 time to create 1 rle with old method : 0.029443740844726562 length of segment : 119 time for calcul the mask position with numpy : 0.00022864341735839844 nb_pixel_total : 13698 time to create 1 rle with old method : 0.016127824783325195 length of segment : 126 time for calcul the mask position with numpy : 0.00047469139099121094 nb_pixel_total : 25205 time to create 1 rle with old method : 0.028870582580566406 length of segment : 324 time for calcul the mask position with numpy : 0.00010180473327636719 nb_pixel_total : 4599 time to create 1 rle with old method : 0.005574941635131836 length of segment : 58 time for calcul the mask position with numpy : 0.00021386146545410156 nb_pixel_total : 11988 time to create 1 rle with old method : 0.014009475708007812 length of segment : 149 time for calcul the mask position with numpy : 0.00031566619873046875 nb_pixel_total : 7815 time to create 1 rle with old method : 0.009273052215576172 length of segment : 113 time for calcul the mask position with numpy : 0.0004668235778808594 nb_pixel_total : 19677 time to create 1 rle with old method : 0.02243947982788086 length of segment : 163 time for calcul the mask position with numpy : 0.001895904541015625 nb_pixel_total : 97662 time to create 1 rle with old method : 0.11125373840332031 length of segment : 570 time for calcul the mask position with numpy : 0.00043320655822753906 nb_pixel_total : 11803 time to create 1 rle with old method : 0.013757467269897461 length of segment : 150 time spent for convertir_results : 2.5443127155303955 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 50 chid ids of type : 3594 Number RLEs to save : 8578 save missing photos in datou_result : time spend for datou_step_exec : 27.77855896949768 time spend to save output : 0.7077972888946533 total time spend for step 1 : 28.486356258392334 step2:crop_condition Fri Aug 22 09:20:57 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 : 9 ! batch 1 Loaded 50 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 31 About to insert : list_path_to_insert length 31 new photo from crops ! About to upload 31 photos upload in portfolio : 3736932 init cache_photo without model_param we have 31 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755847259_3012918 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 31 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.653520107269287 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1755847267_3012918 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5121583938598633 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755847269_3012918 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5338644981384277 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755847272_3012918 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.386033535003662 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755847276_3012918 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8521125316619873 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1378457373, 1378457336, 1378457313, 1378457281, 1378457249, 1378457226, 1378457209, 1378457208, 1378457207] Looping around the photos to save general results len do output : 50 /1378477633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477634Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477656Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477658Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378477692Didn'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, '3573287') ('3318', '26141104', '1378457373', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457336', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457313', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457281', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457249', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457226', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457209', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457208', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457207', None, None, None, None, None, '3573287') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 159 time used for this insertion : 0.18062496185302734 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.63577389717102 time spend to save output : 0.18222260475158691 total time spend for step 2 : 19.817996501922607 step3:rle_unique_nms_with_priority Fri Aug 22 09:21:16 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 50 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.8182108402252197 time for calcul the mask position with numpy : 0.20461153984069824 nb_pixel_total : 2026099 time to create 1 rle with new method : 0.21290111541748047 time for calcul the mask position with numpy : 0.006346940994262695 nb_pixel_total : 4490 time to create 1 rle with old method : 0.004965305328369141 time for calcul the mask position with numpy : 0.006479024887084961 nb_pixel_total : 14162 time to create 1 rle with old method : 0.0157930850982666 time for calcul the mask position with numpy : 0.006155490875244141 nb_pixel_total : 4170 time to create 1 rle with old method : 0.004772186279296875 time for calcul the mask position with numpy : 0.006354093551635742 nb_pixel_total : 13589 time to create 1 rle with old method : 0.015034198760986328 time for calcul the mask position with numpy : 0.006724357604980469 nb_pixel_total : 11090 time to create 1 rle with old method : 0.012565374374389648 create new chi : 0.5131635665893555 time to delete rle : 0.02303338050842285 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2060 TO DO : save crop sub photo not yet done ! save time : 0.19268536567687988 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.3249785900115967 time for calcul the mask position with numpy : 0.16329336166381836 nb_pixel_total : 1934371 time to create 1 rle with new method : 0.07787060737609863 time for calcul the mask position with numpy : 0.0063304901123046875 nb_pixel_total : 8969 time to create 1 rle with old method : 0.01019906997680664 time for calcul the mask position with numpy : 0.0066814422607421875 nb_pixel_total : 97675 time to create 1 rle with old method : 0.10691308975219727 time for calcul the mask position with numpy : 0.006192684173583984 nb_pixel_total : 12540 time to create 1 rle with old method : 0.013818502426147461 time for calcul the mask position with numpy : 0.00632786750793457 nb_pixel_total : 10719 time to create 1 rle with old method : 0.011700153350830078 time for calcul the mask position with numpy : 0.006174564361572266 nb_pixel_total : 9326 time to create 1 rle with old method : 0.010332822799682617 create new chi : 0.43664073944091797 time to delete rle : 0.00046539306640625 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3156 TO DO : save crop sub photo not yet done ! save time : 0.4253864288330078 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.2445387840270996 time for calcul the mask position with numpy : 0.14516115188598633 nb_pixel_total : 1979095 time to create 1 rle with new method : 0.07612991333007812 time for calcul the mask position with numpy : 0.006070137023925781 nb_pixel_total : 4683 time to create 1 rle with old method : 0.0052874088287353516 time for calcul the mask position with numpy : 0.006360769271850586 nb_pixel_total : 14566 time to create 1 rle with old method : 0.016039609909057617 time for calcul the mask position with numpy : 0.005969524383544922 nb_pixel_total : 12619 time to create 1 rle with old method : 0.013861894607543945 time for calcul the mask position with numpy : 0.006210803985595703 nb_pixel_total : 40112 time to create 1 rle with old method : 0.04383111000061035 time for calcul the mask position with numpy : 0.006176948547363281 nb_pixel_total : 4813 time to create 1 rle with old method : 0.005420207977294922 time for calcul the mask position with numpy : 0.006209850311279297 nb_pixel_total : 5564 time to create 1 rle with old method : 0.0064198970794677734 time for calcul the mask position with numpy : 0.006000518798828125 nb_pixel_total : 12148 time to create 1 rle with old method : 0.016401052474975586 create new chi : 0.3820984363555908 time to delete rle : 0.0004343986511230469 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 2851 TO DO : save crop sub photo not yet done ! save time : 0.22301554679870605 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.08556795120239258 time for calcul the mask position with numpy : 0.01952195167541504 nb_pixel_total : 1876726 time to create 1 rle with new method : 0.18937420845031738 time for calcul the mask position with numpy : 0.0067174434661865234 nb_pixel_total : 400 time to create 1 rle with old method : 0.0005586147308349609 time for calcul the mask position with numpy : 0.006791353225708008 nb_pixel_total : 10040 time to create 1 rle with old method : 0.011540889739990234 time for calcul the mask position with numpy : 0.006539583206176758 nb_pixel_total : 3383 time to create 1 rle with old method : 0.0038814544677734375 time for calcul the mask position with numpy : 0.007948160171508789 nb_pixel_total : 159818 time to create 1 rle with new method : 0.05265307426452637 time for calcul the mask position with numpy : 0.006829738616943359 nb_pixel_total : 10632 time to create 1 rle with old method : 0.011985540390014648 time for calcul the mask position with numpy : 0.006903171539306641 nb_pixel_total : 12601 time to create 1 rle with old method : 0.01417994499206543 create new chi : 0.36170434951782227 time to delete rle : 0.0006346702575683594 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 4057 TO DO : save crop sub photo not yet done ! save time : 0.3439805507659912 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.07088518142700195 time for calcul the mask position with numpy : 0.8276872634887695 nb_pixel_total : 2007322 time to create 1 rle with new method : 0.07643604278564453 time for calcul the mask position with numpy : 0.008445978164672852 nb_pixel_total : 25776 time to create 1 rle with old method : 0.0368194580078125 time for calcul the mask position with numpy : 0.007045745849609375 nb_pixel_total : 6665 time to create 1 rle with old method : 0.007641792297363281 time for calcul the mask position with numpy : 0.007079362869262695 nb_pixel_total : 9994 time to create 1 rle with old method : 0.011548280715942383 time for calcul the mask position with numpy : 0.007416725158691406 nb_pixel_total : 13724 time to create 1 rle with old method : 0.015886783599853516 time for calcul the mask position with numpy : 0.007650136947631836 nb_pixel_total : 10119 time to create 1 rle with old method : 0.01218867301940918 create new chi : 1.0351645946502686 time to delete rle : 0.0004966259002685547 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 2692 TO DO : save crop sub photo not yet done ! save time : 0.22326946258544922 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.1107027530670166 time for calcul the mask position with numpy : 0.1304473876953125 nb_pixel_total : 1907671 time to create 1 rle with new method : 0.10236763954162598 time for calcul the mask position with numpy : 0.00671839714050293 nb_pixel_total : 2380 time to create 1 rle with old method : 0.002779722213745117 time for calcul the mask position with numpy : 0.007895231246948242 nb_pixel_total : 116293 time to create 1 rle with old method : 0.1277170181274414 time for calcul the mask position with numpy : 0.0067975521087646484 nb_pixel_total : 3008 time to create 1 rle with old method : 0.003397226333618164 time for calcul the mask position with numpy : 0.006333112716674805 nb_pixel_total : 15281 time to create 1 rle with old method : 0.017037391662597656 time for calcul the mask position with numpy : 0.00661921501159668 nb_pixel_total : 18778 time to create 1 rle with old method : 0.020744800567626953 time for calcul the mask position with numpy : 0.006379365921020508 nb_pixel_total : 10189 time to create 1 rle with old method : 0.0115509033203125 create new chi : 0.4691123962402344 time to delete rle : 0.0005004405975341797 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3422 TO DO : save crop sub photo not yet done ! save time : 0.30657005310058594 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.07785701751708984 time for calcul the mask position with numpy : 0.1834278106689453 nb_pixel_total : 2012410 time to create 1 rle with new method : 0.23204803466796875 time for calcul the mask position with numpy : 0.006722450256347656 nb_pixel_total : 5748 time to create 1 rle with old method : 0.006396770477294922 time for calcul the mask position with numpy : 0.006217241287231445 nb_pixel_total : 9176 time to create 1 rle with old method : 0.010190486907958984 time for calcul the mask position with numpy : 0.0061473846435546875 nb_pixel_total : 14432 time to create 1 rle with old method : 0.01593184471130371 time for calcul the mask position with numpy : 0.010273933410644531 nb_pixel_total : 13942 time to create 1 rle with old method : 0.01563429832458496 time for calcul the mask position with numpy : 0.009805917739868164 nb_pixel_total : 5011 time to create 1 rle with old method : 0.00566864013671875 time for calcul the mask position with numpy : 0.009844541549682617 nb_pixel_total : 12881 time to create 1 rle with old method : 0.014458179473876953 create new chi : 0.543856143951416 time to delete rle : 0.00039005279541015625 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2364 TO DO : save crop sub photo not yet done ! save time : 0.19521069526672363 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.09443163871765137 time for calcul the mask position with numpy : 0.05448794364929199 nb_pixel_total : 1982311 time to create 1 rle with new method : 0.3340892791748047 time for calcul the mask position with numpy : 0.007147789001464844 nb_pixel_total : 11988 time to create 1 rle with old method : 0.01363372802734375 time for calcul the mask position with numpy : 0.0069637298583984375 nb_pixel_total : 4599 time to create 1 rle with old method : 0.005341291427612305 time for calcul the mask position with numpy : 0.007380962371826172 nb_pixel_total : 25205 time to create 1 rle with old method : 0.029091358184814453 time for calcul the mask position with numpy : 0.006678342819213867 nb_pixel_total : 13698 time to create 1 rle with old method : 0.015429019927978516 time for calcul the mask position with numpy : 0.0070226192474365234 nb_pixel_total : 24903 time to create 1 rle with old method : 0.030257463455200195 time for calcul the mask position with numpy : 0.007208108901977539 nb_pixel_total : 10896 time to create 1 rle with old method : 0.01734447479248047 create new chi : 0.5550813674926758 time to delete rle : 0.0007171630859375 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 2898 TO DO : save crop sub photo not yet done ! save time : 0.30585575103759766 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.09244084358215332 time for calcul the mask position with numpy : 0.03709053993225098 nb_pixel_total : 1936643 time to create 1 rle with new method : 0.10723710060119629 time for calcul the mask position with numpy : 0.008606433868408203 nb_pixel_total : 11803 time to create 1 rle with old method : 0.021507978439331055 time for calcul the mask position with numpy : 0.008768320083618164 nb_pixel_total : 97662 time to create 1 rle with old method : 0.1741490364074707 time for calcul the mask position with numpy : 0.007567882537841797 nb_pixel_total : 19677 time to create 1 rle with old method : 0.03517270088195801 time for calcul the mask position with numpy : 0.007333517074584961 nb_pixel_total : 7815 time to create 1 rle with old method : 0.014248371124267578 create new chi : 0.43584370613098145 time to delete rle : 0.0005781650543212891 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 3072 TO DO : save crop sub photo not yet done ! save time : 0.34949398040771484 map_output_result : {1378457373: (0.0, 'Should be the crop_list due to order', 0), 1378457336: (0.0, 'Should be the crop_list due to order', 0), 1378457313: (0.0, 'Should be the crop_list due to order', 0), 1378457281: (0.0, 'Should be the crop_list due to order', 0), 1378457249: (0.0, 'Should be the crop_list due to order', 0), 1378457226: (0.0, 'Should be the crop_list due to order', 0), 1378457209: (0.0, 'Should be the crop_list due to order', 0), 1378457208: (0.0, 'Should be the crop_list due to order', 0), 1378457207: (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 [1378457373, 1378457336, 1378457313, 1378457281, 1378457249, 1378457226, 1378457209, 1378457208, 1378457207] Looping around the photos to save general results len do output : 9 /1378457373.Didn't retrieve data . /1378457336.Didn't retrieve data . /1378457313.Didn't retrieve data . /1378457281.Didn't retrieve data . /1378457249.Didn't retrieve data . /1378457226.Didn't retrieve data . /1378457209.Didn't retrieve data . /1378457208.Didn't retrieve data . /1378457207.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, '3573287') ('3318', '26141104', '1378457373', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457336', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457313', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457281', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457249', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457226', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457209', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457208', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457207', None, None, None, None, None, '3573287') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.02059197425842285 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.5835280418396 time spend to save output : 0.021166324615478516 total time spend for step 3 : 9.604694366455078 step4:ventilate_hashtags_in_portfolio Fri Aug 22 09:21:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 26141104 get user id for portfolio 26141104 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`=26141104 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_fonce','pehd','metal','mal_croppe','pet_clair','background','papier','flou','carton','autre')) 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`=26141104 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_fonce','pehd','metal','mal_croppe','pet_clair','background','papier','flou','carton','autre')) 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`=26141104 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_fonce','pehd','metal','mal_croppe','pet_clair','background','papier','flou','carton','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26143127,26143128,26143129,26143130,26143131,26143132,26143133,26143134,26143135,26143136,26143137?tags=environnement,pet_fonce,pehd,metal,mal_croppe,pet_clair,background,papier,flou,carton,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378457373, 1378457336, 1378457313, 1378457281, 1378457249, 1378457226, 1378457209, 1378457208, 1378457207] Looping around the photos to save general results len do output : 1 /26141104. 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, '3573287') ('3318', '26141104', '1378457373', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457336', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457313', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457281', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457249', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457226', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457209', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457208', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457207', None, None, None, None, None, '3573287') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.11678695678710938 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.759073257446289 time spend to save output : 0.11703920364379883 total time spend for step 4 : 1.876112461090088 step5:final Fri Aug 22 09:21:28 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 : {1378457373: ('0.053570387517146746',), 1378457336: ('0.053570387517146746',), 1378457313: ('0.053570387517146746',), 1378457281: ('0.053570387517146746',), 1378457249: ('0.053570387517146746',), 1378457226: ('0.053570387517146746',), 1378457209: ('0.053570387517146746',), 1378457208: ('0.053570387517146746',), 1378457207: ('0.053570387517146746',)} new output for save of step final : {1378457373: ('0.053570387517146746',), 1378457336: ('0.053570387517146746',), 1378457313: ('0.053570387517146746',), 1378457281: ('0.053570387517146746',), 1378457249: ('0.053570387517146746',), 1378457226: ('0.053570387517146746',), 1378457209: ('0.053570387517146746',), 1378457208: ('0.053570387517146746',), 1378457207: ('0.053570387517146746',)} [1378457373, 1378457336, 1378457313, 1378457281, 1378457249, 1378457226, 1378457209, 1378457208, 1378457207] Looping around the photos to save general results len do output : 9 /1378457373.Didn't retrieve data . /1378457336.Didn't retrieve data . /1378457313.Didn't retrieve data . /1378457281.Didn't retrieve data . /1378457249.Didn't retrieve data . /1378457226.Didn't retrieve data . /1378457209.Didn't retrieve data . /1378457208.Didn't retrieve data . /1378457207.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, '3573287') ('3318', '26141104', '1378457373', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457336', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457313', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457281', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457249', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457226', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457209', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457208', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457207', None, None, None, None, None, '3573287') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.021857023239135742 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12177133560180664 time spend to save output : 0.022408485412597656 total time spend for step 5 : 0.1441798210144043 step6:blur_detection Fri Aug 22 09:21:28 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/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257.jpg resize: (1080, 1920) 1378457373 0.8507798742855133 treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193.jpg resize: (1080, 1920) 1378457336 0.7267612860709589 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5.jpg resize: (1080, 1920) 1378457313 0.09408246213850023 treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63.jpg resize: (1080, 1920) 1378457281 1.4240685722259576 treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6.jpg resize: (1080, 1920) 1378457249 1.2119680746631203 treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a.jpg resize: (1080, 1920) 1378457226 -0.4437475410763794 treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9.jpg resize: (1080, 1920) 1378457209 0.5885496656248005 treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254.jpg resize: (1080, 1920) 1378457208 0.639045216142963 treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce.jpg resize: (1080, 1920) 1378457207 1.2094527216991484 treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878151_0.png resize: (69, 87) 1378477633 -0.5041403100067163 treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878149_0.png resize: (102, 234) 1378477634 -0.009084125006907248 treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878150_0.png resize: (112, 165) 1378477635 -0.7078722490363909 treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878153_0.png resize: (65, 93) 1378477636 -2.1396338698944213 treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878158_0.png resize: (82, 135) 1378477637 -0.3275147745712203 treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878154_0.png resize: (115, 138) 1378477638 -0.8721276307295494 treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878155_0.png resize: (129, 131) 1378477639 1.0007165673422518 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878160_0.png resize: (56, 154) 1378477641 -2.77372905348154 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878161_0.png resize: (74, 70) 1378477642 10.4574954919685 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878165_0.png resize: (65, 101) 1378477643 0.21018720028862678 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878159_0.png resize: (130, 149) 1378477644 -1.1076376991320107 treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878167_0.png resize: (181, 114) 1378477645 -1.0497943821094018 treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878169_0.png resize: (74, 84) 1378477646 1.202700403980916 treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878171_0.png resize: (108, 129) 1378477647 3.3713240690355444 treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878172_0.png resize: (117, 162) 1378477648 -0.7859853486762723 treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878173_0.png resize: (136, 141) 1378477649 -0.2196408664086805 treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878176_0.png resize: (265, 177) 1378477650 -1.3151820726712438 treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878175_0.png resize: (99, 123) 1378477651 -1.720333120028883 treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878178_0.png resize: (213, 175) 1378477652 -2.746244931317561 treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878177_0.png resize: (101, 157) 1378477653 0.3809968457158286 treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878182_0.png resize: (56, 59) 1378477654 -0.08282850749595395 treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878184_0.png resize: (64, 89) 1378477655 5.389758208441933 treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878187_0.png resize: (81, 156) 1378477656 -0.5277311223027316 treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878183_0.png resize: (131, 130) 1378477657 1.472990067588448 treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878188_0.png resize: (82, 150) 1378477658 -2.5632034159521937 treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878191_0.png resize: (125, 163) 1378477659 0.6810973044573492 treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878194_0.png resize: (149, 115) 1378477660 -0.990496790111715 treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878190_0.png resize: (117, 255) 1378477661 1.0882416313672854 treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878193_0.png resize: (57, 105) 1378477663 0.13698097173467455 treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878195_0.png resize: (113, 115) 1378477664 -0.972266303457175 treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878196_0.png resize: (160, 167) 1378477665 -1.4998479600035013 treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878180_0.png resize: (84, 47) 1378477669 2.435347026155565 treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878185_0.png resize: (126, 137) 1378477670 -0.24893391813307045 treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878189_0.png resize: (120, 151) 1378477671 -1.7799361306259702 treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878198_0.png resize: (143, 135) 1378477672 -1.650705276647145 treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878152_0.png resize: (142, 130) 1378477674 -2.5285800864915684 treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878156_0.png resize: (142, 107) 1378477677 -3.0480081557762677 treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878157_0.png resize: (512, 332) 1378477678 -0.008822563474364085 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878164_0.png resize: (142, 122) 1378477679 -3.1458650496019214 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878163_0.png resize: (74, 219) 1378477680 -1.7407617681101546 treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878168_0.png resize: (528, 707) 1378477681 -1.6431337955294312 treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878170_0.png resize: (82, 190) 1378477682 0.11502687628589922 treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878166_0.png resize: (139, 112) 1378477683 -2.6989108221600704 treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878174_0.png resize: (139, 94) 1378477684 -2.855147157146181 treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878179_0.png resize: (147, 136) 1378477685 -3.4073267591580696 treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878181_0.png resize: (543, 348) 1378477686 0.6523985449750743 treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878186_0.png resize: (142, 127) 1378477687 -3.3245576562823875 treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878197_0.png resize: (523, 319) 1378477688 -0.37169640405551513 treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878162_0.png resize: (278, 186) 1378477691 -0.06140940386607399 treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878192_0.png resize: (279, 133) 1378477692 -1.319597093638009 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 : 59 time used for this insertion : 0.01542806625366211 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 59 time used for this insertion : 0.054529666900634766 save missing photos in datou_result : time spend for datou_step_exec : 7.561309099197388 time spend to save output : 0.07458877563476562 total time spend for step 6 : 7.635897874832153 step7:brightness Fri Aug 22 09:21:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257.jpg treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193.jpg treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5.jpg treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63.jpg treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6.jpg treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a.jpg treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9.jpg treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254.jpg treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce.jpg treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878151_0.png treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878149_0.png treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878150_0.png treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878153_0.png treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878158_0.png treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878154_0.png treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878155_0.png treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878160_0.png treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878161_0.png treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878165_0.png treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878159_0.png treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878167_0.png treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878169_0.png treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878171_0.png treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878172_0.png treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878173_0.png treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878176_0.png treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878175_0.png treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878178_0.png treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878177_0.png treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878182_0.png treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878184_0.png treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878187_0.png treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878183_0.png treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878188_0.png treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878191_0.png treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878194_0.png treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878190_0.png treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878193_0.png treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878195_0.png treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878196_0.png treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878180_0.png treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878185_0.png treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878189_0.png treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878198_0.png treat image : temp/1755847227_3012918_1378457373_5a7a9acbfb667af25ab81ff3dd7b7257_rle_crop_3924878152_0.png treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878156_0.png treat image : temp/1755847227_3012918_1378457336_c221296032aa481ecb9f8e6eed716193_rle_crop_3924878157_0.png treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878164_0.png treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878163_0.png treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878168_0.png treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878170_0.png treat image : temp/1755847227_3012918_1378457281_a91ca6c6daf1b353f833831749d31e63_rle_crop_3924878166_0.png treat image : temp/1755847227_3012918_1378457249_acc0b01e969fe20c5a0cddba5afb71c6_rle_crop_3924878174_0.png treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878179_0.png treat image : temp/1755847227_3012918_1378457226_d17108ded55552de556e919c1e1c0d7a_rle_crop_3924878181_0.png treat image : temp/1755847227_3012918_1378457209_764739f67d8985d0ee80c4271e67aee9_rle_crop_3924878186_0.png treat image : temp/1755847227_3012918_1378457207_ec4110e57174058437dd0a447622c9ce_rle_crop_3924878197_0.png treat image : temp/1755847227_3012918_1378457313_2c8d39ccf78a8137ed1939f12fc75ba5_rle_crop_3924878162_0.png treat image : temp/1755847227_3012918_1378457208_e10b5c9e141dbf1e822c81caed679254_rle_crop_3924878192_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 : 59 time used for this insertion : 0.017724275588989258 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 59 time used for this insertion : 0.031053781509399414 save missing photos in datou_result : time spend for datou_step_exec : 2.289790630340576 time spend to save output : 0.05375528335571289 total time spend for step 7 : 2.343545913696289 step8:velours_tree Fri Aug 22 09:21:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.13395476341247559 time spend to save output : 4.506111145019531e-05 total time spend for step 8 : 0.13399982452392578 step9:send_mail_cod Fri Aug 22 09:21:38 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_P26141104_22-08-2025_09_21_38.pdf 26143128 imagette261431281755847298 26143129 imagette261431291755847298 26143130 change filename to text .imagette261431301755847298 26143131 imagette261431311755847298 26143132 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 .imagette261431321755847298 26143133 imagette261431331755847299 26143134 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 .change filename to text .change filename to text .change filename to text .imagette261431341755847299 26143135 imagette261431351755847300 26143136 change filename to text .change filename to text .change filename to text .change filename to text .imagette261431361755847300 26143137 change filename to text .change filename to text .imagette261431371755847300 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26141104 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26143127,26143128,26143129,26143130,26143131,26143132,26143133,26143134,26143135,26143136,26143137?tags=environnement,pet_fonce,pehd,metal,mal_croppe,pet_clair,background,papier,flou,carton,autre args[1378457373] : ((1378457373, 0.8507798742855133, 492688767), (1378457373, 0.7501513667709256, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457336] : ((1378457336, 0.7267612860709589, 492688767), (1378457336, 0.7351786512411974, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457313] : ((1378457313, 0.09408246213850023, 492688767), (1378457313, 0.7025223673768748, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457281] : ((1378457281, 1.4240685722259576, 492688767), (1378457281, 0.5849279704488088, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457249] : ((1378457249, 1.2119680746631203, 492688767), (1378457249, 0.8321277126066523, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457226] : ((1378457226, -0.4437475410763794, 492688767), (1378457226, 0.6819111797182564, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457209] : ((1378457209, 0.5885496656248005, 492688767), (1378457209, 0.5426484754305937, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457208] : ((1378457208, 0.639045216142963, 492688767), (1378457208, 0.7820306758130328, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com args[1378457207] : ((1378457207, 1.2094527216991484, 492688767), (1378457207, 0.5860675808667616, 2107752395), '0.053570387517146746') We are sending mail with results at report@fotonower.com refus_total : 0.053570387517146746 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=26141104 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141104_22-08-2025_09_21_38.pdf results_Auto_P26141104_22-08-2025_09_21_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141104_22-08-2025_09_21_38.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','26141104','results_Auto_P26141104_22-08-2025_09_21_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141104_22-08-2025_09_21_38.pdf','pdf','','0.19','0.053570387517146746') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26141104

https://www.fotonower.com/image?json=false&list_photos_id=1378457373
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378457336
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378457313
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378457281
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4240685722259576)
https://www.fotonower.com/image?json=false&list_photos_id=1378457249
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2119680746631203)
https://www.fotonower.com/image?json=false&list_photos_id=1378457226
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378457209
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378457208
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378457207
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2094527216991484)

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

exemples de contaminants: metal: https://www.fotonower.com/view/26143130?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26143132?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26143134?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26143136?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26143137?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141104_22-08-2025_09_21_38.pdf.

Lien vers velours :https://www.fotonower.com/velours/26143127,26143128,26143129,26143130,26143131,26143132,26143133,26143134,26143135,26143136,26143137?tags=environnement,pet_fonce,pehd,metal,mal_croppe,pet_clair,background,papier,flou,carton,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 22 Aug 2025 07:21:42 GMT Content-Length: 0 Connection: close X-Message-Id: kvWD2WYhSbeOxdoCZpw-NQ 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 [1378457373, 1378457336, 1378457313, 1378457281, 1378457249, 1378457226, 1378457209, 1378457208, 1378457207] 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, '3573287') ('3318', '26141104', '1378457373', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457336', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457313', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457281', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457249', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457226', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457209', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457208', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457207', None, None, None, None, None, '3573287') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.023636817932128906 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.7334749698638916 time spend to save output : 0.023871660232543945 total time spend for step 9 : 3.7573466300964355 step10:split_time_score Fri Aug 22 09:21:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('07', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22082025 26141104 Nombre de photos uploadées : 9 / 23040 (0%) 22082025 26141104 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 22082025 26141104 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005555152893066406 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20137977600097656 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.053570387517146746 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141104_22-08-2025_09_21_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141104 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`=26141104 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22082025': {'nb_upload': 9, '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 [1378457373, 1378457336, 1378457313, 1378457281, 1378457249, 1378457226, 1378457209, 1378457208, 1378457207] Looping around the photos to save general results len do output : 1 /26141104Didn'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, '3573287') ('3318', '26141104', '1378457373', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457336', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457313', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457281', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457249', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457226', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457209', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457208', None, None, None, None, None, '3573287') ('3318', None, None, None, None, None, None, None, '3573287') ('3318', '26141104', '1378457207', None, None, None, None, None, '3573287') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.10468077659606934 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.44178056716918945 time spend to save output : 0.1049807071685791 total time spend for step 10 : 0.5467612743377686 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 36.00user 22.24system 1:17.95elapsed 74%CPU (0avgtext+0avgdata 2878880maxresident)k 504928inputs+13896outputs (31major+1569495minor)pagefaults 0swaps