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 : 276574 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 : 1602>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/276574/ 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.139902114868164 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 Sat Mar 22 09:02:29 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/1742630547_276574_1346366411_d5465fd4a7e6fcbfaad804a47bb958fe.jpg resize: (1080, 1632) 1346366411 -6.069171941413112 treat image : temp/1742630547_276574_1346366361_a2ca60ccade84dcd5bd02960a21eab8a.jpg resize: (1080, 1632) 1346366361 -5.588735996772114 treat image : temp/1742630547_276574_1346366307_66498b072a14217b27b241ca4d2ce182.jpg resize: (1080, 1632) 1346366307 -5.39803194380248 treat image : temp/1742630547_276574_1346366252_51cac6868dcbb7b1f2cd472383e73462.jpg resize: (1080, 1632) 1346366252 -6.081946947773949 treat image : temp/1742630547_276574_1346366196_5cf19057c3649f9b8db54eeb3c044f93.jpg resize: (1080, 1632) 1346366196 -5.5892626818050495 treat image : temp/1742630547_276574_1346366142_c66eff20dd86e6286e7bee0f00e3993d.jpg resize: (1080, 1632) 1346366142 -5.777449422474159 treat image : temp/1742630547_276574_1346365998_6620be00a7e3c9ca6657f7757aeb7e31.jpg resize: (1080, 1632) 1346365998 -5.6734457364012645 treat image : temp/1742630547_276574_1346365970_de265e1a495378521f25de3882330d1f.jpg resize: (1080, 1632) 1346365970 -3.1958954430574935 treat image : temp/1742630547_276574_1346365925_960210a80d6c4ecf9b28bbb619b3f0de.jpg resize: (1080, 1632) 1346365925 -4.948020474747007 treat image : temp/1742630547_276574_1346365887_7cfbb6b020665bf3b0d5b3f45d2ec48d.jpg resize: (1080, 1632) 1346365887 -4.461134659529658 treat image : temp/1742630547_276574_1346365854_f62e21ab2626a06e3afc9970c49fbd14.jpg resize: (1080, 1632) 1346365854 -5.167565214760103 treat image : temp/1742630547_276574_1346365825_0d72870d41c9053aad62dbaf914f60c7.jpg resize: (1080, 1632) 1346365825 -5.42097820340611 treat image : temp/1742630547_276574_1346365289_e472461199b9a7cc7055f0b510452778.jpg resize: (1080, 1632) 1346365289 -5.960089157633024 treat image : temp/1742630547_276574_1346365288_81f6bc425bbed852b70d6e44fda35738.jpg resize: (1080, 1632) 1346365288 -6.441426129204264 treat image : temp/1742630547_276574_1346365286_0c7ae59609cdd59adc936bfd9d12fb26.jpg resize: (1080, 1632) 1346365286 -6.252155759810286 treat image : temp/1742630547_276574_1346365282_f69df551f3f330c33cb99173867dfff8.jpg resize: (1080, 1632) 1346365282 -6.165686962527124 treat image : temp/1742630547_276574_1346365268_796756f3666ad9a4bf49b835c78e5864.jpg resize: (1080, 1632) 1346365268 -2.172707835601383 treat image : temp/1742630547_276574_1346365265_a8d65aa2b2f42c936e395bb0c62cb41e.jpg resize: (1080, 1632) 1346365265 -1.5346720725105127 treat image : temp/1742630547_276574_1346365262_bedacc782693ae650c3ee170ca43357c.jpg resize: (1080, 1632) 1346365262 -2.7375044888609454 treat image : temp/1742630547_276574_1346365254_04ae660bcf8e209b09d5b7e761b39a02.jpg resize: (1080, 1632) 1346365254 -4.94208003890715 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.012616395950317383 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.01206827163696289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014824151992797852 save missing photos in datou_result : time spend for datou_step_exec : 14.389841318130493 time spend to save output : 0.045004844665527344 total time spend for step 1 : 14.43484616279602 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 2.44system 0:19.99elapsed 83%CPU (0avgtext+0avgdata 140544maxresident)k 0inputs+10264outputs (15major+158909minor)pagefaults 0swaps