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 : 3762973 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 : 1254>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3762973/ 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.099783182144165 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 Mar 21 13:47: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/1742561247_3762973_1345987936_86bed602e43a65c3a215e1a704ed9fea.jpg resize: (1080, 1632) 1345987936 -6.1200110556061285 treat image : temp/1742561247_3762973_1345987726_8964f9e99cd3d37227341aa25b02bd51.jpg resize: (1080, 1632) 1345987726 -4.825856337997425 treat image : temp/1742561247_3762973_1345987645_d8001e23ab6b5504608ecb295ed9480f.jpg resize: (1080, 1632) 1345987645 -4.897444555999796 treat image : temp/1742561247_3762973_1345987587_bb553cf96024323be22add0f02dcc2be.jpg resize: (1080, 1632) 1345987587 -1.1980204806124264 treat image : temp/1742561247_3762973_1345987552_69ffd5530fb66556f619412cfee99461.jpg resize: (1080, 1632) 1345987552 -3.2206944447706323 treat image : temp/1742561247_3762973_1345987524_2cbf3d3de16397cfece2aeb544a35b3c.jpg resize: (1080, 1632) 1345987524 -3.1806380484901267 treat image : temp/1742561247_3762973_1345987441_fdd73c16056e8ac1e9e915a7b69a53b1.jpg resize: (1080, 1632) 1345987441 -5.270698549667556 treat image : temp/1742561247_3762973_1345987410_c825b5c569e5e6b0c47b45ce8c22a39e.jpg resize: (1080, 1632) 1345987410 -5.602184078392345 treat image : temp/1742561247_3762973_1345987385_cbaa81ea1d04b111f5172ee54edd17cd.jpg resize: (1080, 1632) 1345987385 -5.250215387495484 treat image : temp/1742561247_3762973_1345987360_01c092d8e91c35c5a027a8d1cc20b221.jpg resize: (1080, 1632) 1345987360 -6.065615959030969 treat image : temp/1742561247_3762973_1345987332_16d19e95a8399ecb15f0d813c6d8b0e3.jpg resize: (1080, 1632) 1345987332 -5.746232086970754 treat image : temp/1742561247_3762973_1345987303_372c492249e71ff1f063b99210b2a0fc.jpg resize: (1080, 1632) 1345987303 -3.7076379652070655 treat image : temp/1742561247_3762973_1345987201_2e341def80f5f3794a8c85b0a9523109.jpg resize: (1080, 1632) 1345987201 -2.4422838390743893 treat image : temp/1742561247_3762973_1345987148_eed4a9f0abdd8f4789624e177f9dc095.jpg resize: (1080, 1632) 1345987148 -4.075643278895426 treat image : temp/1742561247_3762973_1345987095_5e855122cca68dc2fe7aef80d80e9200.jpg resize: (1080, 1632) 1345987095 -5.632888200695629 treat image : temp/1742561247_3762973_1345987036_827f79bad7df4fa1665068413d3030db.jpg resize: (1080, 1632) 1345987036 -6.020612298158694 treat image : temp/1742561247_3762973_1345986981_5a7c7e45efe825b7d8e04c11faed8257.jpg resize: (1080, 1632) 1345986981 -6.513751461611681 treat image : temp/1742561247_3762973_1345986921_bcffb793de1be5ff18bf838129517372.jpg resize: (1080, 1632) 1345986921 -5.824438785459601 treat image : temp/1742561247_3762973_1345986737_bea93b5afeb6424153fe3bdb4aedfd33.jpg resize: (1080, 1632) 1345986737 -4.192307279013753 treat image : temp/1742561247_3762973_1345986706_8984e70071b2f6b238380ac653bfe636.jpg resize: (1080, 1632) 1345986706 -3.8345543903692443 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.08189010620117188 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.01567530632019043 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01502370834350586 save missing photos in datou_result : time spend for datou_step_exec : 15.61047649383545 time spend to save output : 0.1179189682006836 total time spend for step 1 : 15.728395462036133 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.15user 3.84system 0:19.50elapsed 92%CPU (0avgtext+0avgdata 138624maxresident)k 176inputs+10264outputs (7major+263444minor)pagefaults 0swaps