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 : 1639998 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 : 4134>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1639998/ 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.348968982696533 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 Jul 2 19:02: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/1751475747_1639998_1370018597_ea091d35d8df979d53840226fca0fff8.jpg resize: (1080, 1632) 1370018597 -4.929382205944624 treat image : temp/1751475747_1639998_1370018577_06070ac4fc27241a434300cce9e4c8cd.jpg resize: (1080, 1632) 1370018577 -4.929382205944624 treat image : temp/1751475747_1639998_1370018441_1fe2dcb1f39da532d309553b735618e5.jpg resize: (1080, 1632) 1370018441 -4.503217696075399 treat image : temp/1751475747_1639998_1370018415_6a82b336fafbf3fdde5a0652f3615959.jpg resize: (1080, 1632) 1370018415 -4.503217696075399 treat image : temp/1751475747_1639998_1370018283_30efbeda810a46fadcfa302999910efe.jpg resize: (1080, 1632) 1370018283 -3.2495304521362036 treat image : temp/1751475747_1639998_1370018254_8c2c2a936502e719fe74cbfa96642c64.jpg resize: (1080, 1632) 1370018254 -3.2495304521362036 treat image : temp/1751475747_1639998_1370018100_c58ec3ad51e5b17981e02e06bb487430.jpg resize: (1080, 1632) 1370018100 -3.8544773083311537 treat image : temp/1751475747_1639998_1370018070_b3fae84a7b5053d337f681ea296f5fe7.jpg resize: (1080, 1632) 1370018070 -3.8544773083311537 treat image : temp/1751475747_1639998_1370017930_6712538038751e24344f4fb303a7b99d.jpg resize: (1080, 1632) 1370017930 -4.930937572836136 treat image : temp/1751475747_1639998_1370017911_4e91b66c2b9cc4fafe80aa7a1a173621.jpg resize: (1080, 1632) 1370017911 -4.930937572836136 treat image : temp/1751475747_1639998_1370017772_cbc2c265669225c13db2d25037756c6f.jpg resize: (1080, 1632) 1370017772 -1.9306766026170719 treat image : temp/1751475747_1639998_1370017757_238f0366605d55d046dfd4e3946c0cf3.jpg resize: (1080, 1632) 1370017757 -1.9306766026170719 treat image : temp/1751475747_1639998_1370017402_58ecf44e431070526544d26289b3b847.jpg resize: (1080, 1632) 1370017402 -5.113146375980863 treat image : temp/1751475747_1639998_1370017318_acc7eb2802325bd48057e28eb8ea06a3.jpg resize: (1080, 1632) 1370017318 -5.153524977079329 treat image : temp/1751475747_1639998_1370017241_0fdac5117730a310a2cfc0ed3405df99.jpg resize: (1080, 1632) 1370017241 -5.206606937817555 treat image : temp/1751475747_1639998_1370017144_c184e39d24041ba9126155dabcecb56e.jpg resize: (1080, 1632) 1370017144 -4.8925101597457195 treat image : temp/1751475747_1639998_1370017021_ba7af08e17bbde519de0a22b26808ccf.jpg resize: (1080, 1632) 1370017021 -4.882269756266513 treat image : temp/1751475747_1639998_1370016915_e18d469709abf92b4e6c524f451a8486.jpg resize: (1080, 1632) 1370016915 -4.882735077697201 treat image : temp/1751475747_1639998_1370016739_50c1dd350a9f9de3094f57fe580bda90.jpg resize: (1080, 1632) 1370016739 -5.2854308261207645 treat image : temp/1751475747_1639998_1370016717_3b6cb8206ee748387e18f76b7bf75ae8.jpg resize: (1080, 1632) 1370016717 -5.55697659030731 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.013324260711669922 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.014459609985351562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023344993591308594 save missing photos in datou_result : time spend for datou_step_exec : 16.02249836921692 time spend to save output : 0.05559587478637695 total time spend for step 1 : 16.078094244003296 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 4.05system 0:20.26elapsed 92%CPU (0avgtext+0avgdata 139592maxresident)k 128inputs+9240outputs (7major+260095minor)pagefaults 0swaps