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 : 3583001 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/3583001/ 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.2548961639404297 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 Tue Mar 25 21:17: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/1742933847_3583001_1333506928_10bbc672fad2cf6165e4418c10d3748b.jpg resize: (1080, 1632) 1333506928 3.2440385779980634 treat image : temp/1742933847_3583001_1333506636_07dea2318ac69db53b5762b6ed70efc2.jpg resize: (1080, 1632) 1333506636 1.665219350508539 treat image : temp/1742933847_3583001_1333506621_db9e07f835393920b4ea498aee1b8748.jpg resize: (1080, 1632) 1333506621 3.1988720363222365 treat image : temp/1742933847_3583001_1333506611_6b62fdac52f851caf9fe0dd1349ad1d3.jpg resize: (1080, 1632) 1333506611 4.217502097617946 treat image : temp/1742933847_3583001_1333506603_8f92082a2e9533b7a5aadbb24c3b10c7.jpg resize: (1080, 1632) 1333506603 4.0644786208479005 treat image : temp/1742933847_3583001_1333506595_631d6597cbfaf2be5f502b94f193ac96.jpg resize: (1080, 1632) 1333506595 4.097014556873893 treat image : temp/1742933847_3583001_1333506591_20b7dbd66c3e96fa4d35fc90444f992f.jpg resize: (1080, 1632) 1333506591 2.514541058050422 treat image : temp/1742933847_3583001_1333506546_f32c330a53e52856eba5fa228fba8d0c.jpg resize: (1080, 1632) 1333506546 2.4004312740874005 treat image : temp/1742933847_3583001_1333506535_d52b7dfcf4e6d14860c5fac8490493bd.jpg resize: (1080, 1632) 1333506535 4.681372146684381 treat image : temp/1742933847_3583001_1333506523_2a9f94c8085136fef7aca83e6785868b.jpg resize: (1080, 1632) 1333506523 0.5295917519212517 treat image : temp/1742933847_3583001_1333506517_89a62bee7f2ff4d0b9b5bcd04bbe45fb.jpg resize: (1080, 1632) 1333506517 0.5024919994117373 treat image : temp/1742933847_3583001_1333506513_e0fc7019702de6cb59f649ef546f7c5a.jpg resize: (1080, 1632) 1333506513 2.183059356896125 treat image : temp/1742933847_3583001_1333506511_27a29001b6f885ea12e17e5a9caa9ca4.jpg resize: (1080, 1632) 1333506511 1.807658165726598 treat image : temp/1742933847_3583001_1333506487_8a65474f88bea25a8cef787d95a53d1b.jpg resize: (1080, 1632) 1333506487 2.3869054720626774 treat image : temp/1742933847_3583001_1333506483_a21d017a7d32dcd07979527371741823.jpg resize: (1080, 1632) 1333506483 2.9176307141318087 treat image : temp/1742933847_3583001_1333506479_05657bd3137da85df04b5c8259c309a1.jpg resize: (1080, 1632) 1333506479 4.365006626765961 treat image : temp/1742933847_3583001_1333506476_ec8874a54c32f2e87784d9800de06029.jpg resize: (1080, 1632) 1333506476 4.952312320137552 treat image : temp/1742933847_3583001_1333506469_2e30882eae77aaf0cb34e9371129dec1.jpg resize: (1080, 1632) 1333506469 5.607346699278575 treat image : temp/1742933847_3583001_1333506438_8a7127e77d0d38288fa634b398881cfa.jpg resize: (1080, 1632) 1333506438 3.9477674358268593 treat image : temp/1742933847_3583001_1333506156_0aee82d409f794b07beca5294cc94ae8.jpg resize: (1080, 1632) 1333506156 4.258988611269068 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.012754440307617188 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.7705416679382324 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025194644927978516 save missing photos in datou_result : time spend for datou_step_exec : 17.154842376708984 time spend to save output : 0.8131473064422607 total time spend for step 1 : 17.967989683151245 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 5.60system 0:23.83elapsed 83%CPU (0avgtext+0avgdata 137792maxresident)k 176inputs+2776outputs (13major+265428minor)pagefaults 0swaps