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 : 158030 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 : 1788>100 please execute split_portfolio.py -i 25934093 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3517460'] with mtr_portfolio_ids : ['25934093'] and first list_photo_ids : [] new path : /proc/158030/ 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.349583625793457 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 Wed Aug 13 16:42:29 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/1755096147_158030_1376756534_04ad18998957309cace48953b39d3a9f.jpg resize: (1080, 1632) 1376756534 -4.470203353529693 treat image : temp/1755096147_158030_1376756533_de04ea3c748e890d40a244c382bf4d61.jpg resize: (1080, 1632) 1376756533 -5.3774745433019095 treat image : temp/1755096147_158030_1376756531_6f2b12a196bee0a8b5047126eab02cd9.jpg resize: (1080, 1632) 1376756531 -4.180802524632547 treat image : temp/1755096147_158030_1376756516_cbca05e0338d64c1a3c8b690df6af238.jpg resize: (1080, 1632) 1376756516 -5.152850339295717 treat image : temp/1755096147_158030_1376756514_86f4d953df3c313b977304b4cbdda25c.jpg resize: (1080, 1632) 1376756514 -3.458887164348902 treat image : temp/1755096147_158030_1376756512_5d692531bc9b351b7191ef047fc1d727.jpg resize: (1080, 1632) 1376756512 -5.497468156505397 treat image : temp/1755096147_158030_1376756510_94e939ebc43c3d32abd992558f9cf526.jpg resize: (1080, 1632) 1376756510 -5.325420149439518 treat image : temp/1755096147_158030_1376756508_acb938b6b5f3646d47c62e84eee89efc.jpg resize: (1080, 1632) 1376756508 -5.5951524884758115 treat image : temp/1755096147_158030_1376756501_50f6b04d77c010879ba80833efbbf195.jpg resize: (1080, 1632) 1376756501 -1.2426682217980158 treat image : temp/1755096147_158030_1376756499_b4f35318d30d7fff20917a1efa8e689f.jpg resize: (1080, 1632) 1376756499 -1.771762217236217 treat image : temp/1755096147_158030_1376756495_a3e81172a6883e3b5c3dabe830be5c19.jpg resize: (1080, 1632) 1376756495 -2.815258929732593 treat image : temp/1755096147_158030_1376756485_cae37b1c52e0209d10e6ed729e7c61c0.jpg resize: (1080, 1632) 1376756485 -5.671571270911513 treat image : temp/1755096147_158030_1376756479_80fd62f838c9a518a5e621e4b3982d05.jpg resize: (1080, 1632) 1376756479 -5.134477362076659 treat image : temp/1755096147_158030_1376756476_158834612c156732dbd8cf6a4af1218a.jpg resize: (1080, 1632) 1376756476 -5.698291922221677 treat image : temp/1755096147_158030_1376756474_065a12e38c01d24b52e915945540122f.jpg resize: (1080, 1632) 1376756474 -3.859338816271613 treat image : temp/1755096147_158030_1376756466_57a66bfc983d7d40e34045379e8d76a4.jpg resize: (1080, 1632) 1376756466 -5.219983517823947 treat image : temp/1755096147_158030_1376756464_8f616db872a0171f175d1980d3043423.jpg resize: (1080, 1632) 1376756464 -5.2800107784863455 treat image : temp/1755096147_158030_1376756463_8b96c7521c489d054f75374e73ed8157.jpg resize: (1080, 1632) 1376756463 -5.659307973118029 treat image : temp/1755096147_158030_1376756448_bc50bacc2438e98891fa0fa3b4fffc14.jpg resize: (1080, 1632) 1376756448 -5.11991902043268 treat image : temp/1755096147_158030_1376756425_7d2c625db3c8c3e91396ffebca299b3d.jpg resize: (1080, 1632) 1376756425 -5.085133683451257 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.012854576110839844 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.012018442153930664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015263557434082031 save missing photos in datou_result : time spend for datou_step_exec : 12.904508352279663 time spend to save output : 0.04452633857727051 total time spend for step 1 : 12.949034690856934 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.84user 1.56system 0:18.32elapsed 84%CPU (0avgtext+0avgdata 140684maxresident)k 544inputs+9176outputs (7major+118419minor)pagefaults 0swaps