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 : 206423 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 : 3572>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/206423/ 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.169665813446045 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 Sat Mar 22 08: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/1742629346_206423_1346326151_71285f4c301210c9557027868f9a8e17.jpg resize: (1080, 1632) 1346326151 -6.19586475832226 treat image : temp/1742629346_206423_1346326146_b44220dddfb644eec69516a051263d0d.jpg resize: (1080, 1632) 1346326146 -4.984901949342457 treat image : temp/1742629346_206423_1346326131_0c1fa4639ea7c678904ffb7cf5ffb132.jpg resize: (1080, 1632) 1346326131 -6.138965835141554 treat image : temp/1742629346_206423_1346326127_e0f259fbfb933bd723169c15720bf89f.jpg resize: (1080, 1632) 1346326127 -5.4999580743485845 treat image : temp/1742629346_206423_1346326123_fa2864de4898188f30ed39b12912bb63.jpg resize: (1080, 1632) 1346326123 -6.2923231447052785 treat image : temp/1742629346_206423_1346326120_6c74276332c9f00aca36d8932c9aea92.jpg resize: (1080, 1632) 1346326120 -3.0886183171653347 treat image : temp/1742629346_206423_1346326116_a675fd3c9cafb855866c0c3d34870437.jpg resize: (1080, 1632) 1346326116 -2.4904244458981526 treat image : temp/1742629346_206423_1346326112_e5c0abb8c9cccb83900d45eb3ab74525.jpg resize: (1080, 1632) 1346326112 -2.7951817852284258 treat image : temp/1742629346_206423_1346325935_ea8f8fd86451697dfa1c2cf571502d97.jpg resize: (1080, 1632) 1346325935 -6.6127117015583705 treat image : temp/1742629346_206423_1346325933_9f5b2c94194e6d18d575d0b078bfc234.jpg resize: (1080, 1632) 1346325933 -6.326597289517682 treat image : temp/1742629346_206423_1346325930_ff639220639fdb9a641e3469d2961b60.jpg resize: (1080, 1632) 1346325930 -6.276682152930842 treat image : temp/1742629346_206423_1346325927_5da32e515386a411813ef6c7497c2f17.jpg resize: (1080, 1632) 1346325927 -6.792288268182863 treat image : temp/1742629346_206423_1346325873_a1267bc8e994338d88161095998602d9.jpg resize: (1080, 1632) 1346325873 -4.8594862363839875 treat image : temp/1742629346_206423_1346325794_d7892f8698dabc3f2e3b2a1a36acd9d2.jpg resize: (1080, 1632) 1346325794 -2.088930808180254 treat image : temp/1742629346_206423_1346325784_fd747f4f40de47c479a40740a1b07374.jpg resize: (1080, 1632) 1346325784 -3.8181745740711786 treat image : temp/1742629346_206423_1346325779_75fd3195fb8ded181b22fa4037211232.jpg resize: (1080, 1632) 1346325779 -6.326907007318454 treat image : temp/1742629346_206423_1346325776_2a2cf81360b7fa1cb2953e1a5e21c920.jpg resize: (1080, 1632) 1346325776 -5.5655652839901 treat image : temp/1742629346_206423_1346325773_75767dac1e17b02707b6347233fa3d93.jpg resize: (1080, 1632) 1346325773 -6.08210824702335 treat image : temp/1742629346_206423_1346325274_3c6f3d3754af929bb9d4086fc9517b08.jpg resize: (1080, 1632) 1346325274 -6.18251332501369 treat image : temp/1742629346_206423_1346325271_0284b3390139912f175e0ad3893f63dc.jpg resize: (1080, 1632) 1346325271 -5.806471178363048 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.014112472534179688 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.013736963272094727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020036697387695312 save missing photos in datou_result : time spend for datou_step_exec : 13.993262767791748 time spend to save output : 0.05239582061767578 total time spend for step 1 : 14.045658588409424 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.94user 2.92system 0:18.90elapsed 89%CPU (0avgtext+0avgdata 141428maxresident)k 144inputs+11104outputs (0major+174102minor)pagefaults 0swaps