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 : 1542484 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 : 495>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1542484/ 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.036477565765381 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 Thu May 22 06:57: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/1747889849_1542484_1360416413_f4c3043f332138e4913e4925ad10ef1b.jpg resize: (1080, 1632) 1360416413 -1.3083593030389786 treat image : temp/1747889849_1542484_1360416398_79ff013866679a521e9b6ea52ea764af.jpg resize: (1080, 1632) 1360416398 -2.9417132518941402 treat image : temp/1747889849_1542484_1360416388_42b156d37e505e47fb6e5357e29e711c.jpg resize: (1080, 1632) 1360416388 -4.356390970713406 treat image : temp/1747889849_1542484_1360416377_3878a806d576a3b9e29687a2b92c7759.jpg resize: (1080, 1632) 1360416377 -5.604064985880065 treat image : temp/1747889849_1542484_1360416252_d861e67df5f521eca99693909f9d1dc5.jpg resize: (1080, 1632) 1360416252 -2.617600496425089 treat image : temp/1747889849_1542484_1360416251_f455fc254cb7b8b0eae980d029fc4bbb.jpg resize: (1080, 1632) 1360416251 -5.670363241801227 treat image : temp/1747889849_1542484_1360416250_96578169717e3c363c886d9a8efb7aa7.jpg resize: (1080, 1632) 1360416250 -2.2726727988193742 treat image : temp/1747889849_1542484_1360416249_08756d161a18ae807359de615c5df2aa.jpg resize: (1080, 1632) 1360416249 -5.681613073384411 treat image : temp/1747889849_1542484_1360416248_ef559631e35a16231e14f7bce6ccb34f.jpg resize: (1080, 1632) 1360416248 -5.370363949533278 treat image : temp/1747889849_1542484_1360416246_6b42e3b3f6687eb2c85fb1649995fe52.jpg resize: (1080, 1632) 1360416246 -4.034706896761228 treat image : temp/1747889849_1542484_1360416234_4340501e72a8e71a136fd5d49fe66b80.jpg resize: (1080, 1632) 1360416234 -1.967428723571391 treat image : temp/1747889849_1542484_1360416233_14a249ae09a2b1a7f4fb34226426a7a7.jpg resize: (1080, 1632) 1360416233 -2.736718498727491 treat image : temp/1747889849_1542484_1360416217_f0ec55015fbebe538fe7c791afa171d7.jpg resize: (1080, 1632) 1360416217 -3.2030083065957093 treat image : temp/1747889849_1542484_1360416190_eb2ae74de522e5f01272316b9971f59d.jpg resize: (1080, 1632) 1360416190 -3.4886672637741625 treat image : temp/1747889849_1542484_1360416142_3ff8ebcbc85a67660ab648f4f9901e37.jpg resize: (1080, 1632) 1360416142 -4.084629661774061 treat image : temp/1747889849_1542484_1360416108_300b45f75d8509ed480261ee7a504dc2.jpg resize: (1080, 1632) 1360416108 -5.5562220865145 treat image : temp/1747889849_1542484_1360415797_78a63f927c51af054ecfa130a8c7fd6b.jpg resize: (1080, 1632) 1360415797 -5.8914924521200955 treat image : temp/1747889849_1542484_1360415772_fc83cc74bf491287d6ce3496cdc9ca34.jpg resize: (1080, 1632) 1360415772 -2.9569367789459498 treat image : temp/1747889849_1542484_1360415748_26d7b6d54ab8f822adf934321255379e.jpg resize: (1080, 1632) 1360415748 -5.392372779925619 treat image : temp/1747889849_1542484_1360415723_82bc9a4af6769e021608c5c1cd55bb23.jpg resize: (1080, 1632) 1360415723 -2.9410332248331366 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.0157167911529541 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.02112722396850586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018847942352294922 save missing photos in datou_result : time spend for datou_step_exec : 16.972755193710327 time spend to save output : 0.06072640419006348 total time spend for step 1 : 17.03348159790039 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 5.81system 0:22.25elapsed 88%CPU (0avgtext+0avgdata 142740maxresident)k 56inputs+9032outputs (2major+261796minor)pagefaults 0swaps