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 : 1902251 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 : 861>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/1902251/ 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.31416392326355 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 08: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/1747203749_1902251_1358101757_2843ab63016a7bd9576ac86793e1c1e7.jpg resize: (1080, 1632) 1358101757 -0.8409452100033706 treat image : temp/1747203749_1902251_1358101753_7bfe61e97e6d52e59be64c86ee261316.jpg resize: (1080, 1632) 1358101753 -2.009817939017804 treat image : temp/1747203749_1902251_1358101749_74194511351bac6165b93e1ac7bb6e5a.jpg resize: (1080, 1632) 1358101749 -2.318393596705673 treat image : temp/1747203749_1902251_1358101701_793ca465e5a313468bb126abbd53d681.jpg resize: (1080, 1632) 1358101701 -6.007798242004482 treat image : temp/1747203749_1902251_1358101690_d15c7764bad6fe97fc4d0448bb44956c.jpg resize: (1080, 1632) 1358101690 -5.98306227695471 treat image : temp/1747203749_1902251_1358101670_eef37ceefbe01579834ad40cb5c4111e.jpg resize: (1080, 1632) 1358101670 -5.347240818714333 treat image : temp/1747203749_1902251_1358101651_2ce963ef8e8a1ba6e771baa34833a08a.jpg resize: (1080, 1632) 1358101651 -6.091223545067944 treat image : temp/1747203749_1902251_1358101645_d68e660c98593b430ebf81cc2ffe04e0.jpg resize: (1080, 1632) 1358101645 -3.9188291974334333 treat image : temp/1747203749_1902251_1358101627_61698c914f36c4f8550a4bfe52aa96eb.jpg resize: (1080, 1632) 1358101627 -5.89846438843986 treat image : temp/1747203749_1902251_1358101623_c0c3d7165ffb29aa03bf2f1217eb7475.jpg resize: (1080, 1632) 1358101623 -5.805824787774491 treat image : temp/1747203749_1902251_1358101620_0e69e2c7ad99655870ec129aee29797a.jpg resize: (1080, 1632) 1358101620 -3.5115253712778194 treat image : temp/1747203749_1902251_1358101614_622a4ed55e7a520089e3890649556ae5.jpg resize: (1080, 1632) 1358101614 -5.876586719325618 treat image : temp/1747203749_1902251_1358101611_03316da5e5b627df49cb2761c32f9da1.jpg resize: (1080, 1632) 1358101611 -5.798395186336809 treat image : temp/1747203749_1902251_1358101609_14425e90518e34112fe12701f93b8642.jpg resize: (1080, 1632) 1358101609 -5.62752947202487 treat image : temp/1747203749_1902251_1358100933_a02b70751a3edf7267e0f6d26c2d79ba.jpg resize: (1080, 1632) 1358100933 -2.9306282604293123 treat image : temp/1747203749_1902251_1358100903_e29ea78446ea7b402ef3af3c2fbfa472.jpg resize: (1080, 1632) 1358100903 -2.7643829359523635 treat image : temp/1747203749_1902251_1358100881_68202457da2bae0e97cf2198859b3b76.jpg resize: (1080, 1632) 1358100881 -6.085731200648682 treat image : temp/1747203749_1902251_1358100878_d2a5fc665c6a812d39e7a03fe7cdddd6.jpg resize: (1080, 1632) 1358100878 -6.322743232311587 treat image : temp/1747203749_1902251_1358100634_ff731df7d25758526705e96d9a0e6d90.jpg resize: (1080, 1632) 1358100634 -4.029589872146025 treat image : temp/1747203749_1902251_1358100632_5bfa5f1c1cab873ffeeec55f98c0ae65.jpg resize: (1080, 1632) 1358100632 -4.848930657365227 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.013789653778076172 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.015882253646850586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.026872873306274414 save missing photos in datou_result : time spend for datou_step_exec : 16.31366491317749 time spend to save output : 0.06144595146179199 total time spend for step 1 : 16.375110864639282 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 4.06system 0:21.65elapsed 85%CPU (0avgtext+0avgdata 140128maxresident)k 72inputs+10088outputs (9major+259101minor)pagefaults 0swaps