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 : 1281412 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 : 2182>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1281412/ 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.652405261993408 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 Sep 9 14:52:29 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/1757422346_1281412_1382778996_b303d4aba5014ea8e9cb24d991de721c.jpg resize: (1080, 1632) 1382778996 -4.381995263450556 treat image : temp/1757422346_1281412_1382778974_25d916e96b80e2ecc21f43e3d4e8385c.jpg resize: (1080, 1632) 1382778974 -5.859147207643294 treat image : temp/1757422346_1281412_1382778958_19b89c04185354450dbc56d6a84b8dd5.jpg resize: (1080, 1632) 1382778958 -5.501754039808493 treat image : temp/1757422346_1281412_1382778950_75b173b105e7dc2efd7bb800080e1000.jpg resize: (1080, 1632) 1382778950 -5.00362195649482 treat image : temp/1757422346_1281412_1382778943_f94237768b2f00b3dd6a5c801266baab.jpg resize: (1080, 1632) 1382778943 -5.306731962348976 treat image : temp/1757422346_1281412_1382778937_473c83ec5659edc671a868efcc166074.jpg resize: (1080, 1632) 1382778937 -6.173774387995017 treat image : temp/1757422346_1281412_1382778903_8696a3209d197fc9388257232844f3cf.jpg resize: (1080, 1632) 1382778903 -5.032694334924569 treat image : temp/1757422346_1281412_1382778901_003ca6d2db4a16eded009fa29a3ab418.jpg resize: (1080, 1632) 1382778901 -5.829515450055275 treat image : temp/1757422346_1281412_1382778899_ddf59cd9b27d950cffd86691175718c2.jpg resize: (1080, 1632) 1382778899 -5.355019590604665 treat image : temp/1757422346_1281412_1382778896_2e916d58140d70d9e0dd4df4793de8ab.jpg resize: (1080, 1632) 1382778896 -3.1269361407460226 treat image : temp/1757422346_1281412_1382778894_6ee3c453e7b41bce27dd278544a95e10.jpg resize: (1080, 1632) 1382778894 -1.211957704030461 treat image : temp/1757422346_1281412_1382778892_b6d7b8374bde1e8b670979a229987c08.jpg resize: (1080, 1632) 1382778892 -2.1746670895488376 treat image : temp/1757422346_1281412_1382778870_76111561bab7a779a8a4d748b8bf5824.jpg resize: (1080, 1632) 1382778870 -5.412028677965591 treat image : temp/1757422346_1281412_1382778867_7c3c098bf5d88c0a8bafd3e56a6b26b5.jpg resize: (1080, 1632) 1382778867 -4.616564881138836 treat image : temp/1757422346_1281412_1382778864_9ae1ba1f2dd71a824df0f89ccda9cd4c.jpg resize: (1080, 1632) 1382778864 -5.0785429604883365 treat image : temp/1757422346_1281412_1382778860_bcdb601a9eae9ae6a206c96bebc9c050.jpg resize: (1080, 1632) 1382778860 -2.817597882554579 treat image : temp/1757422346_1281412_1382778858_069c0eabe8c43395734c2416e2f755a0.jpg resize: (1080, 1632) 1382778858 -5.032694334924569 treat image : temp/1757422346_1281412_1382778857_c74267b4eb6cd85b6b5319791844033d.jpg resize: (1080, 1632) 1382778857 -5.829515450055275 treat image : temp/1757422346_1281412_1382778847_2c0e31c5190a21444f6d15ce434af800.jpg resize: (1080, 1632) 1382778847 -0.6665887666678151 treat image : temp/1757422346_1281412_1382778841_82388a25f19456faa8835afdec77882a.jpg resize: (1080, 1632) 1382778841 -1.7031147493974268 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.012661457061767578 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.01182866096496582 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015239953994750977 save missing photos in datou_result : time spend for datou_step_exec : 14.496699810028076 time spend to save output : 0.04437136650085449 total time spend for step 1 : 14.54107117652893 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.15user 2.81system 0:19.37elapsed 87%CPU (0avgtext+0avgdata 139492maxresident)k 104inputs+9672outputs (5major+253343minor)pagefaults 0swaps