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 : 1446108 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 : 141>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1446108/ 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.458263874053955 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 14 05:42:32 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/1747194149_1446108_1358093615_cc3d629a19f68596f2534b471c598b85.jpg resize: (1080, 1632) 1358093615 -5.819693618334814 treat image : temp/1747194149_1446108_1358093613_e49fb260dbd6caa1902e0e8ccc266b59.jpg resize: (1080, 1632) 1358093613 -1.4656939083728562 treat image : temp/1747194149_1446108_1358093605_93958e00efc8bde18ba7c8e30fa623b3.jpg resize: (1080, 1632) 1358093605 -5.34720355836918 treat image : temp/1747194149_1446108_1358093587_a6cc884cd07a92298c61d0e7eb5e8e89.jpg resize: (1080, 1632) 1358093587 -5.58282426966674 treat image : temp/1747194149_1446108_1358093584_343c984fc7d208122cb184987e5be844.jpg resize: (1080, 1632) 1358093584 -5.033846052775716 treat image : temp/1747194149_1446108_1358093583_06d1f3bbfb2dd8209e3047adf00cad6d.jpg resize: (1080, 1632) 1358093583 -6.1539586551763605 treat image : temp/1747194149_1446108_1358093581_896d0d9b8f9fc8fcbddcb6dace6c15d5.jpg resize: (1080, 1632) 1358093581 -4.278225801886022 treat image : temp/1747194149_1446108_1358093579_7aa616c0e12b1d7b716fa7dae5885c72.jpg resize: (1080, 1632) 1358093579 -6.3703165873077054 treat image : temp/1747194149_1446108_1358093575_1a1e9b77a2620a79b366a76a2fb62c90.jpg resize: (1080, 1632) 1358093575 -6.068416305524817 treat image : temp/1747194149_1446108_1358093557_79b766f8f7b84edcd616f0d9932aa45c.jpg resize: (1080, 1632) 1358093557 -2.475798204671394 treat image : temp/1747194149_1446108_1358093554_9b3d8f939bc1d9d69419170672f775d9.jpg resize: (1080, 1632) 1358093554 -6.0001435317459855 treat image : temp/1747194149_1446108_1358093552_ea4cca272fee7979338d6655bbe7f28c.jpg resize: (1080, 1632) 1358093552 -5.999545278043787 treat image : temp/1747194149_1446108_1358093550_9026bf5dea7ca076cb3921550942b5d4.jpg resize: (1080, 1632) 1358093550 -4.96636785606147 treat image : temp/1747194149_1446108_1358093546_8b452134042b592838ba65a48e6f1925.jpg resize: (1080, 1632) 1358093546 -4.748247574516196 treat image : temp/1747194149_1446108_1358093528_a3eadb385012c9a7883cfe66eab7f8a6.jpg resize: (1080, 1632) 1358093528 -2.5357757865524557 treat image : temp/1747194149_1446108_1358093520_9eca23b2bfe0ec29d47bcef9eae3c043.jpg resize: (1080, 1632) 1358093520 -2.022192733979694 treat image : temp/1747194149_1446108_1358093517_fe81e97b91a0e08c1a123a42d4b4d478.jpg resize: (1080, 1632) 1358093517 -2.6609964906307266 treat image : temp/1747194149_1446108_1358093497_be7cccbb1a83421a679b5ee2c0f6f343.jpg resize: (1080, 1632) 1358093497 -5.847094449066904 treat image : temp/1747194149_1446108_1358093495_59888706a84130ccb0d40b175d8862ec.jpg resize: (1080, 1632) 1358093495 -5.583254436629898 treat image : temp/1747194149_1446108_1358093493_55fe7b1a41db04f57b85d9d19de08074.jpg resize: (1080, 1632) 1358093493 -4.134953196199536 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.014597177505493164 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.6389265060424805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022861003875732422 save missing photos in datou_result : time spend for datou_step_exec : 16.26441264152527 time spend to save output : 0.6815485954284668 total time spend for step 1 : 16.945961236953735 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 4.32system 0:23.66elapsed 79%CPU (0avgtext+0avgdata 138796maxresident)k 360inputs+10048outputs (17major+259347minor)pagefaults 0swaps