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 : 2457524 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 : 588>100 please execute split_portfolio.py -i 22024890 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2720883'] with mtr_portfolio_ids : ['22024890'] and first list_photo_ids : [] new path : /proc/2457524/ 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.4501163959503174 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 Tue Apr 15 10:27: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/1744705647_2457524_1349838252_f0b79f2a9d6427865f1bb54edf88b4af.jpg resize: (1080, 1632) 1349838252 -5.68668894182943 treat image : temp/1744705647_2457524_1349838241_cf3ac76b39fe103d55e77b2e388b3fcb.jpg resize: (1080, 1632) 1349838241 -6.1373518412109975 treat image : temp/1744705647_2457524_1349838231_2975d275f690c14456d928dd2f0519f7.jpg resize: (1080, 1632) 1349838231 -4.164584310924097 treat image : temp/1744705647_2457524_1349838198_56cb64beebc1580e6d631f8f5e40ce13.jpg resize: (1080, 1632) 1349838198 -1.6277496539427816 treat image : temp/1744705647_2457524_1349838094_220c202d7241275ccb76faf4328334a3.jpg resize: (1080, 1632) 1349838094 -3.2433821786559083 treat image : temp/1744705647_2457524_1349838088_b1059c25f8f5e05eb97bb931605f0a8f.jpg resize: (1080, 1632) 1349838088 -2.713423336776555 treat image : temp/1744705647_2457524_1349838075_8223a7830b7d49884c51384b17cb603a.jpg resize: (1080, 1632) 1349838075 -5.940013673281993 treat image : temp/1744705647_2457524_1349838065_f2c558dd12599ccc284f2108ca208e8c.jpg resize: (1080, 1632) 1349838065 -6.352919485550866 treat image : temp/1744705647_2457524_1349838025_cca51627c8bb212b4c32319a4b578800.jpg resize: (1080, 1632) 1349838025 -3.938724024270215 treat image : temp/1744705647_2457524_1349837879_33ff423c9562e7622730ed189a176453.jpg resize: (1080, 1632) 1349837879 -5.141771473227952 treat image : temp/1744705647_2457524_1349836386_214cdc0be4028bad0a2d8cad04237e47.jpg resize: (1080, 1632) 1349836386 -5.83699104166836 treat image : temp/1744705647_2457524_1349836359_6513f954cb9b542eb702bb9d91cffc2b.jpg resize: (1080, 1632) 1349836359 -5.714272480472446 treat image : temp/1744705647_2457524_1349836353_152031bca0e4c64f4058958095ab64f7.jpg resize: (1080, 1632) 1349836353 -4.055892248142162 treat image : temp/1744705647_2457524_1349836349_82138e75c12d435336bb94ba978068f4.jpg resize: (1080, 1632) 1349836349 -5.491271386714061 treat image : temp/1744705647_2457524_1349836341_ce0ed2f8fff972562df9c508febcea4c.jpg resize: (1080, 1632) 1349836341 -6.18040366420386 treat image : temp/1744705647_2457524_1349836337_529806467726089981a7dce07687227a.jpg resize: (1080, 1632) 1349836337 -2.6389594476089346 treat image : temp/1744705647_2457524_1349834074_aa0baa9dd70b739be8d60470014f7907.jpg resize: (1080, 1632) 1349834074 -3.4518373671508074 treat image : temp/1744705647_2457524_1349834051_d879f529836de9e0d1537f0407a881be.jpg resize: (1080, 1632) 1349834051 -5.586526181374387 treat image : temp/1744705647_2457524_1349834004_50a7661a9dc0fa854593718a45e55516.jpg resize: (1080, 1632) 1349834004 -6.010026767976677 treat image : temp/1744705647_2457524_1349833966_f082a197b424a3615008b5a26d1ce5c6.jpg resize: (1080, 1632) 1349833966 -5.707459452886017 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.012501955032348633 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.012151956558227539 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01471853256225586 save missing photos in datou_result : time spend for datou_step_exec : 16.023407459259033 time spend to save output : 0.04425692558288574 total time spend for step 1 : 16.06766438484192 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.32user 3.29system 0:20.70elapsed 89%CPU (0avgtext+0avgdata 141104maxresident)k 152inputs+10600outputs (5major+198066minor)pagefaults 0swaps