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 : 3315195 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3315195/ 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 : 4.001830816268921 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 Sep 16 17:57:31 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/1758038247_3315195_1383548153_c12a3da503b3572ca9fd9b055eed858b.jpg resize: (1080, 1632) 1383548153 -5.168037919634499 treat image : temp/1758038247_3315195_1383548151_b3fe647ffed8084f4f6e277e32b245f9.jpg resize: (1080, 1632) 1383548151 -3.2578470800822616 treat image : temp/1758038247_3315195_1383548150_aa4aeee1c0a5d634f1fa6205e25288ab.jpg resize: (1080, 1632) 1383548150 -5.823543124383758 treat image : temp/1758038247_3315195_1383548147_2aa9493428f2d63c63ea6ad75e3823fe.jpg resize: (1080, 1632) 1383548147 -5.801264556683271 treat image : temp/1758038247_3315195_1383547995_9105da8183eada14df7edd3c2230dced.jpg resize: (1080, 1632) 1383547995 -6.053582083302553 treat image : temp/1758038247_3315195_1383547977_57c472cc5ac0dd2499dd44dffdf36510.jpg resize: (1080, 1632) 1383547977 -5.6027828265624935 treat image : temp/1758038247_3315195_1383547955_dc1b2676b1aec6aa0a9cb94b40001cfc.jpg resize: (1080, 1632) 1383547955 -4.079809719334985 treat image : temp/1758038247_3315195_1383547954_312c6b76bea502bc774aa64c89f6c4ea.jpg resize: (1080, 1632) 1383547954 -3.62128823804067 treat image : temp/1758038247_3315195_1383547952_c57a20ef0bbe7131393841080787b3b1.jpg resize: (1080, 1632) 1383547952 -5.605028228505033 treat image : temp/1758038247_3315195_1383547950_9e05a997d59497348618e8b0a56132da.jpg resize: (1080, 1632) 1383547950 -5.3122725944396905 treat image : temp/1758038247_3315195_1383547900_bb2cdaad3f4e32d1be7d4ce3351c8969.jpg resize: (1080, 1632) 1383547900 -5.6229113218154785 treat image : temp/1758038247_3315195_1383547897_fdaaf87b27788fa0b1af6e8e0b08c1aa.jpg resize: (1080, 1632) 1383547897 -1.2811146117886612 treat image : temp/1758038247_3315195_1383547890_007671053fcf576671c6ba0fab430bc7.jpg resize: (1080, 1632) 1383547890 -2.401384002308065 treat image : temp/1758038247_3315195_1383547867_67fc17c9d01942a5972c7486d3f4e10d.jpg resize: (1080, 1632) 1383547867 -5.934775481078231 treat image : temp/1758038247_3315195_1383547808_3b6ab5ae90673d01b91129fcd069fd5f.jpg resize: (1080, 1632) 1383547808 -6.240286257090506 treat image : temp/1758038247_3315195_1383547782_b69853192dfff71f45a98c80e5eb5906.jpg resize: (1080, 1632) 1383547782 -5.627596475849031 treat image : temp/1758038247_3315195_1383547761_24ad95025c338a32599182792d28c41b.jpg resize: (1080, 1632) 1383547761 -5.647317167106263 treat image : temp/1758038247_3315195_1383547758_f240b1dc3a139cf189fa66b4c473ca9f.jpg resize: (1080, 1632) 1383547758 -5.097840016869972 treat image : temp/1758038247_3315195_1383547754_08f2f695e98823a257bb4640e8a789e3.jpg resize: (1080, 1632) 1383547754 -5.4943609431502844 treat image : temp/1758038247_3315195_1383547752_481ffce556d4ed4eedd43f309e2e6a37.jpg resize: (1080, 1632) 1383547752 -5.135388376572548 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.016546249389648438 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.015112638473510742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01670050621032715 save missing photos in datou_result : time spend for datou_step_exec : 15.16455078125 time spend to save output : 0.0532224178314209 total time spend for step 1 : 15.217773199081421 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 3.24system 0:22.80elapsed 77%CPU (0avgtext+0avgdata 138580maxresident)k 112inputs+10464outputs (0major+257211minor)pagefaults 0swaps