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 : 3495315 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/3495315/ 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.57167387008667 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 19:12: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/1758042748_3495315_1383545431_ee490d174e1d651429811c2a999e940f.jpg resize: (1080, 1632) 1383545431 -3.432068171040296 treat image : temp/1758042748_3495315_1383545402_4e9367d659ba79b1bb68f71eb8f4a192.jpg resize: (1080, 1632) 1383545402 -3.157686134108094 treat image : temp/1758042748_3495315_1383544675_5ee4ef66967cdae20fa4c7d0c5d61fbe.jpg resize: (1080, 1632) 1383544675 -5.755157885648863 treat image : temp/1758042748_3495315_1383544653_ff6a9623de0fdf9a4157e91fe40b8d56.jpg resize: (1080, 1632) 1383544653 -5.991053041596999 treat image : temp/1758042748_3495315_1383544622_91823674e85d26675de089e74c8920a3.jpg resize: (1080, 1632) 1383544622 -5.747740883805675 treat image : temp/1758042748_3495315_1383544541_75b893afc138c111e757f524473b524a.jpg resize: (1080, 1632) 1383544541 -2.659118023789963 treat image : temp/1758042748_3495315_1383544518_d0696cb0a844c460397a0efc6d4e6f7c.jpg resize: (1080, 1632) 1383544518 -1.7192254156096514 treat image : temp/1758042748_3495315_1383544494_2cd83110da8be9726a99bde34f14c725.jpg resize: (1080, 1632) 1383544494 -6.037868743440003 treat image : temp/1758042748_3495315_1383544390_826bc5671cd0e36841ebc841f89a01ea.jpg resize: (1080, 1632) 1383544390 -5.1873629785997215 treat image : temp/1758042748_3495315_1383544383_c1eefff1c42472b33dace2fbcbab1071.jpg resize: (1080, 1632) 1383544383 -5.909482490321698 treat image : temp/1758042748_3495315_1383544380_b33986078212a3aed0695671b547abd5.jpg resize: (1080, 1632) 1383544380 -3.7279044122826703 treat image : temp/1758042748_3495315_1383544376_45f04dd271d50ff024da8ec26dd3e90f.jpg resize: (1080, 1632) 1383544376 -5.605314119436161 treat image : temp/1758042748_3495315_1383544374_c5f4ff2d87d5c863fef22694fac4ffba.jpg resize: (1080, 1632) 1383544374 -5.477322830044438 treat image : temp/1758042748_3495315_1383544372_a6f1f0436637183c11fbee7e21e928bc.jpg resize: (1080, 1632) 1383544372 -5.420955626615061 treat image : temp/1758042748_3495315_1383544325_fa4a045c2397b1ac57bee4cdeee04448.jpg resize: (1080, 1632) 1383544325 -2.659118023789963 treat image : temp/1758042748_3495315_1383544322_0864d28b0f6564c6d58e5f9e1bdbe455.jpg resize: (1080, 1632) 1383544322 -1.7192254156096514 treat image : temp/1758042748_3495315_1383544318_59bff21443bde445e43301cbc212448d.jpg resize: (1080, 1632) 1383544318 -6.037868743440003 treat image : temp/1758042748_3495315_1383544300_ed47a97e86f71548de3b99d6e816b62e.jpg resize: (1080, 1632) 1383544300 -5.1873629785997215 treat image : temp/1758042748_3495315_1383544292_461a0f2404412f885aab920b8a7754f4.jpg resize: (1080, 1632) 1383544292 -5.909482490321698 treat image : temp/1758042748_3495315_1383542268_9def2f591da07df1764849bb85a036f0.jpg resize: (1080, 1632) 1383542268 -3.3329912221427875 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.012857198715209961 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.015711069107055664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016048192977905273 save missing photos in datou_result : time spend for datou_step_exec : 17.049004316329956 time spend to save output : 0.06974577903747559 total time spend for step 1 : 17.11875009536743 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 5.02system 0:24.09elapsed 83%CPU (0avgtext+0avgdata 137920maxresident)k 73928inputs+9944outputs (181major+262834minor)pagefaults 0swaps