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 : 1100490 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 : 2069>100 please execute split_portfolio.py -i 22151579 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2733389'] with mtr_portfolio_ids : ['22151579'] and first list_photo_ids : [] new path : /proc/1100490/ 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.51336669921875 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 Apr 9 12: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/1744196248_1100490_1350671646_eb887b43074c006be7cec77cfeb17648.jpg resize: (1080, 1632) 1350671646 -6.231062668302376 treat image : temp/1744196248_1100490_1350671640_8ba72921ba4d2eca39687e3a8a7c2b7e.jpg resize: (1080, 1632) 1350671640 -2.1417798875529233 treat image : temp/1744196248_1100490_1350671483_ca08bf99a0dac35befa8ce775db10b2d.jpg resize: (1080, 1632) 1350671483 -6.299895255706366 treat image : temp/1744196248_1100490_1350671461_1540c84bce9c1be5ab03040f7d49224f.jpg resize: (1080, 1632) 1350671461 -1.3639909996866781 treat image : temp/1744196248_1100490_1350671458_a63d059c5d340cd947d13459cfd992db.jpg resize: (1080, 1632) 1350671458 -5.569639376521799 treat image : temp/1744196248_1100490_1350671453_86674a62a71ce2c0b1b61e164a153c91.jpg resize: (1080, 1632) 1350671453 -3.0897928294143036 treat image : temp/1744196248_1100490_1350671449_699d71d98d3eba9a3368a3ecd35ff672.jpg resize: (1080, 1632) 1350671449 -6.435006687913956 treat image : temp/1744196248_1100490_1350671445_19ef25e0efe18538996a58817a7186c8.jpg resize: (1080, 1632) 1350671445 -6.30920495500441 treat image : temp/1744196248_1100490_1350671407_fb86af01a23662f9495a9ec9330f665e.jpg resize: (1080, 1632) 1350671407 -1.4845244501894503 treat image : temp/1744196248_1100490_1350671401_54a08c9f959b60c8c4cc83a76fbf6a56.jpg resize: (1080, 1632) 1350671401 -1.8753887844042811 treat image : temp/1744196248_1100490_1350671135_2a28c6bd2af1b997ada9b679ba1717e6.jpg resize: (1080, 1632) 1350671135 -6.650552340828601 treat image : temp/1744196248_1100490_1350671132_d231f0300493e7be0d1fe9bb9c6bdf5c.jpg resize: (1080, 1632) 1350671132 -5.503278095617612 treat image : temp/1744196248_1100490_1350671129_45f464c05b638f927b3c03e7f9726393.jpg resize: (1080, 1632) 1350671129 -4.907365943427393 treat image : temp/1744196248_1100490_1350671126_87f3f2c1b56af22b6307e7daffe96f60.jpg resize: (1080, 1632) 1350671126 -5.247334605909446 treat image : temp/1744196248_1100490_1350671123_d1d989c423f3e764dc36639e59e79f5d.jpg resize: (1080, 1632) 1350671123 -6.707588111971744 treat image : temp/1744196248_1100490_1350671121_b712b50fe908b831ac814d8031dd25ec.jpg resize: (1080, 1632) 1350671121 -6.498463618653421 treat image : temp/1744196248_1100490_1350671102_34fb390bca8f93b2873fdbc1a7be0c67.jpg resize: (1080, 1632) 1350671102 -1.2167324475088288 treat image : temp/1744196248_1100490_1350671096_badd5128d3bf68bd1737fdb99d0431e9.jpg resize: (1080, 1632) 1350671096 -3.019416228122936 treat image : temp/1744196248_1100490_1350671092_3e5649a2386258333af0a8f7e9883257.jpg resize: (1080, 1632) 1350671092 -6.692180548983346 treat image : temp/1744196248_1100490_1350671089_ba9fec5c6891a9470800d04b309fc39f.jpg resize: (1080, 1632) 1350671089 -6.970452015949619 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.011768341064453125 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.012038707733154297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01680302619934082 save missing photos in datou_result : time spend for datou_step_exec : 16.393484830856323 time spend to save output : 0.053461551666259766 total time spend for step 1 : 16.446946382522583 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.86user 4.12system 0:22.46elapsed 84%CPU (0avgtext+0avgdata 139532maxresident)k 40inputs+10688outputs (11major+261000minor)pagefaults 0swaps