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 : 3059917 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 : 1967>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3059917/ 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.290792942047119 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 21 14:57: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/1747832248_3059917_1360042476_33f23cd24631e04901512b4690f9471d.jpg resize: (1080, 1632) 1360042476 -1.365772949592179 treat image : temp/1747832248_3059917_1360042473_fed1d86d7881f6b541a4bdb8f3305613.jpg resize: (1080, 1632) 1360042473 -4.254909822053525 treat image : temp/1747832248_3059917_1360042314_a906f3ad1a7ad4d9334504fc0f7c346c.jpg resize: (1080, 1632) 1360042314 -5.1078436335852 treat image : temp/1747832248_3059917_1360042287_bb83ec0736a43fd9211ca0bef75a135a.jpg resize: (1080, 1632) 1360042287 -5.847617499595547 treat image : temp/1747832248_3059917_1360042273_5978cefd7b0281d62c95c731f994340e.jpg resize: (1080, 1632) 1360042273 -5.818975063280777 treat image : temp/1747832248_3059917_1360042269_739ebc6294255786a8f716576391b97d.jpg resize: (1080, 1632) 1360042269 -4.729962576397383 treat image : temp/1747832248_3059917_1360042266_57096217223eca803b3b7ff9c9433153.jpg resize: (1080, 1632) 1360042266 -0.6425386071106034 treat image : temp/1747832248_3059917_1360042073_d5622f79509912a7484621c8fa6ce77d.jpg resize: (1080, 1632) 1360042073 -4.759493583120545 treat image : temp/1747832248_3059917_1360042041_df0e433d1b598c5c584e74499ac3fcfa.jpg resize: (1080, 1632) 1360042041 -6.2625938082136186 treat image : temp/1747832248_3059917_1360042015_15a24f8ff6178e1acf232e10de857d26.jpg resize: (1080, 1632) 1360042015 -5.676482902979474 treat image : temp/1747832248_3059917_1360041987_761545390a3ac7eef22635052c2a6565.jpg resize: (1080, 1632) 1360041987 -5.368614150414345 treat image : temp/1747832248_3059917_1360041960_0f42983d56476c1f306eee5a9dfc9f94.jpg resize: (1080, 1632) 1360041960 -4.313055688831971 treat image : temp/1747832248_3059917_1360041933_fcde4ab94cb89802f0a0b667df3621e3.jpg resize: (1080, 1632) 1360041933 -4.94643431610974 treat image : temp/1747832248_3059917_1360041726_2b43795b8a9af4e492fce0b882690168.jpg resize: (1080, 1632) 1360041726 -3.0473806014799587 treat image : temp/1747832248_3059917_1360041723_48598967651655a509b078cc77a17128.jpg resize: (1080, 1632) 1360041723 -1.4758511861910155 treat image : temp/1747832248_3059917_1360041721_3cca4c722a2e84e32b2838afa02ad708.jpg resize: (1080, 1632) 1360041721 -3.801013014882373 treat image : temp/1747832248_3059917_1360041697_f39c7248ff2a3673b2852887f86a2ab0.jpg resize: (1080, 1632) 1360041697 -6.346666966604456 treat image : temp/1747832248_3059917_1360041694_8620137a3f2eb4ff018eeaa20751a699.jpg resize: (1080, 1632) 1360041694 -6.383736572781705 treat image : temp/1747832248_3059917_1360041687_aa9a0099ffb940205404daa9a35715f1.jpg resize: (1080, 1632) 1360041687 -4.134543694321633 treat image : temp/1747832248_3059917_1360041681_7cc65acef5f17b873a3f1f665b2ce94f.jpg resize: (1080, 1632) 1360041681 -4.744605697271356 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.01285696029663086 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.012985706329345703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015062808990478516 save missing photos in datou_result : time spend for datou_step_exec : 17.433063983917236 time spend to save output : 0.04563260078430176 total time spend for step 1 : 17.478696584701538 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 5.08system 0:23.69elapsed 83%CPU (0avgtext+0avgdata 138604maxresident)k 160inputs+9720outputs (8major+248032minor)pagefaults 0swaps