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 : 877561 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 : 258>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/877561/ 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.2004189491271973 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 May 12 06:07: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/1747022849_877561_1357598692_8d753d7e33c31c9c85b48bb4e23ebeb0.jpg resize: (1080, 1632) 1357598692 -5.6653469362098905 treat image : temp/1747022849_877561_1357598689_468e42f8cee54ed6c7f59833bced69aa.jpg resize: (1080, 1632) 1357598689 -3.518380440636098 treat image : temp/1747022849_877561_1357598687_bd37b1b296ae72e7ad07f482b1eeead0.jpg resize: (1080, 1632) 1357598687 -6.049094137042802 treat image : temp/1747022849_877561_1357598685_2449531f0bad6b4de15e98addf4fc810.jpg resize: (1080, 1632) 1357598685 -6.381220850683804 treat image : temp/1747022849_877561_1357598684_95440ca4aa4c9e4f29ca1048edb7f1af.jpg resize: (1080, 1632) 1357598684 -6.782991738242142 treat image : temp/1747022849_877561_1357598658_8ed0cb6cb90fed019846d827ae288bcc.jpg resize: (1080, 1632) 1357598658 -2.043727661902934 treat image : temp/1747022849_877561_1357598654_54e9ccd332276a87240215c56b820644.jpg resize: (1080, 1632) 1357598654 -4.082075027429784 treat image : temp/1747022849_877561_1357598651_e7faaafc475d5ecf1343919062734bf6.jpg resize: (1080, 1632) 1357598651 -4.3795971989732045 treat image : temp/1747022849_877561_1357598648_63e80fb85d2001e97969c21c20ef3e7e.jpg resize: (1080, 1632) 1357598648 -5.548610651262999 treat image : temp/1747022849_877561_1357598647_afdb2d4275f3f830c09a48a365fd59b2.jpg resize: (1080, 1632) 1357598647 -5.793636143374637 treat image : temp/1747022849_877561_1357598621_0846a048e8d7004e2294baf638e2e13c.jpg resize: (1080, 1632) 1357598621 -3.6204315054927965 treat image : temp/1747022849_877561_1357598618_5297d096616bb732a358722333a84c18.jpg resize: (1080, 1632) 1357598618 -6.520144793812658 treat image : temp/1747022849_877561_1357598615_476f02e14461802f8349249fde3fed2c.jpg resize: (1080, 1632) 1357598615 -6.113249303483929 treat image : temp/1747022849_877561_1357598596_fd4298c153d1b1508196b45e378e9e40.jpg resize: (1080, 1632) 1357598596 -5.845947737738134 treat image : temp/1747022849_877561_1357598593_dc217bd501b707e0391c7993fbf178b6.jpg resize: (1080, 1632) 1357598593 -5.862236160127455 treat image : temp/1747022849_877561_1357598570_9ac0c1f75a64f92d6affd5ccecc14c44.jpg resize: (1080, 1632) 1357598570 -5.064347358419857 treat image : temp/1747022849_877561_1357598569_5e01c00f081b726613f565b33bc5fb51.jpg resize: (1080, 1632) 1357598569 -6.078156517054162 treat image : temp/1747022849_877561_1357598547_aced59862e8dd8a8b0c89e34f5618f0f.jpg resize: (1080, 1632) 1357598547 -3.26192820013676 treat image : temp/1747022849_877561_1357598545_a41e9ce3275f042528fc8faa38b49cbc.jpg resize: (1080, 1632) 1357598545 -3.861966277721577 treat image : temp/1747022849_877561_1357598543_9bb3df31e8fe5bf50d74e0511bf1b7da.jpg resize: (1080, 1632) 1357598543 -6.370933164710716 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.013577699661254883 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.012966156005859375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01489114761352539 save missing photos in datou_result : time spend for datou_step_exec : 16.22266721725464 time spend to save output : 0.046751976013183594 total time spend for step 1 : 16.269419193267822 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 4.23system 0:22.78elapsed 81%CPU (0avgtext+0avgdata 140440maxresident)k 2800inputs+10800outputs (34major+260269minor)pagefaults 0swaps