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 : 2506706 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 : 1597>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2506706/ 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.3819334506988525 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 Wed May 21 12:07: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/1747822047_2506706_1360012353_a0c4d942760dada5ce1e3db6267c72d4.jpg resize: (1080, 1632) 1360012353 -1.5097552518401507 treat image : temp/1747822047_2506706_1360012349_805c5591f23bbf5fe5b65a07bd82622f.jpg resize: (1080, 1632) 1360012349 -3.8899960926228694 treat image : temp/1747822047_2506706_1360012345_7bab09779f211ba53ab7ecc6762f2dcd.jpg resize: (1080, 1632) 1360012345 -5.825092257393245 treat image : temp/1747822047_2506706_1360012339_7c6b9adf3051cd98709e78f5571d0b27.jpg resize: (1080, 1632) 1360012339 -4.95511116393158 treat image : temp/1747822047_2506706_1360012310_35073ab35b3f8b0891fe03021484055b.jpg resize: (1080, 1632) 1360012310 -4.083554491547283 treat image : temp/1747822047_2506706_1360012306_4ae01c9eb7ad983cc83bc0f2d0e9e79c.jpg resize: (1080, 1632) 1360012306 -5.316123004360938 treat image : temp/1747822047_2506706_1360012302_6f4df0705232d3fb925d015ef350da62.jpg resize: (1080, 1632) 1360012302 -4.126667290277807 treat image : temp/1747822047_2506706_1360012298_49244d9243172cd57560778279e70ee1.jpg resize: (1080, 1632) 1360012298 -0.6134102166021574 treat image : temp/1747822047_2506706_1360012279_f2bf29bd58077b78a952929b15fbb1e1.jpg resize: (1080, 1632) 1360012279 -5.709464641140593 treat image : temp/1747822047_2506706_1360012277_b2e842ad6f59d3270fdcc5bdaf9c1ae5.jpg resize: (1080, 1632) 1360012277 -3.230201927226623 treat image : temp/1747822047_2506706_1360012274_a53b74d6686c585842aac3c327e4c595.jpg resize: (1080, 1632) 1360012274 -5.6740487012381475 treat image : temp/1747822047_2506706_1360012270_cabecfef1cbfa1ae2dbfba60033303b5.jpg resize: (1080, 1632) 1360012270 -4.175023738210765 treat image : temp/1747822047_2506706_1360012267_b9cefe050e1d7e7f0922e2847dddaca8.jpg resize: (1080, 1632) 1360012267 -5.699136227225067 treat image : temp/1747822047_2506706_1360012263_93f6bcff0d2256285b7dc460e5dd53a3.jpg resize: (1080, 1632) 1360012263 -5.372175314460044 treat image : temp/1747822047_2506706_1360012138_6ff200e7e8754231c57c9503d5e317a2.jpg resize: (1080, 1632) 1360012138 -1.9261736119573796 treat image : temp/1747822047_2506706_1360012134_79ba103087506c9535f545ddd054117e.jpg resize: (1080, 1632) 1360012134 -5.0215486073412805 treat image : temp/1747822047_2506706_1360012128_9bbe5b52f41316c9020730846f3ed3b6.jpg resize: (1080, 1632) 1360012128 -5.7215869840980975 treat image : temp/1747822047_2506706_1360012125_67b03d76ffcd971432623e6ae0cc6457.jpg resize: (1080, 1632) 1360012125 -5.3739999240607705 treat image : temp/1747822047_2506706_1360012121_41e50b93721c637b545fe1392da34fe2.jpg resize: (1080, 1632) 1360012121 -5.805385798861457 treat image : temp/1747822047_2506706_1360011783_22f3fd2e4905e49a13573d29e80620a2.jpg resize: (1080, 1632) 1360011783 -4.934227933891405 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.012978076934814453 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.13082551956176758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08996129035949707 save missing photos in datou_result : time spend for datou_step_exec : 16.235430240631104 time spend to save output : 0.23857426643371582 total time spend for step 1 : 16.47400450706482 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.30user 3.54system 0:20.92elapsed 90%CPU (0avgtext+0avgdata 141380maxresident)k 160inputs+9440outputs (15major+264565minor)pagefaults 0swaps