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 : 2806610 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 : 1661>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/2806610/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 1.9532334804534912 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 13:47: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/1747828047_2806610_1360030375_97c7687d92f3400212e102ce661d5dcf.jpg resize: (1080, 1632) 1360030375 -4.756830251076883 treat image : temp/1747828047_2806610_1360030359_64290a9d5f4edfa852d28869aa1416d8.jpg resize: (1080, 1632) 1360030359 -5.095928747314904 treat image : temp/1747828047_2806610_1360030355_60514a9f1683db9be97f8d00624cff15.jpg resize: (1080, 1632) 1360030355 -4.7048767141807835 treat image : temp/1747828047_2806610_1360030350_03e7df2fa3da252b68015985c4f19c78.jpg resize: (1080, 1632) 1360030350 -4.75892234338569 treat image : temp/1747828047_2806610_1360030227_6b625b72418503c2dd556c9e96f55c28.jpg resize: (1080, 1632) 1360030227 -1.8948321031565143 treat image : temp/1747828047_2806610_1360030199_11005d4d4354c01658c31618743792e1.jpg resize: (1080, 1632) 1360030199 -4.186220903469933 treat image : temp/1747828047_2806610_1360030194_aeb07fca6d12532cf8292f0d3f798341.jpg resize: (1080, 1632) 1360030194 -4.588218340850263 treat image : temp/1747828047_2806610_1360030190_a8a40e404a192711921616130551415d.jpg resize: (1080, 1632) 1360030190 -5.392654004401881 treat image : temp/1747828047_2806610_1360029890_ede6e4452e79b2efe42556774cf719bf.jpg resize: (1080, 1632) 1360029890 -4.76236840577195 treat image : temp/1747828047_2806610_1360029861_c3aadfbb60e2d30122d96c273534b7fe.jpg resize: (1080, 1632) 1360029861 -1.5054268812669895 treat image : temp/1747828047_2806610_1360029833_24141adab11eeb8b2282d658ed44ca09.jpg resize: (1080, 1632) 1360029833 -1.1299577341700673 treat image : temp/1747828047_2806610_1360029770_d67e3e2e19bafc92d7093aa89519089c.jpg resize: (1080, 1632) 1360029770 -3.579181375258949 treat image : temp/1747828047_2806610_1360029768_0ca1619ef8b22ddb98dc0d2b6f6b8a13.jpg resize: (1080, 1632) 1360029768 -4.720127255554807 treat image : temp/1747828047_2806610_1360029765_84e66c64afac2a7bbc18c76e65eeab04.jpg resize: (1080, 1632) 1360029765 -5.547792974381728 treat image : temp/1747828047_2806610_1360029760_f076024adb34861955780db3c7ffbfb8.jpg resize: (1080, 1632) 1360029760 -6.312212631098636 treat image : temp/1747828047_2806610_1360029755_eba07cdfbdd1b495260c312dfb46093e.jpg resize: (1080, 1632) 1360029755 -6.273727568199802 treat image : temp/1747828047_2806610_1360029752_383ca5d90cb365c0fd9e184ae7c4f023.jpg resize: (1080, 1632) 1360029752 -4.979190021223952 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 : 17 time used for this insertion : 0.01569199562072754 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.013836145401000977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.015305519104003906 save missing photos in datou_result : time spend for datou_step_exec : 13.020450353622437 time spend to save output : 0.0499880313873291 total time spend for step 1 : 13.070438385009766 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.33user 3.11system 0:17.86elapsed 86%CPU (0avgtext+0avgdata 139660maxresident)k 88inputs+7816outputs (16major+231793minor)pagefaults 0swaps