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 : 419454 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 : 7052>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/419454/ 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.2683372497558594 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 Fri Aug 1 06:52:31 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/1754023949_419454_1374716057_94e75c08cb25a9007bf92d4112a944e8.jpg resize: (1080, 1632) 1374716057 -3.6776187861870167 treat image : temp/1754023949_419454_1374716056_68c9dd561a059455aa1f6bc7dcaf196f.jpg resize: (1080, 1632) 1374716056 -5.0778538748668485 treat image : temp/1754023949_419454_1374716054_209bbaaf7adda2998c5d82e6395bb4ee.jpg resize: (1080, 1632) 1374716054 -6.030834911885058 treat image : temp/1754023949_419454_1374716052_15f0070fa328374ce6db0d5254237cb8.jpg resize: (1080, 1632) 1374716052 -5.78515800545343 treat image : temp/1754023949_419454_1374716050_530dee6022df8af4b6f977edb0322a2d.jpg resize: (1080, 1632) 1374716050 -3.819248723609571 treat image : temp/1754023949_419454_1374716049_e7102fb91cd182a3ba635bb548eb54ec.jpg resize: (1080, 1632) 1374716049 -1.2412127900970427 treat image : temp/1754023949_419454_1374716044_1696d866b7214cc2136879fbaca2416b.jpg resize: (1080, 1632) 1374716044 -2.1674116161250336 treat image : temp/1754023949_419454_1374716041_a37fa20cb4f94f5b8b9b77a83ff185ba.jpg resize: (1080, 1632) 1374716041 -1.0026388521420673 treat image : temp/1754023949_419454_1374716037_15653ce5be0f30092952e57f3211dcec.jpg resize: (1080, 1632) 1374716037 -5.183735541785402 treat image : temp/1754023949_419454_1374716034_17edcdb916b481ca2faf43ab63acf23b.jpg resize: (1080, 1632) 1374716034 -6.00390359507908 treat image : temp/1754023949_419454_1374716030_1c3179499f3800e0cbac3e9a6a89f591.jpg resize: (1080, 1632) 1374716030 -4.6569580072095205 treat image : temp/1754023949_419454_1374716026_6f1ab187e98fa2c27ba387c607e755d4.jpg resize: (1080, 1632) 1374716026 -4.523558315927783 treat image : temp/1754023949_419454_1374715952_dda91fe9ceca2ca750f318828e0a53d5.jpg resize: (1080, 1632) 1374715952 -5.7073238621613305 treat image : temp/1754023949_419454_1374715950_57834b7c400df120454d724c954d5b89.jpg resize: (1080, 1632) 1374715950 -4.740230618163543 treat image : temp/1754023949_419454_1374715948_237ec77e46b4023784f476fd2f12f0ef.jpg resize: (1080, 1632) 1374715948 -5.207823220175203 treat image : temp/1754023949_419454_1374715946_af8c0ccaf87f34482a6cc5a39a39c63a.jpg resize: (1080, 1632) 1374715946 -4.5842982021587 treat image : temp/1754023949_419454_1374715938_1c42ddac79cfb3dfa8f0ef4011f1a2ab.jpg resize: (1080, 1632) 1374715938 -4.786830186728985 treat image : temp/1754023949_419454_1374715935_feb1d7610059454cb61c4b375edf80d4.jpg resize: (1080, 1632) 1374715935 -4.779165172391145 treat image : temp/1754023949_419454_1374715932_b8cc98cfe155af07198400a77e7090d5.jpg resize: (1080, 1632) 1374715932 -4.912256609609977 treat image : temp/1754023949_419454_1374715928_99916e2581537faaea04d48531734265.jpg resize: (1080, 1632) 1374715928 -4.760487730191742 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.013830900192260742 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.01687312126159668 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019929170608520508 save missing photos in datou_result : time spend for datou_step_exec : 14.970610857009888 time spend to save output : 0.055609941482543945 total time spend for step 1 : 15.026220798492432 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 3.32system 0:21.11elapsed 82%CPU (0avgtext+0avgdata 139256maxresident)k 48inputs+9584outputs (11major+253844minor)pagefaults 0swaps