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 : 799255 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 : 7692>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/799255/ 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.6580142974853516 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 Jul 10 05:42: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/1752118948_799255_1371478375_d904f366cf936a19c65ddb38cf232277.jpg resize: (1080, 1632) 1371478375 -5.157915683567626 treat image : temp/1752118948_799255_1371478374_0e0d82ebb4565ae790f57737b93cc63e.jpg resize: (1080, 1632) 1371478374 -5.140492758074881 treat image : temp/1752118948_799255_1371478371_578da41b8e16d3f2b9993ba393b6b73c.jpg resize: (1080, 1632) 1371478371 -4.6742371533126486 treat image : temp/1752118948_799255_1371478369_9db52f258b0f8f73b72e008dc9a61c1c.jpg resize: (1080, 1632) 1371478369 -1.9157393787171086 treat image : temp/1752118948_799255_1371478368_72cc612069c0c23a109674b3660df130.jpg resize: (1080, 1632) 1371478368 -3.0449492622901557 treat image : temp/1752118948_799255_1371478367_3f756af8e801442b7bfe0e2183f6f548.jpg resize: (1080, 1632) 1371478367 -3.095167228875962 treat image : temp/1752118948_799255_1371478347_18010bfc66b624a23373a62e5c22dc1d.jpg resize: (1080, 1632) 1371478347 -2.7612701189857853 treat image : temp/1752118948_799255_1371478346_5fe23a11b90256977cc2c221c68e9f73.jpg resize: (1080, 1632) 1371478346 -2.3018353000626326 treat image : temp/1752118948_799255_1371478345_d753cad45b3aec662fd7180be38c223a.jpg resize: (1080, 1632) 1371478345 -1.3191610559193518 treat image : temp/1752118948_799255_1371478341_3d4557a802ff980e1b702083401ca2ca.jpg resize: (1080, 1632) 1371478341 -3.6973924225536807 treat image : temp/1752118948_799255_1371478324_8fcfc9a272da65e38b2d6ea7924fd1ec.jpg resize: (1080, 1632) 1371478324 -5.605966660968685 treat image : temp/1752118948_799255_1371478322_61da2994d28f82c060139eb0aa98090f.jpg resize: (1080, 1632) 1371478322 -5.603410697859155 treat image : temp/1752118948_799255_1371478296_38e0c13aa6f2c9beace7d90784ee63e4.jpg resize: (1080, 1632) 1371478296 -5.36558632983934 treat image : temp/1752118948_799255_1371478295_3c3dcd094cddc000d7b43fef8cf1eff6.jpg resize: (1080, 1632) 1371478295 -4.079179145056867 treat image : temp/1752118948_799255_1371478293_71de9ec1d123932b4228c9bf973651e7.jpg resize: (1080, 1632) 1371478293 -5.421140547220493 treat image : temp/1752118948_799255_1371478292_3f60680f43db99f7c0a6985ab1c6d171.jpg resize: (1080, 1632) 1371478292 -4.451659057939955 treat image : temp/1752118948_799255_1371478291_daa6e972293ad79b655630e7eb4565c4.jpg resize: (1080, 1632) 1371478291 -5.873686063281857 treat image : temp/1752118948_799255_1371478290_947837967c258ac0f36b7e0c64c58006.jpg resize: (1080, 1632) 1371478290 -5.653791839364963 treat image : temp/1752118948_799255_1371478273_4dbd79232823d3960fcea5e764547d00.jpg resize: (1080, 1632) 1371478273 -5.681079474672507 treat image : temp/1752118948_799255_1371478272_e82631234af8ab5b45338ca2701647f5.jpg resize: (1080, 1632) 1371478272 -3.757401650562299 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.015703439712524414 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.15189719200134277 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.045748233795166016 save missing photos in datou_result : time spend for datou_step_exec : 15.818439483642578 time spend to save output : 0.21924519538879395 total time spend for step 1 : 16.037684679031372 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.16user 3.40system 0:22.60elapsed 77%CPU (0avgtext+0avgdata 140940maxresident)k 24inputs+9304outputs (10major+258298minor)pagefaults 0swaps