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 : 1506869 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1506869/ 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.9729385375976562 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 17 21:42:33 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/1752781350_1506869_1372333301_8c166404b3710f063a06f88a5a778c9e.jpg resize: (1080, 1632) 1372333301 -3.7846066855824065 treat image : temp/1752781350_1506869_1372333299_c8a11188fababcbc1d5c18857586ea10.jpg resize: (1080, 1632) 1372333299 -3.7685060738740757 treat image : temp/1752781350_1506869_1372333295_a9518f4bd5086ec8d535b7cc9b30b598.jpg resize: (1080, 1632) 1372333295 -3.7608980563174943 treat image : temp/1752781350_1506869_1372333292_8552d4078c96b6f5a62e71bc6e65084b.jpg resize: (1080, 1632) 1372333292 -3.789625673468987 treat image : temp/1752781350_1506869_1372333288_9a2081fcb287c68a72034c18bfac4a13.jpg resize: (1080, 1632) 1372333288 -3.7885651720360367 treat image : temp/1752781350_1506869_1372333263_a64c600d0eeab54c7d756356ddcdf91f.jpg resize: (1080, 1632) 1372333263 -3.7826470181517036 treat image : temp/1752781350_1506869_1372333261_114eac3f02a3cdf2e17fb5c93ec6fe1a.jpg resize: (1080, 1632) 1372333261 -3.780895259056095 treat image : temp/1752781350_1506869_1372333260_ee43cc05d39bee6aedd6a3024652440d.jpg resize: (1080, 1632) 1372333260 -3.7654694545724365 treat image : temp/1752781350_1506869_1372333257_7d70e83092ee119273568226425db961.jpg resize: (1080, 1632) 1372333257 -3.7738148878118203 treat image : temp/1752781350_1506869_1372333255_f72cacad1eaab08ea8839b8e34be85c6.jpg resize: (1080, 1632) 1372333255 -3.7741747566347663 treat image : temp/1752781350_1506869_1372333251_5c5a8385aec4b5ef8d0b2a25377bc5dc.jpg resize: (1080, 1632) 1372333251 -3.7803759053341564 treat image : temp/1752781350_1506869_1372333233_e387a9077812ab2a5cfbf8e76216b5e5.jpg resize: (1080, 1632) 1372333233 -4.985892567217963 treat image : temp/1752781350_1506869_1372333231_ec853e45d066c1d8880a9a8b3f11df61.jpg resize: (1080, 1632) 1372333231 -4.785730683073255 treat image : temp/1752781350_1506869_1372333229_cc91f70a826db94c6feef8337194fb8d.jpg resize: (1080, 1632) 1372333229 -4.78028080345195 treat image : temp/1752781350_1506869_1372333227_6cb64660c0cb3ebe55c72b7697a4eed9.jpg resize: (1080, 1632) 1372333227 -4.741973153785183 treat image : temp/1752781350_1506869_1372333226_3ec9d64ea9f0e9571102abc394d66438.jpg resize: (1080, 1632) 1372333226 -4.754700974200445 treat image : temp/1752781350_1506869_1372333224_e897946a15ec597668a89ba0f779bf34.jpg resize: (1080, 1632) 1372333224 -4.748463035423538 treat image : temp/1752781350_1506869_1372333206_6bff26995e1b532bb5fa8a57a92f1287.jpg resize: (1080, 1632) 1372333206 -2.961260491319711 treat image : temp/1752781350_1506869_1372333203_833e1be63e415a9ad5b40624dbfab67f.jpg resize: (1080, 1632) 1372333203 -4.9754696527502675 treat image : temp/1752781350_1506869_1372333200_d8720c0d34179eaf8ff9734cd7dd7d1b.jpg resize: (1080, 1632) 1372333200 -4.9578199612043905 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.01470804214477539 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.01713705062866211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021694660186767578 save missing photos in datou_result : time spend for datou_step_exec : 17.937076330184937 time spend to save output : 0.058272361755371094 total time spend for step 1 : 17.995348691940308 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.72user 6.34system 0:25.54elapsed 82%CPU (0avgtext+0avgdata 138004maxresident)k 120inputs+8384outputs (10major+258220minor)pagefaults 0swaps