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 : 2745605 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 : 388>100 please execute split_portfolio.py -i 20128731 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2535930'] with mtr_portfolio_ids : ['20128731'] and first list_photo_ids : [] new path : /proc/2745605/ 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.1785647869110107 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 Sat Feb 1 02:47: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/1738374449_2745605_1333559836_e958c6132d25bfcd73746e4dc4d38dcb.jpg resize: (1080, 1632) 1333559836 -5.513286812824678 treat image : temp/1738374449_2745605_1333559788_b372b3aac2b2db4f65e694573307bd46.jpg resize: (1080, 1632) 1333559788 -6.0724356758598494 treat image : temp/1738374449_2745605_1333559722_81cb11f36346c8dda9531eaf92c61f1a.jpg resize: (1080, 1632) 1333559722 -6.153947790047295 treat image : temp/1738374449_2745605_1333559710_c0cdba648a511ab89813125475edb540.jpg resize: (1080, 1632) 1333559710 -6.362889321096694 treat image : temp/1738374449_2745605_1333559700_0c75265288ecdbae38895549a4447969.jpg resize: (1080, 1632) 1333559700 -4.146782570743899 treat image : temp/1738374449_2745605_1333559672_31238846b7f4a95ffb9d5e9cd300bb08.jpg resize: (1080, 1632) 1333559672 -5.735503721440032 treat image : temp/1738374449_2745605_1333559654_a6479fb5ea217fd8dc78d7d1b6d4ddda.jpg resize: (1080, 1632) 1333559654 -6.259760445855127 treat image : temp/1738374449_2745605_1333559623_97ced282438162e0465834358a9d6380.jpg resize: (1080, 1632) 1333559623 -6.458553530098689 treat image : temp/1738374449_2745605_1333559603_621ad94d5457d1512423bd7e7f4ce873.jpg resize: (1080, 1632) 1333559603 -6.658361714901265 treat image : temp/1738374449_2745605_1333559598_bbb39cb6c2a2207f3d5bef2339dcf93f.jpg resize: (1080, 1632) 1333559598 -6.577092927292169 treat image : temp/1738374449_2745605_1333559584_9725fbe80495fcd6cd04ed1e2d39ade8.jpg resize: (1080, 1632) 1333559584 -6.217936661070233 treat image : temp/1738374449_2745605_1333559437_b3e7a201a098b7d3f3343225cb317195.jpg resize: (1080, 1632) 1333559437 -2.443406975469637 treat image : temp/1738374449_2745605_1333559256_247c3244eda972b01ee81bfec5accc89.jpg resize: (1080, 1632) 1333559256 -6.1540016703841545 treat image : temp/1738374449_2745605_1333559248_e7537e81d9b7485934975ed2f1110615.jpg resize: (1080, 1632) 1333559248 -6.53780003375236 treat image : temp/1738374449_2745605_1333559238_6977105c29fd941e211ac9c18cea55ba.jpg resize: (1080, 1632) 1333559238 -6.518248793282644 treat image : temp/1738374449_2745605_1333559223_e8838d953fde4a091d2ba611a9c7e119.jpg resize: (1080, 1632) 1333559223 -4.828700487122725 treat image : temp/1738374449_2745605_1333559216_730e65f0c8ab92ab7c4c2d4c5aa8681b.jpg resize: (1080, 1632) 1333559216 -6.061511333090549 treat image : temp/1738374449_2745605_1333559205_dea6be28ca59a667fe3b42cb4cab8470.jpg resize: (1080, 1632) 1333559205 -5.864932852420264 treat image : temp/1738374449_2745605_1333559179_63b8642177c952d7d0f76372755873fa.jpg resize: (1080, 1632) 1333559179 -4.144619664700457 treat image : temp/1738374449_2745605_1333559165_b10cdfe14fd4ce58e1701355e2904165.jpg resize: (1080, 1632) 1333559165 -6.073632520148866 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.015429973602294922 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.016301393508911133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01866888999938965 save missing photos in datou_result : time spend for datou_step_exec : 15.646058320999146 time spend to save output : 0.05546140670776367 total time spend for step 1 : 15.70151972770691 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.46user 3.72system 0:21.57elapsed 84%CPU (0avgtext+0avgdata 141492maxresident)k 88inputs+12248outputs (12major+259111minor)pagefaults 0swaps