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 : 892215 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 : 282>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/892215/ 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.4990673065185547 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 Mon May 12 06:12: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/1747023147_892215_1357598870_5c47d2a9e0a7d8f9c0fe9bc885d215ca.jpg resize: (1080, 1632) 1357598870 -1.792307525768508 treat image : temp/1747023147_892215_1357598869_0ac248d49dc51acc9c848b7bac387f75.jpg resize: (1080, 1632) 1357598869 -3.179304984846436 treat image : temp/1747023147_892215_1357598868_5a30b05526ae330ca5d47a92c092a25f.jpg resize: (1080, 1632) 1357598868 -3.9854783437452967 treat image : temp/1747023147_892215_1357598866_0f9102cf89d62a40b4fa34a75b37c0ee.jpg resize: (1080, 1632) 1357598866 -5.159748253460337 treat image : temp/1747023147_892215_1357598840_700c6166c8ef48ec21449030e395c3e3.jpg resize: (1080, 1632) 1357598840 -5.575595320965019 treat image : temp/1747023147_892215_1357598839_94fbaefac75fa4f53d854aec9354d703.jpg resize: (1080, 1632) 1357598839 -2.9235365393444757 treat image : temp/1747023147_892215_1357598838_d415b6b6b8c473e548ce90cf0ea1a6db.jpg resize: (1080, 1632) 1357598838 -6.196508696129525 treat image : temp/1747023147_892215_1357598837_8fa703bf705b6db16a4a1f032a948bb3.jpg resize: (1080, 1632) 1357598837 -5.832311754097751 treat image : temp/1747023147_892215_1357598836_5d4ce52f96a467d87577bdd15dec405e.jpg resize: (1080, 1632) 1357598836 -5.710974850733038 treat image : temp/1747023147_892215_1357598835_03674498e55ce8eb2ee8d953ebdb8d35.jpg resize: (1080, 1632) 1357598835 -5.993254915199422 treat image : temp/1747023147_892215_1357598782_8423938529d37ba8fe582bdab981233c.jpg resize: (1080, 1632) 1357598782 -3.739477382469655 treat image : temp/1747023147_892215_1357598781_9ea108bbe0f72f1ab448fa438efd4615.jpg resize: (1080, 1632) 1357598781 -5.640932169036096 treat image : temp/1747023147_892215_1357598780_ff7dcc445aab5cdbbf0159325575ff2a.jpg resize: (1080, 1632) 1357598780 -6.017038257046936 treat image : temp/1747023147_892215_1357598779_5440082088e7b742db29a1854695b173.jpg resize: (1080, 1632) 1357598779 -5.25300594892231 treat image : temp/1747023147_892215_1357598778_b1bdcfe9deaca1e40272572f5b3db343.jpg resize: (1080, 1632) 1357598778 -3.6966530922418492 treat image : temp/1747023147_892215_1357598751_12f7e0057e792c3b2bec4a0ccd4bc4d6.jpg resize: (1080, 1632) 1357598751 -1.8487984183217168 treat image : temp/1747023147_892215_1357598749_e754ea793cea1a42bffe1664ae23cc56.jpg resize: (1080, 1632) 1357598749 -3.2353504283927617 treat image : temp/1747023147_892215_1357598748_27227865d7b4a3e951480cd501629cb6.jpg resize: (1080, 1632) 1357598748 -1.6977587172961253 treat image : temp/1747023147_892215_1357598724_cc09ea37b53d430f1e4828bc2e9b8710.jpg resize: (1080, 1632) 1357598724 -6.875775137437586 treat image : temp/1747023147_892215_1357598722_c4b2715372af3b21fa8f160947359053.jpg resize: (1080, 1632) 1357598722 -6.495526200087708 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.012615442276000977 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.011950016021728516 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015114545822143555 save missing photos in datou_result : time spend for datou_step_exec : 17.70649218559265 time spend to save output : 0.04405403137207031 total time spend for step 1 : 17.75054621696472 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 5.93system 0:22.63elapsed 89%CPU (0avgtext+0avgdata 140812maxresident)k 152inputs+9640outputs (3major+262024minor)pagefaults 0swaps