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 : 1982527 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 : 897>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1982527/ 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.517665386199951 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 Feb 6 03:37:32 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/1738809449_1982527_1335101166_b052f9b32c91b707892139038e860e96.jpg resize: (1080, 1632) 1335101166 -1.152922155337686 treat image : temp/1738809449_1982527_1335101163_f570ab5896508788c43d0582f19ec11d.jpg resize: (1080, 1632) 1335101163 -5.153095414909538 treat image : temp/1738809449_1982527_1335101160_0a3d51c084427900213b1aa0945b7ae7.jpg resize: (1080, 1632) 1335101160 -5.0015881530474 treat image : temp/1738809449_1982527_1335101159_e12148466ebad3fd159d28f65b983ce0.jpg resize: (1080, 1632) 1335101159 -6.843844182850862 treat image : temp/1738809449_1982527_1335101121_c0a8fa527e82e9d7d9f2029a79efaef7.jpg resize: (1080, 1632) 1335101121 -6.406269239437496 treat image : temp/1738809449_1982527_1335092808_e4146aea3246b8271e723d6728d3cb95.jpg resize: (1080, 1632) 1335092808 -2.84301476837178 treat image : temp/1738809449_1982527_1335092806_e459f8a2e93e36675fec2bed05012f91.jpg resize: (1080, 1632) 1335092806 -5.279903570513285 treat image : temp/1738809449_1982527_1335092804_501925c1342047d43fb9ef2a07d5d1dc.jpg resize: (1080, 1632) 1335092804 -5.859772224770573 treat image : temp/1738809449_1982527_1335092803_80fd76394cc7ab9f74e43fcb14b15198.jpg resize: (1080, 1632) 1335092803 -5.837072606872129 treat image : temp/1738809449_1982527_1335092800_3f6cbf7c7f505e843e016233dc570508.jpg resize: (1080, 1632) 1335092800 -6.0614507526424 treat image : temp/1738809449_1982527_1335092797_8f62db81fd14e674ada8d7cc358d264d.jpg resize: (1080, 1632) 1335092797 -5.8531544156527 treat image : temp/1738809449_1982527_1335092796_ed8a0522ca6e00ccd611bbc28d224cde.jpg resize: (1080, 1632) 1335092796 -5.002637074987338 treat image : temp/1738809449_1982527_1335092795_5b6c359dde9145c50b9c8af9341d363d.jpg resize: (1080, 1632) 1335092795 -1.4439899305245671 treat image : temp/1738809449_1982527_1335091585_b0d6250a83d1067a71aa1d3ee7c8f7fc.jpg resize: (1080, 1632) 1335091585 -5.342389084695196 treat image : temp/1738809449_1982527_1335091584_06802d9b37caa7f049220544b0afb457.jpg resize: (1080, 1632) 1335091584 -5.342389084695196 treat image : temp/1738809449_1982527_1335091582_dd737275c683faa9cf4e7db7d40e8e3d.jpg resize: (1080, 1632) 1335091582 -4.908142715518606 treat image : temp/1738809449_1982527_1335091580_a1278182f9e645cb9815c1f0ecf90221.jpg resize: (1080, 1632) 1335091580 -4.908142715518606 treat image : temp/1738809449_1982527_1335091577_3c2490ec805a0af18a3cf9bd5640246c.jpg resize: (1080, 1632) 1335091577 -5.0255679417014205 treat image : temp/1738809449_1982527_1335091576_2474994fc20d57d04708508c27646b32.jpg resize: (1080, 1632) 1335091576 -5.0255679417014205 treat image : temp/1738809449_1982527_1335091520_f064a588d1d2cf0b9759f83844c66d59.jpg resize: (1080, 1632) 1335091520 -2.476292088157058 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.013782501220703125 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.013116836547851562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014716148376464844 save missing photos in datou_result : time spend for datou_step_exec : 12.776308059692383 time spend to save output : 0.046895503997802734 total time spend for step 1 : 12.823203563690186 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.73user 1.43system 0:19.45elapsed 77%CPU (0avgtext+0avgdata 139952maxresident)k 8inputs+10208outputs (25major+120613minor)pagefaults 0swaps