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 : 3554221 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 : 2510>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/3554221/ 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.3001794815063477 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 17:07: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/1747840050_3554221_1360067705_653d4332b0a8b51f012e4bafe74a3ec7.jpg resize: (1080, 1632) 1360067705 -3.243798110930127 treat image : temp/1747840050_3554221_1360067659_0cbfda2befb2d3ad94b6ff0c7e452f48.jpg resize: (1080, 1632) 1360067659 -5.785974823438138 treat image : temp/1747840050_3554221_1360067628_1e54a530003aa3a5d1cde06227ca8964.jpg resize: (1080, 1632) 1360067628 -5.873241412635574 treat image : temp/1747840050_3554221_1360067575_f5b6c2c41512bbeba32a303d0652564f.jpg resize: (1080, 1632) 1360067575 -4.67854281569883 treat image : temp/1747840050_3554221_1360067520_ef441a152c845b496c17861bd527de80.jpg resize: (1080, 1632) 1360067520 -6.119309603921146 treat image : temp/1747840050_3554221_1360067443_f64be8e6e95a03877a0999393601aa2a.jpg resize: (1080, 1632) 1360067443 -6.65151359399463 treat image : temp/1747840050_3554221_1360066819_d960d4b595764dceed505560bbf1b2e7.jpg resize: (1080, 1632) 1360066819 -5.4197112826800735 treat image : temp/1747840050_3554221_1360066759_bf6448aa35e97f5a265244e531b51932.jpg resize: (1080, 1632) 1360066759 -1.1624783352245556 treat image : temp/1747840050_3554221_1360066685_4a26c0fc9aaf5b95e8572d23b1db56b7.jpg resize: (1080, 1632) 1360066685 -3.9185959876577043 treat image : temp/1747840050_3554221_1360066325_4f5dee6458e491bc951e04b9b75422e7.jpg resize: (1080, 1632) 1360066325 -6.328312753693386 treat image : temp/1747840050_3554221_1360066299_f65c2f6a171031f0bcd2eaf0c629d37b.jpg resize: (1080, 1632) 1360066299 -5.140267749090267 treat image : temp/1747840050_3554221_1360066271_9d7cf04253f505bb8ae4afe0c30663c6.jpg resize: (1080, 1632) 1360066271 -5.276895682454466 treat image : temp/1747840050_3554221_1360066241_ad3b24a1c40b4976f01b9871aa0de13b.jpg resize: (1080, 1632) 1360066241 -5.728381235035222 treat image : temp/1747840050_3554221_1360066209_6ee68ff6a517da478b4d2e8b6ae5c8f1.jpg resize: (1080, 1632) 1360066209 -6.07965264035162 treat image : temp/1747840050_3554221_1360066040_a69c3046f30934721692e15ec41008c3.jpg resize: (1080, 1632) 1360066040 -6.0214095200152125 treat image : temp/1747840050_3554221_1360066037_54af276649bb7655c665a18ab3463c1a.jpg resize: (1080, 1632) 1360066037 -6.133011040058743 treat image : temp/1747840050_3554221_1360066029_dc271841068005e99aadb344808d42cd.jpg resize: (1080, 1632) 1360066029 -5.599184112471293 treat image : temp/1747840050_3554221_1360066024_d6f0dadcf6069e80b92c8afc91d4aa1c.jpg resize: (1080, 1632) 1360066024 -5.578381519883647 treat image : temp/1747840050_3554221_1360066019_b2559f7e2114b480d14a1d648a435204.jpg resize: (1080, 1632) 1360066019 -6.520938761428068 treat image : temp/1747840050_3554221_1360066013_a47c0317743a2c91112117840c6bbc30.jpg resize: (1080, 1632) 1360066013 -6.504446304791271 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.01336812973022461 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.04099845886230469 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030120372772216797 save missing photos in datou_result : time spend for datou_step_exec : 19.02946162223816 time spend to save output : 0.0894768238067627 total time spend for step 1 : 19.118938446044922 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.19user 6.57system 0:25.45elapsed 85%CPU (0avgtext+0avgdata 137764maxresident)k 240inputs+10840outputs (13major+265825minor)pagefaults 0swaps