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 : 2301328 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 : 1372>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2301328/ 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.3186538219451904 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 May 21 11:07: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/1747818448_2301328_1359999748_2d1b93e91a3c5045a0876c6bf341dae8.jpg resize: (1080, 1632) 1359999748 -1.839153496911464 treat image : temp/1747818448_2301328_1359999729_c2dbf8da7a00105f50dcb30710ba495f.jpg resize: (1080, 1632) 1359999729 -1.803762941972124 treat image : temp/1747818448_2301328_1359999697_41258c02c0580f8910ca25cb546bf3ce.jpg resize: (1080, 1632) 1359999697 -3.7525945307370554 treat image : temp/1747818448_2301328_1359999435_ed1767f360324acc2b4a6aea2318c368.jpg resize: (1080, 1632) 1359999435 -6.1853503628095625 treat image : temp/1747818448_2301328_1359999406_b7715945998d88fa568c12691d776adb.jpg resize: (1080, 1632) 1359999406 -6.324855328071509 treat image : temp/1747818448_2301328_1359999377_aa7de06455cac9b6b601c90bab889f08.jpg resize: (1080, 1632) 1359999377 -5.848665854063921 treat image : temp/1747818448_2301328_1359999348_061f4da8024c88d6c99354dc0617aae1.jpg resize: (1080, 1632) 1359999348 -5.291249253002461 treat image : temp/1747818448_2301328_1359999320_f0762a44e1538f1b949ac23a3fc8bc46.jpg resize: (1080, 1632) 1359999320 -5.367693400982532 treat image : temp/1747818448_2301328_1359999048_2282f3063ecd35f0a5a09e92074f37c3.jpg resize: (1080, 1632) 1359999048 -2.7968123149246873 treat image : temp/1747818448_2301328_1359999021_2e849f52b6c844e71fc318a79620f150.jpg resize: (1080, 1632) 1359999021 -5.0395506095387175 treat image : temp/1747818448_2301328_1359998995_3220f573bb8b97ca257f7febe8343c48.jpg resize: (1080, 1632) 1359998995 -5.4415582049551405 treat image : temp/1747818448_2301328_1359998964_ea5541c2c105e906baec160ab4aedd05.jpg resize: (1080, 1632) 1359998964 -5.477888525769823 treat image : temp/1747818448_2301328_1359998935_fd9ceb28214edc452a2f8cfd53ebcb0e.jpg resize: (1080, 1632) 1359998935 -5.771532349515946 treat image : temp/1747818448_2301328_1359998909_fe89363a21d6d2ef68947ce3b3597902.jpg resize: (1080, 1632) 1359998909 -6.117644815308634 treat image : temp/1747818448_2301328_1359998824_9b952e98a141810a0c465b9b43765c1e.jpg resize: (1080, 1632) 1359998824 -5.4178555343184325 treat image : temp/1747818448_2301328_1359998815_ffa010b1a870584be2f47a6f70683c58.jpg resize: (1080, 1632) 1359998815 -5.387348688595777 treat image : temp/1747818448_2301328_1359998811_749ac0c06e6ec26f7bf9d5e81ac541e5.jpg resize: (1080, 1632) 1359998811 -1.3563148118922417 treat image : temp/1747818448_2301328_1359998774_4a2fb52c9376c77c1cc753c414e91d08.jpg resize: (1080, 1632) 1359998774 -3.064784267554473 treat image : temp/1747818448_2301328_1359998770_7889bcac8a5fc9efa9298218b1d7eb66.jpg resize: (1080, 1632) 1359998770 -5.547155556769603 treat image : temp/1747818448_2301328_1359990002_d6fc3e5387e67ffce949ef6d6e397920.jpg resize: (1080, 1632) 1359990002 -6.156930753076034 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.013632535934448242 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.012938737869262695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017774105072021484 save missing photos in datou_result : time spend for datou_step_exec : 17.009644985198975 time spend to save output : 0.049414634704589844 total time spend for step 1 : 17.059059619903564 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.86user 4.63system 0:21.48elapsed 90%CPU (0avgtext+0avgdata 137320maxresident)k 152inputs+9704outputs (2major+251392minor)pagefaults 0swaps