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 : 4002462 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 : 2985>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/4002462/ 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.350740671157837 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 19: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/1747156949_4002462_1357891764_4d6c4b6f59528e27e89a244280ed3e74.jpg resize: (1080, 1632) 1357891764 -5.70121694273606 treat image : temp/1747156949_4002462_1357891727_11a0d0da2f535a94db2d237fd736ccb7.jpg resize: (1080, 1632) 1357891727 -1.6089146559248997 treat image : temp/1747156949_4002462_1357891262_66d41d2293ecd6c59f73f2a734295ac0.jpg resize: (1080, 1632) 1357891262 -2.5047332847402295 treat image : temp/1747156949_4002462_1357891235_bc40361154e405f59d4138820c2d7512.jpg resize: (1080, 1632) 1357891235 -4.67916828523103 treat image : temp/1747156949_4002462_1357891203_c666702d6880cd3b74854d7d586cf201.jpg resize: (1080, 1632) 1357891203 -5.3487600576254515 treat image : temp/1747156949_4002462_1357890828_f25f5bba313507c74efa942094d75b80.jpg resize: (1080, 1632) 1357890828 -4.606660085582695 treat image : temp/1747156949_4002462_1357890824_3e5610dd4b87135d6eed03ec1791663b.jpg resize: (1080, 1632) 1357890824 -3.7373789747354946 treat image : temp/1747156949_4002462_1357890822_8954cb18c6645d62153b4341a2c5d3d9.jpg resize: (1080, 1632) 1357890822 -5.407236478336976 treat image : temp/1747156949_4002462_1357890819_d1a0cd681f8c548bcbd4e535477ae9ce.jpg resize: (1080, 1632) 1357890819 -2.956007296922358 treat image : temp/1747156949_4002462_1357890816_426e9cfdc4b885c6831767089744d2e1.jpg resize: (1080, 1632) 1357890816 -5.5128822262404125 treat image : temp/1747156949_4002462_1357890631_d5bbc9fe1f4a31f7ec57027de024874d.jpg resize: (1080, 1632) 1357890631 -3.390069733589828 treat image : temp/1747156949_4002462_1357890601_e0e562b8f96a14c70ca74ac3024e5861.jpg resize: (1080, 1632) 1357890601 -5.767401115527061 treat image : temp/1747156949_4002462_1357890570_7d215982fd20a75c13a776d7bcdcecfc.jpg resize: (1080, 1632) 1357890570 -4.252100906095357 treat image : temp/1747156949_4002462_1357890543_6b724478f456d5a720ff780fec60d7c0.jpg resize: (1080, 1632) 1357890543 -5.342179861286755 treat image : temp/1747156949_4002462_1357890514_44e2eb238270ecedfa903e9461974650.jpg resize: (1080, 1632) 1357890514 -3.7477472403935446 treat image : temp/1747156949_4002462_1357890486_e051558baf9e48d8511ee4ebb58905c5.jpg resize: (1080, 1632) 1357890486 -5.53151784650131 treat image : temp/1747156949_4002462_1357890459_be0c58334778b667c8f57f3e304f6d4d.jpg resize: (1080, 1632) 1357890459 -1.8227643921832166 treat image : temp/1747156949_4002462_1357890455_51705d6e4ec5900e9cdd6eef34996d65.jpg resize: (1080, 1632) 1357890455 -2.5123832353638456 treat image : temp/1747156949_4002462_1357890451_459845a9ee21261f5f47155cdde39cca.jpg resize: (1080, 1632) 1357890451 -5.005113775794898 treat image : temp/1747156949_4002462_1357890425_a295029348c59cf4fe3b8802e62bc568.jpg resize: (1080, 1632) 1357890425 -6.235974130022923 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.014166831970214844 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.013589620590209961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014961957931518555 save missing photos in datou_result : time spend for datou_step_exec : 15.874627590179443 time spend to save output : 0.04741549491882324 total time spend for step 1 : 15.922043085098267 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.47user 3.40system 0:22.23elapsed 84%CPU (0avgtext+0avgdata 139576maxresident)k 3400inputs+9056outputs (14major+259897minor)pagefaults 0swaps