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 : 612731 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 : 1418>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/612731/ 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.5335450172424316 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 Tue Aug 12 10:47: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/1754988447_612731_1376578612_9de8610e7e732507c69280ed2702892c.jpg resize: (1080, 1632) 1376578612 -1.3296593504358267 treat image : temp/1754988447_612731_1376578599_d72e3b1baa642933306c823c61096229.jpg resize: (1080, 1632) 1376578599 -1.6463425462687256 treat image : temp/1754988447_612731_1376578560_e2706cd931397bd05541118c5f3462f0.jpg resize: (1080, 1632) 1376578560 -3.5207083638948427 treat image : temp/1754988447_612731_1376578509_ea1b6d9792e0dcdb6c50b3241c116b44.jpg resize: (1080, 1632) 1376578509 -2.934442054190715 treat image : temp/1754988447_612731_1376578300_6b18320234cfc42cb55c5d19e7fcc9d1.jpg resize: (1080, 1632) 1376578300 -1.2690911428441516 treat image : temp/1754988447_612731_1376578236_d2c46dab0cf3ded0d19d512273ad2806.jpg resize: (1080, 1632) 1376578236 -4.7723185358226505 treat image : temp/1754988447_612731_1376578228_e82c1853c0c88c89ef3e46009a92b8aa.jpg resize: (1080, 1632) 1376578228 -4.218948400484941 treat image : temp/1754988447_612731_1376578223_9140739ac40c17e7248f077fcfb57623.jpg resize: (1080, 1632) 1376578223 -4.269180760717065 treat image : temp/1754988447_612731_1376569892_f6455722998ab960e8b553995814240c.jpg resize: (1080, 1632) 1376569892 -4.889433111585152 treat image : temp/1754988447_612731_1376569873_f2e5af02f105841d207efda230ec572c.jpg resize: (1080, 1632) 1376569873 -6.182614880462967 treat image : temp/1754988447_612731_1376569867_7f68c70b8f4a099c5403b955ac518957.jpg resize: (1080, 1632) 1376569867 -5.879824261620481 treat image : temp/1754988447_612731_1376569866_3a36ad90cf8fa64da4c07f582754cce7.jpg resize: (1080, 1632) 1376569866 -1.322323299117677 treat image : temp/1754988447_612731_1376569865_8c5433bbece2b46bf9b76f494ca4be3e.jpg resize: (1080, 1632) 1376569865 -1.7858051503289665 treat image : temp/1754988447_612731_1376569861_11cb79775d781e712cd1f9217daaa7a2.jpg resize: (1080, 1632) 1376569861 -2.1161105123656494 treat image : temp/1754988447_612731_1376569838_b476b79bf719d05ec9d0a7924059e148.jpg resize: (1080, 1632) 1376569838 -6.084483950060365 treat image : temp/1754988447_612731_1376569836_d112aab5d5d179f63f5369f98d9bf420.jpg resize: (1080, 1632) 1376569836 -5.491067391208768 treat image : temp/1754988447_612731_1376569831_0902db925c10b81ff2d6074e66d687c9.jpg resize: (1080, 1632) 1376569831 -4.921520744843723 treat image : temp/1754988447_612731_1376569827_257836559a1020e6553b483decccc3ed.jpg resize: (1080, 1632) 1376569827 -4.685835282819495 treat image : temp/1754988447_612731_1376569824_3cac8cefeed3f4165e78c40618e9e69d.jpg resize: (1080, 1632) 1376569824 -5.164957884680999 treat image : temp/1754988447_612731_1376569821_004348b7c795c15c5e94b3ef7debdb52.jpg resize: (1080, 1632) 1376569821 -6.465076120931551 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.02652430534362793 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.022945880889892578 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02408599853515625 save missing photos in datou_result : time spend for datou_step_exec : 15.157251596450806 time spend to save output : 0.0784451961517334 total time spend for step 1 : 15.235696792602539 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.98user 3.65system 0:19.95elapsed 88%CPU (0avgtext+0avgdata 138968maxresident)k 328inputs+8920outputs (6major+216129minor)pagefaults 0swaps