python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -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 : 1395615 load datou : 4871 # 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! 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 ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 8881>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1395615/ 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.2394824028015137 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 : 1 step1:blur_detection Sat Jul 12 04:12:29 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 inside step blur_detection methode: ratio et variance treat image : temp/1752286347_1395615_1371790473_5ab22b43eb20f7f1ce936267f88ac604.jpg resize: (1080, 1632) 1371790473 -2.7057323651629086 treat image : temp/1752286347_1395615_1371790471_824e66b5ca83f1055f1f011f07d9ac00.jpg resize: (1080, 1632) 1371790471 -2.6689172128956704 treat image : temp/1752286347_1395615_1371790470_4deceff6701875bcb56360e121269081.jpg resize: (1080, 1632) 1371790470 -2.6688838607166296 treat image : temp/1752286347_1395615_1371790467_4fd727d5e185ba0689f325e90535de29.jpg resize: (1080, 1632) 1371790467 -2.6629182162316836 treat image : temp/1752286347_1395615_1371790463_35192dbdec3147d88bbd047119acda3a.jpg resize: (1080, 1632) 1371790463 -2.681353480352344 treat image : temp/1752286347_1395615_1371790454_1a6197dc81a153bc512ae343e347cd71.jpg resize: (1080, 1632) 1371790454 -2.620151966635608 treat image : temp/1752286347_1395615_1371790132_34d870be9dc1181cde88b9f63ce0e272.jpg resize: (1080, 1632) 1371790132 -2.734425302709519 treat image : temp/1752286347_1395615_1371790129_24b522f87a17e9fa55dde4cab4505c49.jpg resize: (1080, 1632) 1371790129 -2.6729682469435083 treat image : temp/1752286347_1395615_1371790110_0bf24ac52e9a441a6d29e9e2914b5e74.jpg resize: (1080, 1632) 1371790110 -2.629735811539518 treat image : temp/1752286347_1395615_1371790084_2c43df9e509b42acf4588fefd34aa7e5.jpg resize: (1080, 1632) 1371790084 -2.6501017973764416 treat image : temp/1752286347_1395615_1371789855_633e2aeb1368fc095f6b7671a3b3f610.jpg resize: (1080, 1632) 1371789855 -2.6835124148839515 treat image : temp/1752286347_1395615_1371789829_ea31d157bb9b32714f7b4ce98247ded0.jpg resize: (1080, 1632) 1371789829 -2.7097777420610347 treat image : temp/1752286347_1395615_1371789800_240328833bf9d484eb742b028bc91cf4.jpg resize: (1080, 1632) 1371789800 -2.670627076527458 treat image : temp/1752286347_1395615_1371789794_9390bced91d329c7032c40f3ec9d3c1d.jpg resize: (1080, 1632) 1371789794 -2.6586337653685503 treat image : temp/1752286347_1395615_1371789790_678574c9e1d69af6eb533a276a4ada76.jpg resize: (1080, 1632) 1371789790 -2.7018622407840973 treat image : temp/1752286347_1395615_1371789786_d6345b8978011e34531e8755bae14282.jpg resize: (1080, 1632) 1371789786 -2.642657899225753 treat image : temp/1752286347_1395615_1371789420_f563e22af41a08837af45cb92745247c.jpg resize: (1080, 1632) 1371789420 -2.643987609307467 treat image : temp/1752286347_1395615_1371789379_5984da77b1b1e30c30413afacb346307.jpg resize: (1080, 1632) 1371789379 -2.56349364157673 treat image : temp/1752286347_1395615_1371789347_c17351f0ff82915295ae69cde3a81568.jpg resize: (1080, 1632) 1371789347 -2.5953720317552924 treat image : temp/1752286347_1395615_1371789305_8c68e968d5be355f6237b273f2a42f7a.jpg resize: (1080, 1632) 1371789305 -2.6087799911895493 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.012475728988647461 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.13298249244689941 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.19396257400512695 save missing photos in datou_result : time spend for datou_step_exec : 14.887369394302368 time spend to save output : 0.34488558769226074 total time spend for step 1 : 15.232254981994629 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.71user 3.53system 0:20.05elapsed 86%CPU (0avgtext+0avgdata 138968maxresident)k 0inputs+7080outputs (1major+259737minor)pagefaults 0swaps