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 : 566455 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 : 1318>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/566455/ 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.761500835418701 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 Tue Aug 12 10:22: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/1754986950_566455_1376573902_42ac371c6474a4a13b1ccb6e38dcc639.jpg resize: (1080, 1632) 1376573902 -4.0193175769932905 treat image : temp/1754986950_566455_1376573858_467f5db6ca0d764d92b5fc1d3da38b9c.jpg resize: (1080, 1632) 1376573858 -4.665515918692373 treat image : temp/1754986950_566455_1376573814_6e0dff945aba0cb8946224f5d089172f.jpg resize: (1080, 1632) 1376573814 -4.13831632062632 treat image : temp/1754986950_566455_1376573797_2637525a6588c8202b9b4b5a3e082dbd.jpg resize: (1080, 1632) 1376573797 -5.104707494014647 treat image : temp/1754986950_566455_1376573792_2137a50ae9cefef2a52206a8c90dfa5d.jpg resize: (1080, 1632) 1376573792 -4.732660687851919 treat image : temp/1754986950_566455_1376573771_cfbcb8f7bc71b862943162d9a9b4b7f3.jpg resize: (1080, 1632) 1376573771 -5.329188696630037 treat image : temp/1754986950_566455_1376573769_23aa03f947ff59f50e89952c5053e03b.jpg resize: (1080, 1632) 1376573769 -5.148970819438231 treat image : temp/1754986950_566455_1376573767_ff00ed638b43c8648d5cc5a1ede1c535.jpg resize: (1080, 1632) 1376573767 -1.9012019600420884 treat image : temp/1754986950_566455_1376573762_0c96136651686bd59119dde163665741.jpg resize: (1080, 1632) 1376573762 -2.088446444463666 treat image : temp/1754986950_566455_1376570812_7ef10ae2b6e8a90e3b922d701308a4a3.jpg resize: (1080, 1632) 1376570812 -5.812371236877946 treat image : temp/1754986950_566455_1376570809_8982fc0ca9577cb18dc28c885da52a52.jpg resize: (1080, 1632) 1376570809 -6.094219847646824 treat image : temp/1754986950_566455_1376570805_8d0b416255cdae71e313cb18599e001c.jpg resize: (1080, 1632) 1376570805 -5.433568343940497 treat image : temp/1754986950_566455_1376570799_0da4d7c483dc557f5046636e4f783673.jpg resize: (1080, 1632) 1376570799 -5.913365543056223 treat image : temp/1754986950_566455_1376570796_8da9cd7efdf316740d4f2e3682f954f0.jpg resize: (1080, 1632) 1376570796 -5.915936644053982 treat image : temp/1754986950_566455_1376570761_88a27bd758ba1f5f3f683d155b8f6eec.jpg resize: (1080, 1632) 1376570761 -1.689822289344564 treat image : temp/1754986950_566455_1376570758_91a7b79b4d287f98592a8aed7cf8f658.jpg resize: (1080, 1632) 1376570758 -3.6826801968432954 treat image : temp/1754986950_566455_1376570752_963cfe2000f9d89d6f24fa5cbb4fa6fa.jpg resize: (1080, 1632) 1376570752 -1.3209986521628707 treat image : temp/1754986950_566455_1376570750_cf3ae9d83718591b2f93549d02d791e6.jpg resize: (1080, 1632) 1376570750 -1.8350147982735585 treat image : temp/1754986950_566455_1376570749_f0128e12202d774c739ab28039f3e249.jpg resize: (1080, 1632) 1376570749 -1.4198452401003454 treat image : temp/1754986950_566455_1376570747_08f9667ff3dc0d4668950732a8470f79.jpg resize: (1080, 1632) 1376570747 -5.252729941712853 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.012529134750366211 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.016007184982299805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01687145233154297 save missing photos in datou_result : time spend for datou_step_exec : 15.63586974143982 time spend to save output : 0.05037641525268555 total time spend for step 1 : 15.686246156692505 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 3.12system 0:22.65elapsed 79%CPU (0avgtext+0avgdata 139200maxresident)k 160inputs+8872outputs (6major+202069minor)pagefaults 0swaps