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 : 1547024 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 : 1468>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1547024/ 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.425680637359619 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 May 13 07:22: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/1747113748_1547024_1357774019_be7bbde25ffe8d76d4346bcedc4af749.jpg resize: (1080, 1632) 1357774019 0.25749974649846047 treat image : temp/1747113748_1547024_1357774015_21293629ef58d5df259f9c60ebe98e0f.jpg resize: (1080, 1632) 1357774015 -3.248148478685163 treat image : temp/1747113748_1547024_1357774011_1134a7ea095c756d001b2d83e5e85884.jpg resize: (1080, 1632) 1357774011 -2.6678687142267 treat image : temp/1747113748_1547024_1357774009_c9ffe3b79ed256dc0e731ff29cf27c65.jpg resize: (1080, 1632) 1357774009 -2.445636330151825 treat image : temp/1747113748_1547024_1357773977_f3cabb08d37f4e9e16453a0d9eeff3ea.jpg resize: (1080, 1632) 1357773977 -3.1723422327375284 treat image : temp/1747113748_1547024_1357773973_0863a9cc7f7a55ff36253688238bc248.jpg resize: (1080, 1632) 1357773973 -3.612287307767504 treat image : temp/1747113748_1547024_1357773971_978002a03379c7c08f2645b6ea92ca43.jpg resize: (1080, 1632) 1357773971 -5.396304711158844 treat image : temp/1747113748_1547024_1357773970_07b158681ca78d002a3c4b1f03d2b4dd.jpg resize: (1080, 1632) 1357773970 -5.611195691846463 treat image : temp/1747113748_1547024_1357773969_5727b771af6fbb879718b8dcb1eefaa0.jpg resize: (1080, 1632) 1357773969 -3.237419906943192 treat image : temp/1747113748_1547024_1357773938_2cb267be05c0dee76bc112778a5bc0e6.jpg resize: (1080, 1632) 1357773938 -6.31148663509664 treat image : temp/1747113748_1547024_1357773936_0c02e3b4704c10b452d475a49e39d588.jpg resize: (1080, 1632) 1357773936 -3.1932944535211 treat image : temp/1747113748_1547024_1357773932_03f5d54be2afa0f1a78ed728538e9ee5.jpg resize: (1080, 1632) 1357773932 -5.763753448278106 treat image : temp/1747113748_1547024_1357773929_8a78356e7e6d52763f81916aefe8ba7c.jpg resize: (1080, 1632) 1357773929 -5.741672629275055 treat image : temp/1747113748_1547024_1357773924_054f35714bdaf6969d01b6682b585295.jpg resize: (1080, 1632) 1357773924 -5.405247134396256 treat image : temp/1747113748_1547024_1357773440_b6ca5d0c3b6a61e6bede1914e7509cee.jpg resize: (1080, 1632) 1357773440 -4.977676910537257 treat image : temp/1747113748_1547024_1357773436_455761811b0f38f94565de172e83a54c.jpg resize: (1080, 1632) 1357773436 -5.47992395608211 treat image : temp/1747113748_1547024_1357773432_e977c87e7e9dae153fec47a658d660ec.jpg resize: (1080, 1632) 1357773432 -3.108751406715242 treat image : temp/1747113748_1547024_1357773428_cc1ec1f1e70b349e6d5947275e51901c.jpg resize: (1080, 1632) 1357773428 -3.8579059875179373 treat image : temp/1747113748_1547024_1357773392_1fe56e6b047bc7c9a8264302a3caa905.jpg resize: (1080, 1632) 1357773392 -4.901591906769011 treat image : temp/1747113748_1547024_1357773389_d0492918080987f7a352e16ab7350d4d.jpg resize: (1080, 1632) 1357773389 -5.643567265398978 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.019429683685302734 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.036184072494506836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03552412986755371 save missing photos in datou_result : time spend for datou_step_exec : 16.21235942840576 time spend to save output : 0.09571075439453125 total time spend for step 1 : 16.308070182800293 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 3.67system 0:21.45elapsed 86%CPU (0avgtext+0avgdata 139584maxresident)k 3568inputs+8888outputs (28major+260270minor)pagefaults 0swaps