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 : 321507 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 : 8447>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/321507/ 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.339508533477783 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 Fri Jul 11 21:17: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/1752261448_321507_1371669699_2a7c6d871f2b5e3774d391bf09d808e9.jpg resize: (1080, 1632) 1371669699 -5.0170707637388 treat image : temp/1752261448_321507_1371669694_4f4ae013fb551da761d75e1445ac96dd.jpg resize: (1080, 1632) 1371669694 -5.028900193295604 treat image : temp/1752261448_321507_1371669689_4b9a2ec8ad66ae4f30f0c7fe8aa807c6.jpg resize: (1080, 1632) 1371669689 -5.028111525955967 treat image : temp/1752261448_321507_1371669677_3f237fb56010c740c8fba8ea048c225a.jpg resize: (1080, 1632) 1371669677 -5.00870703847488 treat image : temp/1752261448_321507_1371669668_5103dce4b928694fb2c713f820817810.jpg resize: (1080, 1632) 1371669668 -5.048053918532891 treat image : temp/1752261448_321507_1371669655_25236c27ebf82e662eaf522e61a07d17.jpg resize: (1080, 1632) 1371669655 -5.037704194473694 treat image : temp/1752261448_321507_1371669618_2c88974162097a2dc75ef4d44074abb7.jpg resize: (1080, 1632) 1371669618 -2.9875141534839313 treat image : temp/1752261448_321507_1371669612_8b0efb810923cc31edbe608fc3e4490b.jpg resize: (1080, 1632) 1371669612 -4.397900871815795 treat image : temp/1752261448_321507_1371669607_4cfe04a2aff539d6309d38ce16a6c426.jpg resize: (1080, 1632) 1371669607 -4.566334776002395 treat image : temp/1752261448_321507_1371669602_ded6793576f2b2749b8a18a5e9bc9b60.jpg resize: (1080, 1632) 1371669602 -3.3599023702119 treat image : temp/1752261448_321507_1371669597_ddad7331b3140e1f4d76d3678c1d8738.jpg resize: (1080, 1632) 1371669597 -5.327697712655457 treat image : temp/1752261448_321507_1371669592_44e9c5eab1e1b5c02eee6ce3bf96e096.jpg resize: (1080, 1632) 1371669592 -4.855289266818949 treat image : temp/1752261448_321507_1371669582_e37888fe2fdafdbe170f5bb69faf990f.jpg resize: (1080, 1632) 1371669582 -1.7324011763578524 treat image : temp/1752261448_321507_1371669578_1abaf11abd83042847b7c1e74066f64a.jpg resize: (1080, 1632) 1371669578 -3.7634992085746544 treat image : temp/1752261448_321507_1371669575_ed5cb58de546f0d8f41d7479c0734c05.jpg resize: (1080, 1632) 1371669575 -4.620624371906778 treat image : temp/1752261448_321507_1371669570_0c755aa4d6d6c70b94732355ef80c47d.jpg resize: (1080, 1632) 1371669570 -5.143530927509473 treat image : temp/1752261448_321507_1371669567_32a9b993b6e529eb818865717cda9594.jpg resize: (1080, 1632) 1371669567 -4.756520517374649 treat image : temp/1752261448_321507_1371669564_cdd9a5b02092f5826c5af39b341ab542.jpg resize: (1080, 1632) 1371669564 -5.116355910536157 treat image : temp/1752261448_321507_1371669552_986af1e369bc3473988b9626dc7d80b5.jpg resize: (1080, 1632) 1371669552 -5.051185179899291 treat image : temp/1752261448_321507_1371669549_e8217353dae4b48c63ab9ab96ea75fd3.jpg resize: (1080, 1632) 1371669549 -5.041451223357483 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.01465916633605957 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.012109756469726562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015770435333251953 save missing photos in datou_result : time spend for datou_step_exec : 15.417515516281128 time spend to save output : 0.04712367057800293 total time spend for step 1 : 15.46463918685913 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 3.47system 0:19.72elapsed 91%CPU (0avgtext+0avgdata 140340maxresident)k 0inputs+9104outputs (17major+261225minor)pagefaults 0swaps