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 : 1143943 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 : 986>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/1143943/ 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.3878674507141113 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 05:27:30 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/1747106847_1143943_1357767611_03216555fc4cf903de3582891cb964cd.jpg resize: (1080, 1632) 1357767611 -6.227728952538935 treat image : temp/1747106847_1143943_1357767609_f92be3cc5282f778d6b6384ea0dafc6e.jpg resize: (1080, 1632) 1357767609 -1.5206314423859575 treat image : temp/1747106847_1143943_1357767606_098c2f57990067e72c28f9a79d8f608c.jpg resize: (1080, 1632) 1357767606 -1.9710365896820443 treat image : temp/1747106847_1143943_1357767572_0ed0e94b6e4d3960c813f688d2d0577a.jpg resize: (1080, 1632) 1357767572 -2.9676080473352284 treat image : temp/1747106847_1143943_1357767570_b7e60ce5de31fd1fd7e0c2e9d22e427b.jpg resize: (1080, 1632) 1357767570 -6.384503918053173 treat image : temp/1747106847_1143943_1357767567_02cfffeee46bca9180ea2eb8ebd688a8.jpg resize: (1080, 1632) 1357767567 -5.532812427769958 treat image : temp/1747106847_1143943_1357767565_e2fac98074361e3c70928ff6fc38b395.jpg resize: (1080, 1632) 1357767565 -5.528999775599448 treat image : temp/1747106847_1143943_1357767564_25c6c5555e03fc746f56aca41504f430.jpg resize: (1080, 1632) 1357767564 -5.902790959965133 treat image : temp/1747106847_1143943_1357767561_253c3e7c82a54cb0cb7ecc93ce6dc186.jpg resize: (1080, 1632) 1357767561 -5.538635454763789 treat image : temp/1747106847_1143943_1357767535_e9752a96f52bf0266ac597b9d4fe16ac.jpg resize: (1080, 1632) 1357767535 -6.414435261812523 treat image : temp/1747106847_1143943_1357767533_8e9137b6ac0226f966bfb90e9bfbadac.jpg resize: (1080, 1632) 1357767533 -6.3168559626204885 treat image : temp/1747106847_1143943_1357767532_5b0dfb7c6350dcf40213c348cd11a7e5.jpg resize: (1080, 1632) 1357767532 -3.7271843357048624 treat image : temp/1747106847_1143943_1357767531_1e7285e8085943c3b698cbc1002804ac.jpg resize: (1080, 1632) 1357767531 -5.427930600996327 treat image : temp/1747106847_1143943_1357767529_61341556e022caf185fdfacfdff4eeac.jpg resize: (1080, 1632) 1357767529 -5.500867392091671 treat image : temp/1747106847_1143943_1357767507_8fae5a78d3c8e0caf8dbba1bcc30db58.jpg resize: (1080, 1632) 1357767507 -2.107094728344198 treat image : temp/1747106847_1143943_1357767505_0998ac8c783216d20d60bb6608919460.jpg resize: (1080, 1632) 1357767505 -4.41462576913019 treat image : temp/1747106847_1143943_1357767503_df8a217c49c3655a2afe690c7e68d735.jpg resize: (1080, 1632) 1357767503 -4.516873750193143 treat image : temp/1747106847_1143943_1357767502_412b4d35f1e1ce5e207aa2b3ee5f1af0.jpg resize: (1080, 1632) 1357767502 -6.584074329530749 treat image : temp/1747106847_1143943_1357767486_da630ba2556b3ec47bf2405277792e73.jpg resize: (1080, 1632) 1357767486 -5.423745034474703 treat image : temp/1747106847_1143943_1357767484_119e3d0bdfece8ac95ba8b657cd370aa.jpg resize: (1080, 1632) 1357767484 -5.385042950360612 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.012694597244262695 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.014921426773071289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0160830020904541 save missing photos in datou_result : time spend for datou_step_exec : 16.737744569778442 time spend to save output : 0.0495302677154541 total time spend for step 1 : 16.787274837493896 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 4.61system 0:21.70elapsed 89%CPU (0avgtext+0avgdata 139924maxresident)k 520inputs+10520outputs (11major+258071minor)pagefaults 0swaps