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 : 656981 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 : 2850>100 please execute split_portfolio.py -i 21758531 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2694937'] with mtr_portfolio_ids : ['21758531'] and first list_photo_ids : [] new path : /proc/656981/ 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.3282670974731445 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 Mar 27 14:37: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/1743082649_656981_1347877061_a7150bf3a245c5fb2b1538423ea6c22f.jpg resize: (1080, 1632) 1347877061 -6.2554037013925265 treat image : temp/1743082649_656981_1347877055_a6528162eca3ff9db7c310ff87934846.jpg resize: (1080, 1632) 1347877055 -5.0569245402573335 treat image : temp/1743082649_656981_1347877052_4d0967a64b6b90f5a71527948e8239a9.jpg resize: (1080, 1632) 1347877052 -1.7555863212362264 treat image : temp/1743082649_656981_1347877033_b3a5f33e6bda907157d118612a5c3d39.jpg resize: (1080, 1632) 1347877033 -5.172156637728096 treat image : temp/1743082649_656981_1347877027_c0896851af68cd1ead6b44d485310a0b.jpg resize: (1080, 1632) 1347877027 -5.75917832048118 treat image : temp/1743082649_656981_1347877019_920fd1292ee459dabe7f58eaa85a9775.jpg resize: (1080, 1632) 1347877019 -5.216777619613135 treat image : temp/1743082649_656981_1347877011_fc7c070af4e2b56a4798094fe74b29d9.jpg resize: (1080, 1632) 1347877011 -6.14171419203923 treat image : temp/1743082649_656981_1347877003_74b6bc28e5d3ca3ef7fd3efb0197cf7f.jpg resize: (1080, 1632) 1347877003 -4.5537243118874695 treat image : temp/1743082649_656981_1347876996_e60301744e944d8088808b4abc4cd8c0.jpg resize: (1080, 1632) 1347876996 -4.572377105090044 treat image : temp/1743082649_656981_1347876948_21658884a9be955c36438cb42cdface5.jpg resize: (1080, 1632) 1347876948 -0.722040772653723 treat image : temp/1743082649_656981_1347876921_f27e9674d0c3cdd11794b06c344c3d24.jpg resize: (1080, 1632) 1347876921 -2.7467191863808655 treat image : temp/1743082649_656981_1347876839_79240d8d04e9d4e207a1fd185847b244.jpg resize: (1080, 1632) 1347876839 -3.6879325081060568 treat image : temp/1743082649_656981_1347876834_6c2f54b6e7017be45040ac9a1911397e.jpg resize: (1080, 1632) 1347876834 -4.029042551542376 treat image : temp/1743082649_656981_1347876828_49189e87b433b1de24a47a42c36fafa3.jpg resize: (1080, 1632) 1347876828 -5.932860686491208 treat image : temp/1743082649_656981_1347876824_01a115696360df228fac164074d2dc00.jpg resize: (1080, 1632) 1347876824 -5.247517675589975 treat image : temp/1743082649_656981_1347876703_0a464da773acebe0446966c6a9140128.jpg resize: (1080, 1632) 1347876703 -4.950329000047199 treat image : temp/1743082649_656981_1347876698_75141c87b2750f43658e294c522fd25a.jpg resize: (1080, 1632) 1347876698 -2.0099604941399525 treat image : temp/1743082649_656981_1347876557_18986187f539b58650ce795bd418cc58.jpg resize: (1080, 1632) 1347876557 -4.27656492048528 treat image : temp/1743082649_656981_1347876528_83bd624d7efa21af1029892a2a77e7f4.jpg resize: (1080, 1632) 1347876528 -5.022155917713337 treat image : temp/1743082649_656981_1347876509_87a1c658a483380fa63d128da79a93b5.jpg resize: (1080, 1632) 1347876509 -4.28376013266945 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.013098478317260742 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.013530492782592773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015217304229736328 save missing photos in datou_result : time spend for datou_step_exec : 18.949588775634766 time spend to save output : 0.046526193618774414 total time spend for step 1 : 18.99611496925354 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.55user 6.30system 0:24.07elapsed 90%CPU (0avgtext+0avgdata 137708maxresident)k 272inputs+9416outputs (10major+258666minor)pagefaults 0swaps