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 : 3741183 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 : 2672>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/3741183/ 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.313877582550049 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 18:12:31 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/1747843948_3741183_1360094912_ddf5beca8a2a6f8f7692353660e0b36d.jpg resize: (1080, 1632) 1360094912 -6.232440370787742 treat image : temp/1747843948_3741183_1360094908_1f7c77e19364874b7d710ddc93825325.jpg resize: (1080, 1632) 1360094908 -1.8865291592150746 treat image : temp/1747843948_3741183_1360094656_0cba921b070b1164263bfa3d47a52c0c.jpg resize: (1080, 1632) 1360094656 -6.320423460621744 treat image : temp/1747843948_3741183_1360094646_d979137687b9d1739a0c9dc8069e3851.jpg resize: (1080, 1632) 1360094646 -6.24580693277064 treat image : temp/1747843948_3741183_1360094640_671141c85f7a1050f5dcde798447de13.jpg resize: (1080, 1632) 1360094640 -2.7032279415586613 treat image : temp/1747843948_3741183_1360094634_74fa3fe1afb86cc75c749669ca7d97a2.jpg resize: (1080, 1632) 1360094634 -5.494790847828187 treat image : temp/1747843948_3741183_1360094630_a954cd04392b3d8f4b0301df4cc3976c.jpg resize: (1080, 1632) 1360094630 -5.761521296626207 treat image : temp/1747843948_3741183_1360094517_745dc881cde19936662449eb99064a56.jpg resize: (1080, 1632) 1360094517 -5.412999062480556 treat image : temp/1747843948_3741183_1360094514_328920a82486c1a85f48270046d2151e.jpg resize: (1080, 1632) 1360094514 -6.143005140644805 treat image : temp/1747843948_3741183_1360094510_2aca512313968dd878e4997b41774a21.jpg resize: (1080, 1632) 1360094510 -6.086155070335645 treat image : temp/1747843948_3741183_1360094505_f65fade18e44bd20a0e07da21a2343e8.jpg resize: (1080, 1632) 1360094505 -6.044759170732634 treat image : temp/1747843948_3741183_1360094446_29dbde99b5b9681f72d18f783f79fa80.jpg resize: (1080, 1632) 1360094446 -1.1423021113364271 treat image : temp/1747843948_3741183_1360094440_8794ce792ac8a9cc5e5b0215e8a975fa.jpg resize: (1080, 1632) 1360094440 -2.0236472055558212 treat image : temp/1747843948_3741183_1360094428_db63eb579c4e916b5e93d92dfcd65194.jpg resize: (1080, 1632) 1360094428 -5.651696721788989 treat image : temp/1747843948_3741183_1360094423_df5bbe63f8a6a4217bf4d862d3313c7d.jpg resize: (1080, 1632) 1360094423 -5.019720351087223 treat image : temp/1747843948_3741183_1360094348_99d44fb4f85f0024db0b30fb289efce0.jpg resize: (1080, 1632) 1360094348 -5.696239245433444 treat image : temp/1747843948_3741183_1360094325_26ce5c9e5fe954db3ab47887d8a5242f.jpg resize: (1080, 1632) 1360094325 -5.806029792293151 treat image : temp/1747843948_3741183_1360094319_3f8846c935e8395c6010031beda9f581.jpg resize: (1080, 1632) 1360094319 -3.3130970368356127 treat image : temp/1747843948_3741183_1360094306_0a13a9f15fe054db791fd2a1490955b7.jpg resize: (1080, 1632) 1360094306 -6.321669016083201 treat image : temp/1747843948_3741183_1360094283_f2614ce114c4d7f165fc50bf83899421.jpg resize: (1080, 1632) 1360094283 -2.637700525798458 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.012905597686767578 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.015691757202148438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022419452667236328 save missing photos in datou_result : time spend for datou_step_exec : 20.60736584663391 time spend to save output : 0.055956125259399414 total time spend for step 1 : 20.66332197189331 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 8.72system 0:25.79elapsed 89%CPU (0avgtext+0avgdata 137916maxresident)k 3928inputs+10552outputs (17major+262833minor)pagefaults 0swaps