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 : 3987314 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 : 3143>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/3987314/ 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.616396427154541 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 Thu Jul 17 09:27: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/1752737247_3987314_1372375217_7cff2df32cab39828fa9c5258332b45f.jpg resize: (1080, 1632) 1372375217 -4.8623599697169295 treat image : temp/1752737247_3987314_1372375215_420eba692064c756f42dd65a777df5b5.jpg resize: (1080, 1632) 1372375215 -4.86519418953132 treat image : temp/1752737247_3987314_1372375213_8f535e815045c19a6a5bd8ba61bb8d67.jpg resize: (1080, 1632) 1372375213 -4.861650189314657 treat image : temp/1752737247_3987314_1372375212_d94a2aaddcc0ccba32cf687149d6cd1a.jpg resize: (1080, 1632) 1372375212 -4.856133190691172 treat image : temp/1752737247_3987314_1372375211_75a8b3eb04846ff6e94f950bac2f8794.jpg resize: (1080, 1632) 1372375211 -4.864493888795813 treat image : temp/1752737247_3987314_1372375210_ca302183770376cee0609e588bff03e9.jpg resize: (1080, 1632) 1372375210 -4.861585853947451 treat image : temp/1752737247_3987314_1372350524_1e19f8c3fec2fbf76159b25b5f7e762b.jpg resize: (1080, 1632) 1372350524 -5.918516781516397 treat image : temp/1752737247_3987314_1372350522_8a9637964f4bffb68f42c24ea44bf59f.jpg resize: (1080, 1632) 1372350522 -5.91961020309552 treat image : temp/1752737247_3987314_1372350519_af5d316a4fad47449baa48cd20af519b.jpg resize: (1080, 1632) 1372350519 -5.92347854701815 treat image : temp/1752737247_3987314_1372350515_3e04157540e867cd67160122a0268523.jpg resize: (1080, 1632) 1372350515 -5.924559519614398 treat image : temp/1752737247_3987314_1372350495_ce92004d726d34aa077d7a6b768ff6f3.jpg resize: (1080, 1632) 1372350495 -5.90034586887856 treat image : temp/1752737247_3987314_1372350491_d0f32921fcf4ff0b3f0f2b11f28bdd05.jpg resize: (1080, 1632) 1372350491 -5.910937070896464 treat image : temp/1752737247_3987314_1372350486_b2d1fcd02a3c09260207beee0822e03f.jpg resize: (1080, 1632) 1372350486 -5.901907507785748 treat image : temp/1752737247_3987314_1372350483_d779e35a9557f2f5ec9c87a8e491d535.jpg resize: (1080, 1632) 1372350483 -5.916313651316999 treat image : temp/1752737247_3987314_1372350481_095c147552be6e9c9e7f970dd06d82f5.jpg resize: (1080, 1632) 1372350481 -5.912733984717752 treat image : temp/1752737247_3987314_1372350477_bb88ae616b7debb57051a5c08305caea.jpg resize: (1080, 1632) 1372350477 -5.880672212929906 treat image : temp/1752737247_3987314_1372350458_65edc717bc731108149707f512fccf81.jpg resize: (1080, 1632) 1372350458 -5.914674502021143 treat image : temp/1752737247_3987314_1372350455_6481ae5d528873fb9a9e647f7d877ac3.jpg resize: (1080, 1632) 1372350455 -5.89522555762101 treat image : temp/1752737247_3987314_1372350452_e5ff805763fefd17eb2269467ca54ba3.jpg resize: (1080, 1632) 1372350452 -5.896794459836442 treat image : temp/1752737247_3987314_1372350450_3c735e1581e8c77cc5a3cef6b65608d7.jpg resize: (1080, 1632) 1372350450 -5.890128099983485 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.012738704681396484 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.012072324752807617 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01387643814086914 save missing photos in datou_result : time spend for datou_step_exec : 14.737783432006836 time spend to save output : 0.04299139976501465 total time spend for step 1 : 14.78077483177185 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.36user 3.21system 0:19.00elapsed 92%CPU (0avgtext+0avgdata 138868maxresident)k 0inputs+10504outputs (15major+258646minor)pagefaults 0swaps