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 : 569385 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 : 1811>100 please execute split_portfolio.py -i 22151579 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2733389'] with mtr_portfolio_ids : ['22151579'] and first list_photo_ids : [] new path : /proc/569385/ 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.7315075397491455 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 Apr 9 10:47: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/1744188449_569385_1350728613_44afc682cabc50fdfe07c008bd957ea9.jpg resize: (1080, 1632) 1350728613 -1.8865952142443185 treat image : temp/1744188449_569385_1350728566_5d24ab577c12e69071ffe1810b72d0a4.jpg resize: (1080, 1632) 1350728566 -4.103350407124335 treat image : temp/1744188449_569385_1350728260_ba47e131a5f068d65244858acee20d7c.jpg resize: (1080, 1632) 1350728260 -5.230462462931276 treat image : temp/1744188449_569385_1350728203_6e7b97b4b336c3c4037f86e837a5e5f8.jpg resize: (1080, 1632) 1350728203 -6.493687741268836 treat image : temp/1744188449_569385_1350728157_2ed800514457ae28a3cdc840ed31c247.jpg resize: (1080, 1632) 1350728157 -5.9201937394017685 treat image : temp/1744188449_569385_1350728104_97460569847a68e20795e7c6e8e50b2e.jpg resize: (1080, 1632) 1350728104 -6.551512485867309 treat image : temp/1744188449_569385_1350728050_4b32e090f0cdaf173b930a893ebde1a2.jpg resize: (1080, 1632) 1350728050 -4.886355267068385 treat image : temp/1744188449_569385_1350727695_a51bb6541a38b5251bb5510c0a1e333e.jpg resize: (1080, 1632) 1350727695 -6.270542591479126 treat image : temp/1744188449_569385_1350727652_ff7a882de2bde0e58dbbf210b4b701e8.jpg resize: (1080, 1632) 1350727652 -4.773905922262235 treat image : temp/1744188449_569385_1350727593_96c7a76cc784696b7cd411dcabce3b3a.jpg resize: (1080, 1632) 1350727593 -3.386328375134639 treat image : temp/1744188449_569385_1350727544_ec441359b0e125c33d641a0f7d73ebca.jpg resize: (1080, 1632) 1350727544 -5.359334587966291 treat image : temp/1744188449_569385_1350727492_2f6c2c48aefeaea1561edfe92f4e7c2a.jpg resize: (1080, 1632) 1350727492 -5.342890535804111 treat image : temp/1744188449_569385_1350727436_8dbbc60fa9a83f833931fb1241077f38.jpg resize: (1080, 1632) 1350727436 -5.81691321881419 treat image : temp/1744188449_569385_1350680392_e880a9c16de4d5d9bdcd8a94233231a1.jpg resize: (1080, 1632) 1350680392 -2.016171757063809 treat image : temp/1744188449_569385_1350680375_f4caa47390525fa508dce59b400cc9a2.jpg resize: (1080, 1632) 1350680375 -5.018945449926283 treat image : temp/1744188449_569385_1350680373_6eae5e7728c2034745672b345975f600.jpg resize: (1080, 1632) 1350680373 -5.898555849631598 treat image : temp/1744188449_569385_1350680371_68956b14ce5f95b001359d8462aab389.jpg resize: (1080, 1632) 1350680371 -5.659697237675699 treat image : temp/1744188449_569385_1350680370_0e99c40d292ba57ac0feb354b0574f3d.jpg resize: (1080, 1632) 1350680370 -5.756928587718441 treat image : temp/1744188449_569385_1350680358_2a977d898d50f18bf3870438793cbf64.jpg resize: (1080, 1632) 1350680358 -4.335571237528462 treat image : temp/1744188449_569385_1350680357_9807b43e97a20d349b1134d18b6031a5.jpg resize: (1080, 1632) 1350680357 -5.917577728020404 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.012904882431030273 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.013246297836303711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015989303588867188 save missing photos in datou_result : time spend for datou_step_exec : 16.28294324874878 time spend to save output : 0.04677772521972656 total time spend for step 1 : 16.329720973968506 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 4.14system 0:22.56elapsed 83%CPU (0avgtext+0avgdata 136776maxresident)k 5968inputs+10296outputs (88major+203895minor)pagefaults 0swaps