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 : 3563560 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 : 4426>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3563560/ 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.385308265686035 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 Jul 5 08:47: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/1751698048_3563560_1370759673_dc77468dcd8a103eb132c02fa7e680ae.jpg resize: (1080, 1632) 1370759673 -3.628398479739137 treat image : temp/1751698048_3563560_1370759669_9ecf36567413846d48a99d88ab65cd4b.jpg resize: (1080, 1632) 1370759669 -5.52820416450556 treat image : temp/1751698048_3563560_1370759666_5f94c2fe3f1721fe0190220eb5ad5912.jpg resize: (1080, 1632) 1370759666 -4.879856749350153 treat image : temp/1751698048_3563560_1370759658_846fa8c4e5d5eb81d09ee5e21500b99b.jpg resize: (1080, 1632) 1370759658 -3.1413429998890194 treat image : temp/1751698048_3563560_1370759656_288fed3a2b34db3aeb8891d245acf19f.jpg resize: (1080, 1632) 1370759656 -2.0121116743183 treat image : temp/1751698048_3563560_1370759654_eb130877cab63f5ed3b951fd5dccbac8.jpg resize: (1080, 1632) 1370759654 -3.122153940277367 treat image : temp/1751698048_3563560_1370759646_377650a36cb65c47bfc3efefd4ac03e7.jpg resize: (1080, 1632) 1370759646 -1.9669528165736145 treat image : temp/1751698048_3563560_1370759643_766051fafe67bfdac172c41542419533.jpg resize: (1080, 1632) 1370759643 -2.3136585626506108 treat image : temp/1751698048_3563560_1370759641_ab723c0b963e04997920b7f7367a364d.jpg resize: (1080, 1632) 1370759641 -5.606281838231357 treat image : temp/1751698048_3563560_1370759639_8e71297821002aba89bdee355137fddf.jpg resize: (1080, 1632) 1370759639 -5.161551359690183 treat image : temp/1751698048_3563560_1370759637_aa072fa56103de0240ebd1f6225406e6.jpg resize: (1080, 1632) 1370759637 -5.364191528541374 treat image : temp/1751698048_3563560_1370759634_d4e11d4909edca40fc8e356c76ea6878.jpg resize: (1080, 1632) 1370759634 -5.680761361793148 treat image : temp/1751698048_3563560_1370759627_01c4df4f7de7253016d6c491977d55f1.jpg resize: (1080, 1632) 1370759627 -5.298572498529099 treat image : temp/1751698048_3563560_1370759625_177a5c950da62c819a5ebcb30541d34d.jpg resize: (1080, 1632) 1370759625 -4.962903778672007 treat image : temp/1751698048_3563560_1370759623_037f4da779edaef970dbec35fac3b96f.jpg resize: (1080, 1632) 1370759623 -5.183249240950297 treat image : temp/1751698048_3563560_1370759621_ea5a1030d35e0cf8a9422bc179034221.jpg resize: (1080, 1632) 1370759621 -5.183602345128376 treat image : temp/1751698048_3563560_1370759620_218524e6f6a1b9c76600578f3f7ac996.jpg resize: (1080, 1632) 1370759620 -5.295448735452335 treat image : temp/1751698048_3563560_1370759617_c8466d0fdd5851566128b2abd0748cc6.jpg resize: (1080, 1632) 1370759617 -4.000424422328424 treat image : temp/1751698048_3563560_1370759453_838118a2c90774c1e741920ec6cce0c1.jpg resize: (1080, 1632) 1370759453 -5.267132587346055 treat image : temp/1751698048_3563560_1370759452_013ec519ef773ee2e04264a0a0bdefdd.jpg resize: (1080, 1632) 1370759452 -5.290918091878456 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.01428985595703125 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.05012059211730957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.051895856857299805 save missing photos in datou_result : time spend for datou_step_exec : 16.443886756896973 time spend to save output : 0.12102389335632324 total time spend for step 1 : 16.564910650253296 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.80user 4.62system 0:22.06elapsed 83%CPU (0avgtext+0avgdata 136988maxresident)k 128inputs+9360outputs (3major+259442minor)pagefaults 0swaps