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 : 3160285 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 : 7523>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3160285/ 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.6775126457214355 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 31 17:52: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/1753977149_3160285_1374624522_4fb69fcac19205be6050c8512bbfe1d9.jpg resize: (1080, 1632) 1374624522 -4.622553028135575 treat image : temp/1753977149_3160285_1374624519_d0d213f0703c15b84782e128b545aa02.jpg resize: (1080, 1632) 1374624519 -5.664695557152093 treat image : temp/1753977149_3160285_1374624502_ba85b07b6b3bf5d661279dc00630bb91.jpg resize: (1080, 1632) 1374624502 -4.46633432320357 treat image : temp/1753977149_3160285_1374624500_51ebe66bf2935ab3cd1ecb2117f978d8.jpg resize: (1080, 1632) 1374624500 -3.0011155904434226 treat image : temp/1753977149_3160285_1374624479_f2eb6e59ed149a404d1acb9581260a29.jpg resize: (1080, 1632) 1374624479 -5.129766177237884 treat image : temp/1753977149_3160285_1374624453_259ef7f9a3ae48cc3459812b28511297.jpg resize: (1080, 1632) 1374624453 -2.0321245802648624 treat image : temp/1753977149_3160285_1374624396_aa3fea8c88239ec60d89d368aad6d319.jpg resize: (1080, 1632) 1374624396 -3.5159026663230817 treat image : temp/1753977149_3160285_1374624394_29be283e146615a43c2e87708178f2db.jpg resize: (1080, 1632) 1374624394 -4.66808212186273 treat image : temp/1753977149_3160285_1374624391_b9a84bc2363f75d1faa02a9062322fc3.jpg resize: (1080, 1632) 1374624391 -4.596501156515908 treat image : temp/1753977149_3160285_1374624389_b14807bcd33bf7734b9b2bdeb959dd33.jpg resize: (1080, 1632) 1374624389 -5.29366595121066 treat image : temp/1753977149_3160285_1374624386_a9a137842836816aea1058fe783cf093.jpg resize: (1080, 1632) 1374624386 -5.270981665726698 treat image : temp/1753977149_3160285_1374624383_c8e4a70182f266a4740ab02408547aa5.jpg resize: (1080, 1632) 1374624383 -4.812745973985378 treat image : temp/1753977149_3160285_1374624139_ca32cee562ff709781e0c22abd24063c.jpg resize: (1080, 1632) 1374624139 -5.0524816954021325 treat image : temp/1753977149_3160285_1374624135_952cdb40e71f41784ac83d2d295503ce.jpg resize: (1080, 1632) 1374624135 -3.86630803908524 treat image : temp/1753977149_3160285_1374624132_c9826e2de976b7c44dd3866cfe97dd55.jpg resize: (1080, 1632) 1374624132 0.6328241659896159 treat image : temp/1753977149_3160285_1374624129_00dafdc18f6b4ac4024752048a1ddd44.jpg resize: (1080, 1632) 1374624129 -2.2419458540227537 treat image : temp/1753977149_3160285_1374624122_b8c837592366e029a9ff568fbcf1960f.jpg resize: (1080, 1632) 1374624122 -4.079980575815349 treat image : temp/1753977149_3160285_1374624121_5b78ba0396f6a59b9bb180329fc8f67e.jpg resize: (1080, 1632) 1374624121 -5.774906973559005 treat image : temp/1753977149_3160285_1374624118_0d40528ba576d5ba23c6e012d6e89032.jpg resize: (1080, 1632) 1374624118 -4.883044616946991 treat image : temp/1753977149_3160285_1374624116_217b57d43927d37406dbd34bb94d711d.jpg resize: (1080, 1632) 1374624116 -4.599981684130135 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.012631654739379883 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.01201176643371582 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013931035995483398 save missing photos in datou_result : time spend for datou_step_exec : 14.20528507232666 time spend to save output : 0.04353904724121094 total time spend for step 1 : 14.248824119567871 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 2.70system 0:20.47elapsed 81%CPU (0avgtext+0avgdata 139076maxresident)k 160inputs+8984outputs (8major+213812minor)pagefaults 0swaps