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 : 3300305 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3300305/ 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 : 3.682837963104248 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 16 17:47:33 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/1758037649_3300305_1383554096_3f79ffa93d4fa7abcc91006d3a057c7c.jpg resize: (1080, 1632) 1383554096 -5.481183063872523 treat image : temp/1758037649_3300305_1383553987_ec9446149491569a207bc5df3a03d20a.jpg resize: (1080, 1632) 1383553987 -1.875954906961227 treat image : temp/1758037649_3300305_1383553961_e0eb915a79c903eea43010ad324ce142.jpg resize: (1080, 1632) 1383553961 -2.4088013912134896 treat image : temp/1758037649_3300305_1383553933_5fb3bed8cd59a39c3deaa8362e6e3e2c.jpg resize: (1080, 1632) 1383553933 -2.499818592193178 treat image : temp/1758037649_3300305_1383553902_ace9c35696f4eb377f6f1b9688937270.jpg resize: (1080, 1632) 1383553902 -5.878803318657958 treat image : temp/1758037649_3300305_1383553874_581fa4714640a326fd93f159561d234b.jpg resize: (1080, 1632) 1383553874 -4.999092377337899 treat image : temp/1758037649_3300305_1383553844_e2420329506b370fe1c57ed9ac8f99c0.jpg resize: (1080, 1632) 1383553844 -5.986072719621346 treat image : temp/1758037649_3300305_1383553459_6abf604f2ac7528656061f6a7824988e.jpg resize: (1080, 1632) 1383553459 -5.2455746043294535 treat image : temp/1758037649_3300305_1383553435_6212a2a1a8059ce1ba669fe169aea2ae.jpg resize: (1080, 1632) 1383553435 -5.528035258724533 treat image : temp/1758037649_3300305_1383553405_fe63333298b8326dc8335d0910e1755d.jpg resize: (1080, 1632) 1383553405 -3.229847040026544 treat image : temp/1758037649_3300305_1383553149_d63ab1c017787e3abc49384d5a626e7b.jpg resize: (1080, 1632) 1383553149 -4.239375189376478 treat image : temp/1758037649_3300305_1383553117_b95bcec20fb358cd9d0f5a668ff86bca.jpg resize: (1080, 1632) 1383553117 -4.803980998050118 treat image : temp/1758037649_3300305_1383553070_8c4dead2ce34c26725252936f10318f6.jpg resize: (1080, 1632) 1383553070 -4.391418091602223 treat image : temp/1758037649_3300305_1383553013_5c34eb9f2ae986a7c087aed8ad2076a6.jpg resize: (1080, 1632) 1383553013 -2.7603289556988915 treat image : temp/1758037649_3300305_1383552961_b9603409f464afc27c1f128e458bf4b0.jpg resize: (1080, 1632) 1383552961 -5.4146074283176056 treat image : temp/1758037649_3300305_1383552922_1088582ca91357c68ecf9193a11a5337.jpg resize: (1080, 1632) 1383552922 -5.204119863060133 treat image : temp/1758037649_3300305_1383552617_0c4579e608c7c1c6e023ecf9727edeec.jpg resize: (1080, 1632) 1383552617 -0.9656493890728883 treat image : temp/1758037649_3300305_1383552569_7c887a7d6de28f4796b7bed0abc8107a.jpg resize: (1080, 1632) 1383552569 -2.5796941211106676 treat image : temp/1758037649_3300305_1383552534_0e50914bcd7b72688f0f9cb5757680bb.jpg resize: (1080, 1632) 1383552534 -2.1191498696408417 treat image : temp/1758037649_3300305_1383552504_31d597892aa92c475c92016b2dfa0ff0.jpg resize: (1080, 1632) 1383552504 -5.598624155520948 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.013950586318969727 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.01376199722290039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013932466506958008 save missing photos in datou_result : time spend for datou_step_exec : 14.795539855957031 time spend to save output : 0.04605460166931152 total time spend for step 1 : 14.841594457626343 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.17user 3.22system 0:22.16elapsed 78%CPU (0avgtext+0avgdata 138424maxresident)k 640inputs+9152outputs (8major+259000minor)pagefaults 0swaps