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 : 1004783 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1004783/ 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 : 3.4032649993896484 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 19 04:27: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/1752892046_1004783_1372313268_d41dfbb7cfe4b5f6c74772e849c980e7.jpg resize: (1080, 1632) 1372313268 -1.4757271085950479 treat image : temp/1752892046_1004783_1372313263_85c20e15756127efa1f8bc05b45bd790.jpg resize: (1080, 1632) 1372313263 -2.4745174423656118 treat image : temp/1752892046_1004783_1372313259_e034ba66f7146424960fc04609a5915d.jpg resize: (1080, 1632) 1372313259 -2.1041324626567928 treat image : temp/1752892046_1004783_1372313253_0ef1274851581a0e8ea3f27b62227f6c.jpg resize: (1080, 1632) 1372313253 -3.1751949973689957 treat image : temp/1752892046_1004783_1372313248_f52a94bba40eea5079f78cad632667ff.jpg resize: (1080, 1632) 1372313248 -5.134307039430605 treat image : temp/1752892046_1004783_1372313225_80b513052e9c1afb34052954efa40796.jpg resize: (1080, 1632) 1372313225 -3.6268787689250774 treat image : temp/1752892046_1004783_1372313221_f86d4dfe8d571ad38f842bf33fca7546.jpg resize: (1080, 1632) 1372313221 -5.107110979252775 treat image : temp/1752892046_1004783_1372313215_fd59d3dd784942c06a4b06696bb32526.jpg resize: (1080, 1632) 1372313215 -3.2561657194358835 treat image : temp/1752892046_1004783_1372313211_30ee5a8f9651b54eb37dfc602d3c476b.jpg resize: (1080, 1632) 1372313211 -5.155054825040511 treat image : temp/1752892046_1004783_1372313206_b70fe01148e9a00bae40e6c02c6066b8.jpg resize: (1080, 1632) 1372313206 -4.744164730144827 treat image : temp/1752892046_1004783_1372313200_ffb4d180fdb79040cc54be04ea90b8e2.jpg resize: (1080, 1632) 1372313200 -5.198905654405126 treat image : temp/1752892046_1004783_1372313182_9c46463a9ba6ea912c696b108627bc72.jpg resize: (1080, 1632) 1372313182 -5.582579507645794 treat image : temp/1752892046_1004783_1372313177_e2c49ee5e9ad09241b1f1f9186cfb7b6.jpg resize: (1080, 1632) 1372313177 -5.265591052367066 treat image : temp/1752892046_1004783_1372313173_64920211cf82178165c6024b1f343b6c.jpg resize: (1080, 1632) 1372313173 -5.534666646087652 treat image : temp/1752892046_1004783_1372313169_b22c078f54a05e50cff7abb641ceb52e.jpg resize: (1080, 1632) 1372313169 -5.252734937544444 treat image : temp/1752892046_1004783_1372313164_35d52635e449533925081fc27709327d.jpg resize: (1080, 1632) 1372313164 -5.502372427768168 treat image : temp/1752892046_1004783_1372313159_8e4c8e559089c8bf6fa0878f737f172b.jpg resize: (1080, 1632) 1372313159 -5.5031686398855175 treat image : temp/1752892046_1004783_1372313142_28eed41e836f4a010681161b0a0f98c0.jpg resize: (1080, 1632) 1372313142 -2.270385775144646 treat image : temp/1752892046_1004783_1372313137_7b4b2a4dd25eb3a9706d32e59142b0ac.jpg resize: (1080, 1632) 1372313137 -1.1346210716106755 treat image : temp/1752892046_1004783_1372313133_69166d709054bd5f2af3470c64fbaddf.jpg resize: (1080, 1632) 1372313133 -2.4192857600843367 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.0118408203125 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.08394145965576172 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018912315368652344 save missing photos in datou_result : time spend for datou_step_exec : 15.067371129989624 time spend to save output : 0.11932015419006348 total time spend for step 1 : 15.186691284179688 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.96user 3.82system 0:20.23elapsed 87%CPU (0avgtext+0avgdata 138420maxresident)k 128inputs+8816outputs (21major+252932minor)pagefaults 0swaps