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 : 2013595 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 : 974>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/2013595/ 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.541539430618286 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 14 09:07: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/1747206447_2013595_1358108059_74624ec35fbf631e8e7b1e47737ea5cb.jpg resize: (1080, 1632) 1358108059 -2.474320928390699 treat image : temp/1747206447_2013595_1358099404_35cc62f29bc953f8842b1a5f030a3152.jpg resize: (1080, 1632) 1358099404 -0.6935572828371084 treat image : temp/1747206447_2013595_1358099362_e63adae43f01fec54b77d132b3a1ac5d.jpg resize: (1080, 1632) 1358099362 -6.055339833271871 treat image : temp/1747206447_2013595_1358099357_b0b97a207f137c96e740f85064b315d6.jpg resize: (1080, 1632) 1358099357 -4.7490233715684775 treat image : temp/1747206447_2013595_1358099354_bc0cf350c944eebe7d7ad6184c5a75da.jpg resize: (1080, 1632) 1358099354 -6.457751966597267 treat image : temp/1747206447_2013595_1358099348_73f794cafdea3369cc4574a671748d8a.jpg resize: (1080, 1632) 1358099348 -6.177419459641719 treat image : temp/1747206447_2013595_1358099344_7b8db8a5829679f0b1eec911dc75b020.jpg resize: (1080, 1632) 1358099344 -6.122229237512063 treat image : temp/1747206447_2013595_1358098927_4ae980697a0b7190e2b317370eb081c3.jpg resize: (1080, 1632) 1358098927 -5.283357808430857 treat image : temp/1747206447_2013595_1358098921_b23c9556f3804c216b0e8316f53b2474.jpg resize: (1080, 1632) 1358098921 -5.650559423652392 treat image : temp/1747206447_2013595_1358098915_4e619f2ac32a6f664d770a959f80dd8d.jpg resize: (1080, 1632) 1358098915 -5.609049899625412 treat image : temp/1747206447_2013595_1358098891_032529b357cbf5ec1160179bfba5dd15.jpg resize: (1080, 1632) 1358098891 -4.937848993782139 treat image : temp/1747206447_2013595_1358097772_d85fb8d40c9a1be81427dd3ff3932b1c.jpg resize: (1080, 1632) 1358097772 -3.1299171521103 treat image : temp/1747206447_2013595_1358097768_9a5b86091494b022ba66d0cb1682741c.jpg resize: (1080, 1632) 1358097768 -0.9577065135354712 treat image : temp/1747206447_2013595_1358097755_ce801e88c9bd66e12d6280b2b43d783b.jpg resize: (1080, 1632) 1358097755 -1.7091989948708053 treat image : temp/1747206447_2013595_1358097749_15178bce8d522e9c49e8e68ff3090ba0.jpg resize: (1080, 1632) 1358097749 -2.457738831876884 treat image : temp/1747206447_2013595_1358097739_2259e45d8cb102e96a8066ec505fa605.jpg resize: (1080, 1632) 1358097739 -1.3958318110706966 treat image : temp/1747206447_2013595_1358097714_b3529dfdd2bd124b493c505568b5611a.jpg resize: (1080, 1632) 1358097714 -6.0005109948095985 treat image : temp/1747206447_2013595_1358097711_392c308b822123386533410c467b0f27.jpg resize: (1080, 1632) 1358097711 -4.176248474185431 treat image : temp/1747206447_2013595_1358097708_6fc27c2eda5c40a4820b6397fe54f039.jpg resize: (1080, 1632) 1358097708 -6.159890181682282 treat image : temp/1747206447_2013595_1358097704_3e68c8dd9e8739de9703fee3e8de9133.jpg resize: (1080, 1632) 1358097704 -6.232450131365571 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.014701366424560547 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.14616084098815918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.21275973320007324 save missing photos in datou_result : time spend for datou_step_exec : 16.05446147918701 time spend to save output : 0.3786284923553467 total time spend for step 1 : 16.43308997154236 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 4.15system 0:21.91elapsed 85%CPU (0avgtext+0avgdata 142324maxresident)k 0inputs+9792outputs (1major+259205minor)pagefaults 0swaps