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 : 24377 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 : 3455>100 please execute split_portfolio.py -i 21995993 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2718254'] with mtr_portfolio_ids : ['21995993'] and first list_photo_ids : [] new path : /proc/24377/ 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.325657606124878 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 Thu Apr 3 18:17: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/1743697049_24377_1349834398_e7cba8271468957af17ecfc5aa2fcb75.jpg resize: (1080, 1632) 1349834398 -1.7008063889632044 treat image : temp/1743697049_24377_1349834375_267d606ffc040133bfcf9e55ffa6d601.jpg resize: (1080, 1632) 1349834375 -4.598877183469474 treat image : temp/1743697049_24377_1349834211_88d485c7b9c7679a3dd2240342ac1624.jpg resize: (1080, 1632) 1349834211 -6.110932025354341 treat image : temp/1743697049_24377_1349834184_e4af79d001d5c32f9c66591db09b8f5c.jpg resize: (1080, 1632) 1349834184 -6.564201291021157 treat image : temp/1743697049_24377_1349834132_1bb5315920a6fe0bf38861a15e811a6a.jpg resize: (1080, 1632) 1349834132 -5.936805375875145 treat image : temp/1743697049_24377_1349834090_b32d5b28d9e77fb677b2eda938b77c89.jpg resize: (1080, 1632) 1349834090 -3.719320967472126 treat image : temp/1743697049_24377_1349833975_3af4050ed432058d903822ad37dc0eb5.jpg resize: (1080, 1632) 1349833975 -5.907300148151459 treat image : temp/1743697049_24377_1349833936_91a3237cc936919beaf1a09b05d16ced.jpg resize: (1080, 1632) 1349833936 -5.91504934312761 treat image : temp/1743697049_24377_1349833908_18ed2eef62e742d5284986a7b97c166b.jpg resize: (1080, 1632) 1349833908 -5.809812132425926 treat image : temp/1743697049_24377_1349833882_e340f57d643d602d0a2e305fc16ceda4.jpg resize: (1080, 1632) 1349833882 -6.119568885409673 treat image : temp/1743697049_24377_1349833853_38355c5b578a2a6673823dae489b9327.jpg resize: (1080, 1632) 1349833853 -5.830690431649705 treat image : temp/1743697049_24377_1349833823_909d50489bb13d4e24cd8ada02f72d17.jpg resize: (1080, 1632) 1349833823 -6.197673969336354 treat image : temp/1743697049_24377_1349833740_42fce347ee22e95c5aae015879400683.jpg resize: (1080, 1632) 1349833740 -5.619245079176071 treat image : temp/1743697049_24377_1349833717_55fdc7f2fefb9b8f055687d2e8457563.jpg resize: (1080, 1632) 1349833717 -5.664844874289106 treat image : temp/1743697049_24377_1349833687_96be768521be3f1e4cd4a904376a1157.jpg resize: (1080, 1632) 1349833687 -1.6796159058699425 treat image : temp/1743697049_24377_1349833640_ba603746088328d02eccc16b4a054de0.jpg resize: (1080, 1632) 1349833640 -1.5132178790810797 treat image : temp/1743697049_24377_1349833604_0561921e83c1ee02a62ad1d7ac341adf.jpg resize: (1080, 1632) 1349833604 -5.786536481369832 treat image : temp/1743697049_24377_1349833576_5b5ee0d7aab5f89197c18aea726c0dac.jpg resize: (1080, 1632) 1349833576 -5.761153877818542 treat image : temp/1743697049_24377_1349833213_9e3fd54bf750d15e49bcdd6c291d48ed.jpg resize: (1080, 1632) 1349833213 -4.251769607770993 treat image : temp/1743697049_24377_1349833200_fd027c6ee6dfe814994562952fb32810.jpg resize: (1080, 1632) 1349833200 -6.428477496872682 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.03594565391540527 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.032629966735839844 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03864145278930664 save missing photos in datou_result : time spend for datou_step_exec : 15.701604127883911 time spend to save output : 0.12323212623596191 total time spend for step 1 : 15.824836254119873 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 3.49system 0:21.97elapsed 83%CPU (0avgtext+0avgdata 138944maxresident)k 320inputs+10720outputs (12major+259239minor)pagefaults 0swaps