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 : 4106997 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 : 2669>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/4106997/ 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.150360584259033 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 Feb 5 15:17: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/1738765047_4106997_1334953800_fd1ee56c7f91e20a5720db17c4f0e8ce.jpg resize: (1080, 1632) 1334953800 -5.313794614892078 treat image : temp/1738765047_4106997_1334953798_e86d46f6d1aeba2a5bd1a8e346e89922.jpg resize: (1080, 1632) 1334953798 -3.4045817665784917 treat image : temp/1738765047_4106997_1334953797_e68ee752ee592ef0df30902ff0331dc8.jpg resize: (1080, 1632) 1334953797 -2.5970480848884816 treat image : temp/1738765047_4106997_1334953747_e164fae305226b034f5ea5ed45245866.jpg resize: (1080, 1632) 1334953747 -6.185130351319621 treat image : temp/1738765047_4106997_1334953745_da8799fdacedc17c95e754d85980fb01.jpg resize: (1080, 1632) 1334953745 -6.023701273032327 treat image : temp/1738765047_4106997_1334953737_e252a9cb6cbf72600145b82fd3493395.jpg resize: (1080, 1632) 1334953737 -4.9974294731498015 treat image : temp/1738765047_4106997_1334953726_2828f46a62c95026428906708f1b897b.jpg resize: (1080, 1632) 1334953726 -3.529370183159818 treat image : temp/1738765047_4106997_1334953719_3a120ae668f519e2ddea2e99ea9a911b.jpg resize: (1080, 1632) 1334953719 -4.287013303838198 treat image : temp/1738765047_4106997_1334953697_9beeef2dc47b9be63952b2a14dfa4dcc.jpg resize: (1080, 1632) 1334953697 -3.8624203509624055 treat image : temp/1738765047_4106997_1334953693_cbb0527a4065078ede1370ced3753459.jpg resize: (1080, 1632) 1334953693 -5.229786451032492 treat image : temp/1738765047_4106997_1334953689_1086298e86f72cc1d33fb31e9d3a040a.jpg resize: (1080, 1632) 1334953689 -5.88228415837249 treat image : temp/1738765047_4106997_1334953685_a94d31a21bb2537bb0b86ca89e843d85.jpg resize: (1080, 1632) 1334953685 -5.817374048969911 treat image : temp/1738765047_4106997_1334953681_0622d71ffb80dcfd70a578b3d7456015.jpg resize: (1080, 1632) 1334953681 -5.697450196833596 treat image : temp/1738765047_4106997_1334953679_6850a365945006bb65e8bc744b6569ea.jpg resize: (1080, 1632) 1334953679 -5.8079552292866365 treat image : temp/1738765047_4106997_1334953653_3f5910a37c275852cabb22cc5898c249.jpg resize: (1080, 1632) 1334953653 -6.2792370823718775 treat image : temp/1738765047_4106997_1334953651_84b05a9b76fb6b40a18d766de4736c36.jpg resize: (1080, 1632) 1334953651 -6.06355498908116 treat image : temp/1738765047_4106997_1334953646_a254f24d2961e4feea7d0e364e11952f.jpg resize: (1080, 1632) 1334953646 -1.7819672948603038 treat image : temp/1738765047_4106997_1334953645_05af238563553a0071c486c79e2a1c9d.jpg resize: (1080, 1632) 1334953645 -1.5251121131661318 treat image : temp/1738765047_4106997_1334953616_0934bfecc6ed1b60e5bd78d5b137eed0.jpg resize: (1080, 1632) 1334953616 -5.5652767591839085 treat image : temp/1738765047_4106997_1334953614_c50c8407d77f009913c96ccc1927eb62.jpg resize: (1080, 1632) 1334953614 -5.719707243331287 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.012562274932861328 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.012906551361083984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01479959487915039 save missing photos in datou_result : time spend for datou_step_exec : 13.469760656356812 time spend to save output : 0.04548954963684082 total time spend for step 1 : 13.515250205993652 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 1.78system 0:17.31elapsed 92%CPU (0avgtext+0avgdata 139192maxresident)k 0inputs+10160outputs (20major+130378minor)pagefaults 0swaps