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 : 2124789 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/2124789/ 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.0078561305999756 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 Fri Jul 18 01:57: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/1752796646_2124789_1372329682_1369439a5613f6141eb79bbe83dd9b67.jpg resize: (1080, 1632) 1372329682 -3.0190807912507234 treat image : temp/1752796646_2124789_1372329679_be153eb8dedec1d92cc4c2778f0fba78.jpg resize: (1080, 1632) 1372329679 -2.9173269451004966 treat image : temp/1752796646_2124789_1372329674_55e6bc59bc05cc26f5b6d04f95787f99.jpg resize: (1080, 1632) 1372329674 -2.879430083554126 treat image : temp/1752796646_2124789_1372329672_59fadadb2f25a7a2fe8013a92f1dcfea.jpg resize: (1080, 1632) 1372329672 -2.851163286139941 treat image : temp/1752796646_2124789_1372329669_a5a552e08b2e00643f62347a10ccd564.jpg resize: (1080, 1632) 1372329669 -2.85521960409689 treat image : temp/1752796646_2124789_1372329667_08577621439edc44b532948c67dcc4f9.jpg resize: (1080, 1632) 1372329667 -2.8607657845312415 treat image : temp/1752796646_2124789_1372329651_71a3fdf4c0c8a729d0f987cd588623f8.jpg resize: (1080, 1632) 1372329651 -5.531831237953788 treat image : temp/1752796646_2124789_1372329649_d036ff54bf08b4bf2892f8d99ff438c5.jpg resize: (1080, 1632) 1372329649 -5.3715912354565125 treat image : temp/1752796646_2124789_1372329646_cdf974186731034c0ecfa3768202dcb2.jpg resize: (1080, 1632) 1372329646 10.948815977094979 treat image : temp/1752796646_2124789_1372329645_930e3afd66c74adee20809929def0636.jpg resize: (1080, 1632) 1372329645 -2.9803759435089234 treat image : temp/1752796646_2124789_1372329643_87c318f18589f4825425b13c6f3a1541.jpg resize: (1080, 1632) 1372329643 -2.977808506843985 treat image : temp/1752796646_2124789_1372329641_a47aab0b89e8c1bd1207e6163fa5ae3a.jpg resize: (1080, 1632) 1372329641 -2.9877968553240115 treat image : temp/1752796646_2124789_1372329624_bd339f89d65151f4bb1b8f4e31be07ca.jpg resize: (1080, 1632) 1372329624 -1.8464990229392844 treat image : temp/1752796646_2124789_1372329622_207ce4c98d22723be43e518ba8a8f6a1.jpg resize: (1080, 1632) 1372329622 -2.500606772886927 treat image : temp/1752796646_2124789_1372329620_882a1c4248f3ccf646657459e2a84301.jpg resize: (1080, 1632) 1372329620 -4.123228747126473 treat image : temp/1752796646_2124789_1372329617_d3ba112410e846f885d0b54c48607aa4.jpg resize: (1080, 1632) 1372329617 -4.762993525632683 treat image : temp/1752796646_2124789_1372329615_f3083852f42f5cc4024b8e13d018b688.jpg resize: (1080, 1632) 1372329615 -5.034912538339105 treat image : temp/1752796646_2124789_1372329613_2e9f1976e2add38c947591d8adf9ebad.jpg resize: (1080, 1632) 1372329613 -5.032849312249507 treat image : temp/1752796646_2124789_1372329590_1d720ef81f0892524f9ff88d1719c6c7.jpg resize: (1080, 1632) 1372329590 -1.9691000022194871 treat image : temp/1752796646_2124789_1372329588_f1054b0654e3bf6e427af24c7e2a8157.jpg resize: (1080, 1632) 1372329588 8.490369290541441 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.014196395874023438 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.015970945358276367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018084287643432617 save missing photos in datou_result : time spend for datou_step_exec : 16.573291540145874 time spend to save output : 0.05407857894897461 total time spend for step 1 : 16.62737011909485 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.48user 4.60system 0:21.68elapsed 88%CPU (0avgtext+0avgdata 138072maxresident)k 600inputs+7600outputs (22major+252454minor)pagefaults 0swaps