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 : 2247910 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 : 1077>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2247910/ 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.3395209312438965 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 Thu May 22 09:52:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1747900348_2247910_1360474439_ba4275c3ce7ac6aadd159e8be81db677.jpg resize: (1080, 1632) 1360474439 -1.2582342313682635 treat image : temp/1747900348_2247910_1360474376_6ced5a0bf5e2f48f4bc2c0d5f4d3136f.jpg resize: (1080, 1632) 1360474376 -1.0569807364496404 treat image : temp/1747900348_2247910_1360474293_7dbcf84d935774b7015303a0bc41bf95.jpg resize: (1080, 1632) 1360474293 -3.545231762778925 treat image : temp/1747900348_2247910_1360474207_e74e19f0913d3d314a6fb4da5579805d.jpg resize: (1080, 1632) 1360474207 -4.609128215430544 treat image : temp/1747900348_2247910_1360474124_cdb079a16a157ba985363e94917af2e9.jpg resize: (1080, 1632) 1360474124 -5.003390598273535 treat image : temp/1747900348_2247910_1360473542_fdd1b0a0a5719abb5080112a0f3bbcc9.jpg resize: (1080, 1632) 1360473542 -4.670270771445142 treat image : temp/1747900348_2247910_1360473488_d7615fb24f109f617546c5b81ebe6a73.jpg resize: (1080, 1632) 1360473488 -5.718019961119559 treat image : temp/1747900348_2247910_1360473433_28195f34810cd54379bd78d89afc573d.jpg resize: (1080, 1632) 1360473433 -6.005559854490323 treat image : temp/1747900348_2247910_1360473357_dc04c35f901f0e160f921a88b2bb478a.jpg resize: (1080, 1632) 1360473357 -1.7925035858882672 treat image : temp/1747900348_2247910_1360472409_e9df2f0e06e6f0aab05311cb1ea440b3.jpg resize: (1080, 1632) 1360472409 -5.812110707102083 treat image : temp/1747900348_2247910_1360472362_33f4982269f2d3242f86ab2241b41f1e.jpg resize: (1080, 1632) 1360472362 -6.18911841471278 treat image : temp/1747900348_2247910_1360472309_eab5bef9b096cfe6e9de038308dec211.jpg resize: (1080, 1632) 1360472309 -6.246814940255353 treat image : temp/1747900348_2247910_1360472256_f48c768d97716708095a1ff843b51cb8.jpg resize: (1080, 1632) 1360472256 -5.522172241008891 treat image : temp/1747900348_2247910_1360472087_be11ed8a616e7fa339cfc7338085a835.jpg resize: (1080, 1632) 1360472087 -4.328860780226901 treat image : temp/1747900348_2247910_1360471592_49385f578c3df08e8927a7ad02ec658e.jpg resize: (1080, 1632) 1360471592 -5.883803005630689 treat image : temp/1747900348_2247910_1360471526_4911b8f57ead520d1e20ffb50b2c22c1.jpg resize: (1080, 1632) 1360471526 -5.606531572041297 treat image : temp/1747900348_2247910_1360471477_270d1233d11b5ff96ce694d56af94668.jpg resize: (1080, 1632) 1360471477 -5.790892534923968 treat image : temp/1747900348_2247910_1360471442_db40e80184c3f5d41c3a183b0f8aa83a.jpg resize: (1080, 1632) 1360471442 -5.727881273236804 treat image : temp/1747900348_2247910_1360471415_50c335b6cce8d3e0786dcbc3eed149e0.jpg resize: (1080, 1632) 1360471415 -5.137457298313056 treat image : temp/1747900348_2247910_1360471291_6da28bac8543a78a8752c22ee48d4430.jpg resize: (1080, 1632) 1360471291 -5.096348180732946 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.029776811599731445 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.11494183540344238 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03295540809631348 save missing photos in datou_result : time spend for datou_step_exec : 18.380263090133667 time spend to save output : 0.18232011795043945 total time spend for step 1 : 18.562583208084106 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.02user 4.46system 0:23.62elapsed 82%CPU (0avgtext+0avgdata 138552maxresident)k 152inputs+9992outputs (0major+258929minor)pagefaults 0swaps