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 : 2059500 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 : 1782>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2059500/ 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.242039918899536 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 May 20 11:47: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/1747734448_2059500_1359797417_2e7be090c42029db26d1fba0e057c2f6.jpg resize: (1080, 1632) 1359797417 -4.937801910736476 treat image : temp/1747734448_2059500_1359797415_d0a58415a3784c969a955117ad2e1f2e.jpg resize: (1080, 1632) 1359797415 -4.2610673994917425 treat image : temp/1747734448_2059500_1359797410_f92b9915fbe9c401bd18667444f4052f.jpg resize: (1080, 1632) 1359797410 -2.483958890767059 treat image : temp/1747734448_2059500_1359797406_2bb153df35fe7cb5cd52a31922d70751.jpg resize: (1080, 1632) 1359797406 -1.4712334623226715 treat image : temp/1747734448_2059500_1359797402_08ea9cea23ac898182237266220f1e18.jpg resize: (1080, 1632) 1359797402 -2.4357449898295718 treat image : temp/1747734448_2059500_1359797385_1ca992117a6565fec2c2eb330f4aadfd.jpg resize: (1080, 1632) 1359797385 -4.382696591682991 treat image : temp/1747734448_2059500_1359797381_fd5edde4fd54b1f538947ffd26414863.jpg resize: (1080, 1632) 1359797381 -5.071501392878337 treat image : temp/1747734448_2059500_1359797377_bccf796100da771940c1751c1ba5d8c4.jpg resize: (1080, 1632) 1359797377 -4.3093266349104224 treat image : temp/1747734448_2059500_1359797372_a344329abc4bbf6443fe3ea80ee9b70e.jpg resize: (1080, 1632) 1359797372 -4.592492669721767 treat image : temp/1747734448_2059500_1359797367_63afd08f54ab443d7e07f3b9df147d36.jpg resize: (1080, 1632) 1359797367 -4.938581864932235 treat image : temp/1747734448_2059500_1359797365_4d3e5a5ed752dc96e0dd343f228dd274.jpg resize: (1080, 1632) 1359797365 -5.0612997022607935 treat image : temp/1747734448_2059500_1359797339_e11d42d582ac094dbefdfe99acb0a0f5.jpg resize: (1080, 1632) 1359797339 -4.501049965955487 treat image : temp/1747734448_2059500_1359797333_5d89cb317737f783b33f0ebe8bc10217.jpg resize: (1080, 1632) 1359797333 -4.097550812174444 treat image : temp/1747734448_2059500_1359797326_15e23f7e7e7a51b06472693005109ef1.jpg resize: (1080, 1632) 1359797326 -1.5671995696119676 treat image : temp/1747734448_2059500_1359797306_c4e8eabc5882fb566188c4dea5eb8288.jpg resize: (1080, 1632) 1359797306 -3.3576853063236047 treat image : temp/1747734448_2059500_1359797292_31b236b9d27f14e939f04d06cdea72c7.jpg resize: (1080, 1632) 1359797292 -4.65374736526497 treat image : temp/1747734448_2059500_1359797249_5e132026ce95448de48c2221aec8beda.jpg resize: (1080, 1632) 1359797249 -4.708018561472867 treat image : temp/1747734448_2059500_1359797243_220e5f0a2f98442cf44b935500a92004.jpg resize: (1080, 1632) 1359797243 -4.7370833277342035 treat image : temp/1747734448_2059500_1359797238_4ebe58bd5c562d763ace6e8da32257b2.jpg resize: (1080, 1632) 1359797238 -4.720262597388013 treat image : temp/1747734448_2059500_1359797235_cd53ddf8d5126d5033ba7c5798288557.jpg resize: (1080, 1632) 1359797235 -4.8850840492446 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.013203620910644531 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.011953592300415039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014944791793823242 save missing photos in datou_result : time spend for datou_step_exec : 18.70909285545349 time spend to save output : 0.045294761657714844 total time spend for step 1 : 18.754387617111206 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.72user 6.29system 0:23.81elapsed 88%CPU (0avgtext+0avgdata 139224maxresident)k 5672inputs+8624outputs (87major+258738minor)pagefaults 0swaps