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 : 3415743 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 : 3724>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3415743/ 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.1544361114501953 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 Jul 3 12:47:29 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/1751539647_3415743_1370434865_d1be7a8ddf595fb433039b97e895b10c.jpg resize: (1080, 1632) 1370434865 -5.1672764470851895 treat image : temp/1751539647_3415743_1370434811_8e9e4efb05840e24fbac39180743bbe7.jpg resize: (1080, 1632) 1370434811 -5.1771459613934825 treat image : temp/1751539647_3415743_1370434726_f3117e5890aeff8c0120a89f840f0092.jpg resize: (1080, 1632) 1370434726 -5.18477919281585 treat image : temp/1751539647_3415743_1370434668_7d156a7746e10b1314227596d2cad2bf.jpg resize: (1080, 1632) 1370434668 -5.18559565641207 treat image : temp/1751539647_3415743_1370434634_67afad6fe47579470b6f8334f2004ea4.jpg resize: (1080, 1632) 1370434634 -5.1820300105234125 treat image : temp/1751539647_3415743_1370434609_b983f20c1115d8531ef1a543c2741ef3.jpg resize: (1080, 1632) 1370434609 -5.189420414755672 treat image : temp/1751539647_3415743_1370434525_dd0a24de0d5333cb888cec0ab8667d09.jpg resize: (1080, 1632) 1370434525 -6.0119469319794945 treat image : temp/1751539647_3415743_1370434505_2781fe9fac38f518ded058709c31c685.jpg resize: (1080, 1632) 1370434505 -5.634673825420877 treat image : temp/1751539647_3415743_1370434468_3af9b0a3df22e6b02497525779676f4f.jpg resize: (1080, 1632) 1370434468 -5.423240879641098 treat image : temp/1751539647_3415743_1370434429_f0167562509615ec48055f1f4fb3ce2d.jpg resize: (1080, 1632) 1370434429 -5.5000513041245895 treat image : temp/1751539647_3415743_1370434361_b435262e098d7213cb1dc0c3a4d66060.jpg resize: (1080, 1632) 1370434361 -5.544364482764404 treat image : temp/1751539647_3415743_1370434298_bf52a0e61eeba1c811ffdf651bc4e935.jpg resize: (1080, 1632) 1370434298 -5.477921266346352 treat image : temp/1751539647_3415743_1370434080_76e829ec5d7a9ea4cc46cff18c745d60.jpg resize: (1080, 1632) 1370434080 -5.148204053379725 treat image : temp/1751539647_3415743_1370434042_2c6f9234af8d03a7d8fb63f71948dfb5.jpg resize: (1080, 1632) 1370434042 -5.144613954226676 treat image : temp/1751539647_3415743_1370434002_c62e2be6454f4da69fbe5be474c41d16.jpg resize: (1080, 1632) 1370434002 -5.150385583110204 treat image : temp/1751539647_3415743_1370433960_42024e34bffe2173eba987e61175cfcf.jpg resize: (1080, 1632) 1370433960 -5.166981320430898 treat image : temp/1751539647_3415743_1370433896_da8948743303ab084304443980418fe1.jpg resize: (1080, 1632) 1370433896 -5.177219778638759 treat image : temp/1751539647_3415743_1370433874_9226de7ecf573111abcc4bada1bf023a.jpg resize: (1080, 1632) 1370433874 -5.171389048713872 treat image : temp/1751539647_3415743_1370432480_56dbf2ec39341df7a63fd70ecdd01e0e.jpg resize: (1080, 1632) 1370432480 -5.096788509586884 treat image : temp/1751539647_3415743_1370432467_31ac20fdf9cc34c190d6d62db08542f8.jpg resize: (1080, 1632) 1370432467 -5.069970654941969 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.013477325439453125 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.011952400207519531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016069889068603516 save missing photos in datou_result : time spend for datou_step_exec : 16.877989768981934 time spend to save output : 0.04651451110839844 total time spend for step 1 : 16.924504280090332 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 4.62system 0:21.80elapsed 88%CPU (0avgtext+0avgdata 138140maxresident)k 1200inputs+10184outputs (21major+261054minor)pagefaults 0swaps