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 : 938823 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 : 6408>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/938823/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0751399993896484 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 Fri Aug 1 11:57: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/1754042248_938823_1374764361_646b0c40925b1beae8e6e73b2e7d464f.jpg resize: (1080, 1632) 1374764361 -4.6321417047191655 treat image : temp/1754042248_938823_1374764359_493edeb8d018f245990427c92b775811.jpg resize: (1080, 1632) 1374764359 -4.430038061677146 treat image : temp/1754042248_938823_1374764356_05554821f1bdc17a91fafe0a5ca3f9db.jpg resize: (1080, 1632) 1374764356 -4.9281634707610085 treat image : temp/1754042248_938823_1374764353_c5bb1e6af24474b6daf046a7b5881e19.jpg resize: (1080, 1632) 1374764353 -5.313748977198402 treat image : temp/1754042248_938823_1374764350_cd73c6a9d97171ee2beef36c28aee29a.jpg resize: (1080, 1632) 1374764350 -5.309316610171334 treat image : temp/1754042248_938823_1374764347_eade4aa667b2de7680a7a7c3ccba6fad.jpg resize: (1080, 1632) 1374764347 -2.2318786862343245 treat image : temp/1754042248_938823_1374764337_6f696e4694e28d901c86ded80d4e58cc.jpg resize: (1080, 1632) 1374764337 -1.748492055616164 treat image : temp/1754042248_938823_1374764335_7297e8fc940c14e4b93d0340135492d2.jpg resize: (1080, 1632) 1374764335 -2.737313051514148 treat image : temp/1754042248_938823_1374764332_25f441aaa5d5d775f30af7c003fb95d1.jpg resize: (1080, 1632) 1374764332 -4.7759399554367645 treat image : temp/1754042248_938823_1374764330_2942c036f6728a412ed665f530b7fcaf.jpg resize: (1080, 1632) 1374764330 -4.931778015379313 treat image : temp/1754042248_938823_1374764326_f03cb37fb18cd2708fcfa7c6a9727731.jpg resize: (1080, 1632) 1374764326 -4.6847612518938755 treat image : temp/1754042248_938823_1374764323_12ce386fa74b8b47a3713403bd9c0de0.jpg resize: (1080, 1632) 1374764323 -3.7673867496848885 treat image : temp/1754042248_938823_1374764281_46a7463d6f90a28b75ef456298653972.jpg resize: (1080, 1632) 1374764281 -4.861121627037554 treat image : temp/1754042248_938823_1374764271_1eaffe1d8709aa409cb8fb25bc07ad21.jpg resize: (1080, 1632) 1374764271 -4.3099698871997605 treat image : temp/1754042248_938823_1374764267_137b9465a8b90ac60700860fd24035b2.jpg resize: (1080, 1632) 1374764267 -5.453470309683582 treat image : temp/1754042248_938823_1374764263_ec11ac9a72a5d37337c603e6f3b9c6ae.jpg resize: (1080, 1632) 1374764263 -6.070947012678281 treat image : temp/1754042248_938823_1374764260_cad8207b93413acf519ba1ea73f2694a.jpg resize: (1080, 1632) 1374764260 -6.229972218387594 treat image : temp/1754042248_938823_1374764257_fa5ab43d8b71f2af3dc4756121582113.jpg resize: (1080, 1632) 1374764257 -6.081709060164016 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 : 18 time used for this insertion : 0.015564680099487305 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.3139936923980713 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.018754243850708008 save missing photos in datou_result : time spend for datou_step_exec : 17.402920484542847 time spend to save output : 0.35333704948425293 total time spend for step 1 : 17.7562575340271 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.18user 6.64system 0:23.17elapsed 85%CPU (0avgtext+0avgdata 139420maxresident)k 152inputs+8400outputs (37major+240093minor)pagefaults 0swaps