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 : 3269657 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 : 1761>100 please execute split_portfolio.py -i 25384748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3365701'] with mtr_portfolio_ids : ['25384748'] and first list_photo_ids : [] new path : /proc/3269657/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.8921527862548828 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 Jul 28 10:32: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/1753691548_3269657_1374122735_7ba67c7e7d4839a5626fb6ce0d776ea0.jpg resize: (1080, 1632) 1374122735 -5.33074934397288 treat image : temp/1753691548_3269657_1374122733_712d99ea6c67969210287387667419e3.jpg resize: (1080, 1632) 1374122733 -5.439222453325772 treat image : temp/1753691548_3269657_1374122731_2cac2a846a68ad3841b87a13a781c30a.jpg resize: (1080, 1632) 1374122731 -5.352838934104962 treat image : temp/1753691548_3269657_1374122730_b4025f121c0f0c7df996d9994003461e.jpg resize: (1080, 1632) 1374122730 -4.743001317377735 treat image : temp/1753691548_3269657_1374122727_8014bee62e0309b157b23d8a008eb506.jpg resize: (1080, 1632) 1374122727 -4.623504582172604 treat image : temp/1753691548_3269657_1374122725_e242b448b692e44b067cd032d1245b19.jpg resize: (1080, 1632) 1374122725 -4.883792628488926 treat image : temp/1753691548_3269657_1374122706_dd04c0ba5966c90b5df66c8651e854f2.jpg resize: (1080, 1632) 1374122706 -3.09274587138369 treat image : temp/1753691548_3269657_1374122703_6f812d672d82fc8d8706f9db3a689ac7.jpg resize: (1080, 1632) 1374122703 -2.150999774855964 treat image : temp/1753691548_3269657_1374122701_d39cdb602936ca220c49ff40deecbc28.jpg resize: (1080, 1632) 1374122701 -2.4568372642108582 treat image : temp/1753691548_3269657_1374122699_7d3ff6ad69cbd2a7004cad2767aa7422.jpg resize: (1080, 1632) 1374122699 -3.631986908425731 treat image : temp/1753691548_3269657_1374122697_63409a1f264ed8f9ffc87aaa2321d790.jpg resize: (1080, 1632) 1374122697 -3.839622898903016 treat image : temp/1753691548_3269657_1374122694_6c40e085868ef4ac89307f9dc6f654a1.jpg resize: (1080, 1632) 1374122694 -3.7438150066463867 treat image : temp/1753691548_3269657_1374122673_4d008db72b3d8117e6e783d572f88751.jpg resize: (1080, 1632) 1374122673 -3.112941760001658 treat image : temp/1753691548_3269657_1374122669_a9e0a6c18df0591de6e9f81de3701aef.jpg resize: (1080, 1632) 1374122669 -4.8879477036007355 treat image : temp/1753691548_3269657_1374122666_e99c1939c666c12d01ff19d45ae82414.jpg resize: (1080, 1632) 1374122666 -2.6269671591107477 treat image : temp/1753691548_3269657_1374122663_ee3f3a4fa78f45082fc7ba74c9e18e88.jpg resize: (1080, 1632) 1374122663 -3.1095506829510677 treat image : temp/1753691548_3269657_1374122659_1a6a40476de7232308fdb2df67e78b7f.jpg resize: (1080, 1632) 1374122659 -1.9424835783344472 treat image : temp/1753691548_3269657_1374122656_b8c071066dbad766ff957fe10ef4aff6.jpg resize: (1080, 1632) 1374122656 -1.9475282443185054 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 : 18 time used for this insertion : 0.016649484634399414 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.021177053451538086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.02863764762878418 save missing photos in datou_result : time spend for datou_step_exec : 13.299633741378784 time spend to save output : 0.07159924507141113 total time spend for step 1 : 13.371232986450195 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.62user 3.01system 0:19.35elapsed 80%CPU (0avgtext+0avgdata 138796maxresident)k 0inputs+7200outputs (1major+241316minor)pagefaults 0swaps