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 : 1362181 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1362181/ 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.6488325595855713 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 14:07:32 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/1744200449_1362181_1350665512_791b08db13476884ebb5fe27a5827671.jpg resize: (1080, 1632) 1350665512 -3.9172787994459726 treat image : temp/1744200449_1362181_1350665505_d6a19210161487baeda1a3d6987f6d50.jpg resize: (1080, 1632) 1350665505 -0.8843362184775185 treat image : temp/1744200449_1362181_1350665492_34a257a6811204cf812ec6f945f2c792.jpg resize: (1080, 1632) 1350665492 -2.494246300489294 treat image : temp/1744200449_1362181_1350665486_f82f2455415bb5db660f8e78c468849b.jpg resize: (1080, 1632) 1350665486 -4.528662270374667 treat image : temp/1744200449_1362181_1350665481_0927524fec39e4ccf3b2b6a5052d5d92.jpg resize: (1080, 1632) 1350665481 -5.645472682428882 treat image : temp/1744200449_1362181_1350665476_dbb5598e7db1b1de702f514e5a3fff95.jpg resize: (1080, 1632) 1350665476 -6.308993782873857 treat image : temp/1744200449_1362181_1350665473_732f35495578dedc14b2fae4ee51e7a9.jpg resize: (1080, 1632) 1350665473 -4.814014190067261 treat image : temp/1744200449_1362181_1350665468_322069f377d98511ff49e84e69115453.jpg resize: (1080, 1632) 1350665468 -5.316176285781712 treat image : temp/1744200449_1362181_1350665447_fa9063afe6d23ca42ccdf948e9107a88.jpg resize: (1080, 1632) 1350665447 -4.708675232806717 treat image : temp/1744200449_1362181_1350665442_e86504b07f082eb593619bd6126f4df9.jpg resize: (1080, 1632) 1350665442 -4.824238289275295 treat image : temp/1744200449_1362181_1350665438_944524ef04c84127de5b7f2c6c429fec.jpg resize: (1080, 1632) 1350665438 -1.2884051381820696 treat image : temp/1744200449_1362181_1350665433_44aab2a9c77b20b08035177b1785a84b.jpg resize: (1080, 1632) 1350665433 -2.365515429344916 treat image : temp/1744200449_1362181_1350665405_1ed0dbd1327e54608cb63cdcd01ac084.jpg resize: (1080, 1632) 1350665405 -4.404235526084458 treat image : temp/1744200449_1362181_1350665403_075e99b50c0332f4cedea14a1eb70ac4.jpg resize: (1080, 1632) 1350665403 -4.657303489797994 treat image : temp/1744200449_1362181_1350665368_2da1217a5efaa8031427b48efd268ba2.jpg resize: (1080, 1632) 1350665368 -4.400166115242366 treat image : temp/1744200449_1362181_1350665346_7c99f8a682377bfef693dea2f5cdbc03.jpg resize: (1080, 1632) 1350665346 -4.8510973192268745 treat image : temp/1744200449_1362181_1350665343_789fb598b8fd5def4ac68af5854faa5d.jpg resize: (1080, 1632) 1350665343 -4.412699826455077 treat image : temp/1744200449_1362181_1350665289_36832c82e7fac5f93396f52934584716.jpg resize: (1080, 1632) 1350665289 -4.789807795149904 treat image : temp/1744200449_1362181_1350665286_4e3163319961535c8dc06542ce4642e3.jpg resize: (1080, 1632) 1350665286 -4.815561166828246 treat image : temp/1744200449_1362181_1350665255_9cc7611d330b0742531235eacea4452f.jpg resize: (1080, 1632) 1350665255 -4.9331010954627885 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.012519598007202148 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.011960983276367188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016040563583374023 save missing photos in datou_result : time spend for datou_step_exec : 15.833957433700562 time spend to save output : 0.045824289321899414 total time spend for step 1 : 15.879781723022461 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 4.03system 0:22.65elapsed 82%CPU (0avgtext+0avgdata 138864maxresident)k 0inputs+8920outputs (2major+257372minor)pagefaults 0swaps