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 : 2811906 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 : 2744>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2811906/ 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 : 3.3420569896698 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 Apr 2 18:37:34 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/1743611850_2811906_1349569433_fee9663c2f5ae185341e8a4918c508f7.jpg resize: (1080, 1632) 1349569433 -6.054529346132584 treat image : temp/1743611850_2811906_1349569389_6b26d45c886112ad7b2048758250160e.jpg resize: (1080, 1632) 1349569389 -5.654015853280131 treat image : temp/1743611850_2811906_1349569386_7432305e3998a58ca9f794603694bf1e.jpg resize: (1080, 1632) 1349569386 -6.177017462774614 treat image : temp/1743611850_2811906_1349569383_95d1ed872f0bb06b138c999da49ec34c.jpg resize: (1080, 1632) 1349569383 -6.27472378370269 treat image : temp/1743611850_2811906_1349569380_0d64d06096fdc5ba3094bc1d3d2f0c37.jpg resize: (1080, 1632) 1349569380 -6.056849565777732 treat image : temp/1743611850_2811906_1349488299_d270188cb3900249f4aeed34fcdfedbd.jpg resize: (1080, 1632) 1349488299 -1.7652341372303344 treat image : temp/1743611850_2811906_1349488296_3d3e38b99e769f9330718d1b11af79b0.jpg resize: (1080, 1632) 1349488296 -2.8794843487752 treat image : temp/1743611850_2811906_1349488266_cdc50b306eabde504de8f447bba51f4c.jpg resize: (1080, 1632) 1349488266 -4.998595842416487 treat image : temp/1743611850_2811906_1349488263_f68be6ad806b36766353ebeb3e23bb9b.jpg resize: (1080, 1632) 1349488263 -5.790940216618785 treat image : temp/1743611850_2811906_1349488258_304aa4410217fb0684cca217e9b401b5.jpg resize: (1080, 1632) 1349488258 -5.360218504145584 treat image : temp/1743611850_2811906_1349488255_dfa6e0d2a0d0cd31e8a86a6da44c8b9f.jpg resize: (1080, 1632) 1349488255 -4.991658206947753 treat image : temp/1743611850_2811906_1349488251_215da0bcb4a907465a687a1458da11a2.jpg resize: (1080, 1632) 1349488251 -3.084581589793469 treat image : temp/1743611850_2811906_1349488248_8e8333ea39f5545cefb74fa1fd790949.jpg resize: (1080, 1632) 1349488248 -4.52955360586815 treat image : temp/1743611850_2811906_1349488217_3dd27f66865f9482cb6364fe953707c7.jpg resize: (1080, 1632) 1349488217 -5.780345116148527 treat image : temp/1743611850_2811906_1349488213_1e88e05edc8ac6471dcf4e26f15c4f75.jpg resize: (1080, 1632) 1349488213 -5.7088525497622244 treat image : temp/1743611850_2811906_1349488210_3699360d8fd689de73bcdca36c475754.jpg resize: (1080, 1632) 1349488210 -1.801137572151771 treat image : temp/1743611850_2811906_1349488205_e4da93fe4f44fdd44b8acc0d0c55d510.jpg resize: (1080, 1632) 1349488205 -3.18102152574722 treat image : temp/1743611850_2811906_1349488185_fd64d31915ea8b87545a31e9c4bf72fc.jpg resize: (1080, 1632) 1349488185 -1.721057992184635 treat image : temp/1743611850_2811906_1349488179_7fbb9ab8527c99e9894f737327ae45c2.jpg resize: (1080, 1632) 1349488179 -5.0622128571487375 treat image : temp/1743611850_2811906_1349488171_b1ce97053edb4fd4ffc8aebc85f79691.jpg resize: (1080, 1632) 1349488171 -6.202060613663489 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.012389421463012695 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.013827800750732422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022989988327026367 save missing photos in datou_result : time spend for datou_step_exec : 19.405791759490967 time spend to save output : 0.05496931076049805 total time spend for step 1 : 19.460761070251465 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.92user 5.43system 0:26.83elapsed 79%CPU (0avgtext+0avgdata 141156maxresident)k 128inputs+9784outputs (5major+260719minor)pagefaults 0swaps