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 : 1038720 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/1038720/ 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.327965497970581 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 Sun Apr 6 20:37: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/1743964647_1038720_1350142086_a57c5c2ef6fbe4bf8a57d579e6482c13.jpg resize: (1080, 1632) 1350142086 -5.607900718906048 treat image : temp/1743964647_1038720_1350142081_1db783c3918fe907e4a74be9220c1731.jpg resize: (1080, 1632) 1350142081 -5.433731193900453 treat image : temp/1743964647_1038720_1350142080_8ece6814c38107ea91a8424ab8efc5fd.jpg resize: (1080, 1632) 1350142080 -5.433731193900453 treat image : temp/1743964647_1038720_1350142079_cd786c3e6cdea841e3ebf0b51425886d.jpg resize: (1080, 1632) 1350142079 -4.036432934184852 treat image : temp/1743964647_1038720_1350142078_f8bc32c3431d190f62875339acaad0d3.jpg resize: (1080, 1632) 1350142078 -4.036432934184852 treat image : temp/1743964647_1038720_1350142074_6b0d0dfa4c25643c0e2d8d9ba4a2ee59.jpg resize: (1080, 1632) 1350142074 -5.575388608848273 treat image : temp/1743964647_1038720_1350142073_5e60554d4814b6d1ed1817b051f93031.jpg resize: (1080, 1632) 1350142073 -5.575388608848273 treat image : temp/1743964647_1038720_1350142053_e8e1a6ea5fdeb911d2c4b889d56fd5a7.jpg resize: (1080, 1632) 1350142053 -5.968337433023871 treat image : temp/1743964647_1038720_1350142042_43994819f88a63a0787a52a7192f2cc5.jpg resize: (1080, 1632) 1350142042 -6.328747144542035 treat image : temp/1743964647_1038720_1350142032_93417c318a3b23f3c5050643ac784c08.jpg resize: (1080, 1632) 1350142032 -6.10291316445007 treat image : temp/1743964647_1038720_1350142025_4e717e632d9db179f54de39840541bb2.jpg resize: (1080, 1632) 1350142025 -4.261462482619675 treat image : temp/1743964647_1038720_1350142018_726d9e984379b940addeed34573d25cb.jpg resize: (1080, 1632) 1350142018 -5.537354044123373 treat image : temp/1743964647_1038720_1350141970_3ff634ea135327e2ce03d0622c1033a7.jpg resize: (1080, 1632) 1350141970 -1.6513682549426028 treat image : temp/1743964647_1038720_1350141966_1a7351c694d347892ad472b399be9f5b.jpg resize: (1080, 1632) 1350141966 -3.6816523895049595 treat image : temp/1743964647_1038720_1350141962_1f8b1ad76a18b1f7f6c4ab80063e75c4.jpg resize: (1080, 1632) 1350141962 -4.626267915445434 treat image : temp/1743964647_1038720_1350141959_df64748ed42c5928b212c4642e3beed5.jpg resize: (1080, 1632) 1350141959 -5.1633534054272054 treat image : temp/1743964647_1038720_1350141921_3d3c819520543c928f6536f6372c062d.jpg resize: (1080, 1632) 1350141921 -6.010992308080091 treat image : temp/1743964647_1038720_1350141917_2ac29ab9cda301d230021537c8d4783d.jpg resize: (1080, 1632) 1350141917 -3.281495604781876 treat image : temp/1743964647_1038720_1350141913_c896ec8bc6b68f9546136983427b1f43.jpg resize: (1080, 1632) 1350141913 -6.5951855179642145 treat image : temp/1743964647_1038720_1350141909_94346f8dae686a4d62c8382356fdf41e.jpg resize: (1080, 1632) 1350141909 -3.5441675101012575 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.013515472412109375 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.1028141975402832 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 1.0344958305358887 save missing photos in datou_result : time spend for datou_step_exec : 17.149981260299683 time spend to save output : 1.1561400890350342 total time spend for step 1 : 18.306121349334717 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.45user 5.04system 0:23.50elapsed 82%CPU (0avgtext+0avgdata 142776maxresident)k 536inputs+10248outputs (10major+268836minor)pagefaults 0swaps