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 : 1769594 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 : 4419>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/1769594/ 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.43280029296875 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 22:02: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/1757448148_1769594_1382815056_f02cd203f0d4d1338e48c569f4f0295c.jpg resize: (1080, 1632) 1382815056 -5.391242952329194 treat image : temp/1757448148_1769594_1382815054_49ef956719dc02488f6592850dc29c82.jpg resize: (1080, 1632) 1382815054 -5.391242952329194 treat image : temp/1757448148_1769594_1382815027_5e61ba12a527000a6aceb2fcc1551761.jpg resize: (1080, 1632) 1382815027 -6.025395344022486 treat image : temp/1757448148_1769594_1382815026_4b35e0811ee446776a41f89bb5671a84.jpg resize: (1080, 1632) 1382815026 -6.025395344022486 treat image : temp/1757448148_1769594_1382815018_b9f5e9e0311a4d8ffebf67c79344184f.jpg resize: (1080, 1632) 1382815018 -5.471144189518545 treat image : temp/1757448148_1769594_1382815017_e0fd6dbf34423e82b720f4da45330c2e.jpg resize: (1080, 1632) 1382815017 -5.471144189518545 treat image : temp/1757448148_1769594_1382815014_37ed1da6ed4f0c72fc92ea10544e8703.jpg resize: (1080, 1632) 1382815014 -3.6980911841699826 treat image : temp/1757448148_1769594_1382815013_fdb60f01cd30f859b7425ff5cfe5277c.jpg resize: (1080, 1632) 1382815013 -3.6980911841699826 treat image : temp/1757448148_1769594_1382814999_b0586ffc219a79187ca6d8d9a58962aa.jpg resize: (1080, 1632) 1382814999 -5.397899627001959 treat image : temp/1757448148_1769594_1382814998_8be3409b0ad4267f16091765480b25bc.jpg resize: (1080, 1632) 1382814998 -5.397899627001959 treat image : temp/1757448148_1769594_1382814986_6249f4fd1ba99d8039f740e76a4b6c77.jpg resize: (1080, 1632) 1382814986 -3.7560835058864073 treat image : temp/1757448148_1769594_1382814985_be2036c39ffb9c46d52725cd3deea0e6.jpg resize: (1080, 1632) 1382814985 -3.7560835058864073 treat image : temp/1757448148_1769594_1382814931_d3c50bfdc4264876a76ac7ffc40ff2e0.jpg resize: (1080, 1632) 1382814931 -5.403195701935083 treat image : temp/1757448148_1769594_1382814906_37df2e66da638c379c293f8d4630834d.jpg resize: (1080, 1632) 1382814906 -5.348370441944868 treat image : temp/1757448148_1769594_1382814896_7f9eaf59b057fd0f08988b1d9b25cde3.jpg resize: (1080, 1632) 1382814896 -3.932981527851686 treat image : temp/1757448148_1769594_1382814893_5dbf1a5832b51e2036179c8958a55150.jpg resize: (1080, 1632) 1382814893 -4.307771869302632 treat image : temp/1757448148_1769594_1382814880_20d32375ee13da658ec46bdf0d522822.jpg resize: (1080, 1632) 1382814880 -5.530650272559025 treat image : temp/1757448148_1769594_1382814856_c339a6598c64e51b382c60c90473690d.jpg resize: (1080, 1632) 1382814856 -6.001274472140089 treat image : temp/1757448148_1769594_1382814767_36073050c9997adf9380786b60065ebe.jpg resize: (1080, 1632) 1382814767 -5.31940063573726 treat image : temp/1757448148_1769594_1382814743_83832c6d40916167a08f8c13908142b1.jpg resize: (1080, 1632) 1382814743 -1.245046460941077 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.027916908264160156 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.025877952575683594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.027986764907836914 save missing photos in datou_result : time spend for datou_step_exec : 15.52759051322937 time spend to save output : 0.09234738349914551 total time spend for step 1 : 15.619937896728516 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 3.42system 0:20.85elapsed 85%CPU (0avgtext+0avgdata 139100maxresident)k 0inputs+9880outputs (4major+255466minor)pagefaults 0swaps