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 : 1824435 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 : 2831>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/1824435/ 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 : 1.928330898284912 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 Wed Feb 5 03:12:33 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/1738721551_1824435_1334748601_96ca14ee1c0664c33d91ce52e44fcef1.jpg resize: (1080, 1632) 1334748601 -5.866612655237491 treat image : temp/1738721551_1824435_1334748533_0d487e8dfd614de368b1140e1c01fcfd.jpg resize: (1080, 1632) 1334748533 -5.513447958900386 treat image : temp/1738721551_1824435_1334748453_c372b46996e225666c20747996a25789.jpg resize: (1080, 1632) 1334748453 -5.7113521954023945 treat image : temp/1738721551_1824435_1334748374_615de179789faac9d29f3a7143c4cd69.jpg resize: (1080, 1632) 1334748374 -4.116889971999201 treat image : temp/1738721551_1824435_1334748297_8aa13b7f8f25e619099095352fea7a05.jpg resize: (1080, 1632) 1334748297 -5.388448129534869 treat image : temp/1738721551_1824435_1334748220_f2e99a6f5e080b48635a34b8578cc6f4.jpg resize: (1080, 1632) 1334748220 -1.594924016937615 treat image : temp/1738721551_1824435_1334748048_450bf0eab1296d951653bbc148f7ec43.jpg resize: (1080, 1632) 1334748048 -2.8132225036308887 treat image : temp/1738721551_1824435_1334748047_dca485eb85a87a366a3cdea976453ceb.jpg resize: (1080, 1632) 1334748047 -3.0132713998294625 treat image : temp/1738721551_1824435_1334748046_ad28420ee662977c4f23d44d9e0c10b8.jpg resize: (1080, 1632) 1334748046 -4.249809747692252 treat image : temp/1738721551_1824435_1334748045_a6cfddc6fc835c4a1440cfa8431c6c7e.jpg resize: (1080, 1632) 1334748045 -5.528313873472197 treat image : temp/1738721551_1824435_1334748044_eb01a597ba41573fc343d6e4a2b834ad.jpg resize: (1080, 1632) 1334748044 -4.592309432289271 treat image : temp/1738721551_1824435_1334748038_b2842270d090a34b17e3666f65050c00.jpg resize: (1080, 1632) 1334748038 -5.390547103632265 treat image : temp/1738721551_1824435_1334748010_79d2e133812a12ab44e781cd0afa6c67.jpg resize: (1080, 1632) 1334748010 -2.6810268053961903 treat image : temp/1738721551_1824435_1334748009_929f702b967bdfe8be721f8623e1a46e.jpg resize: (1080, 1632) 1334748009 -2.519963970168785 treat image : temp/1738721551_1824435_1334748008_917c724f9ae820c2589114652a1e3cff.jpg resize: (1080, 1632) 1334748008 -2.599784864242633 treat image : temp/1738721551_1824435_1334748004_196cf7e645fdbe7b528603fb62a03023.jpg resize: (1080, 1632) 1334748004 -5.776153558602199 treat image : temp/1738721551_1824435_1334748000_13302115f9237f84ba57dbb74758542d.jpg resize: (1080, 1632) 1334748000 -5.667353863215189 treat image : temp/1738721551_1824435_1334747998_3565d140bb17d4552ef555e221c18600.jpg resize: (1080, 1632) 1334747998 -5.80213925965569 treat image : temp/1738721551_1824435_1334747967_dbd1d4a8d36236fc1431b92e4a52a5ab.jpg resize: (1080, 1632) 1334747967 -5.825270578025263 treat image : temp/1738721551_1824435_1334747966_f16c3cfb93a020b6a2138de4932ec81f.jpg resize: (1080, 1632) 1334747966 -5.587547511831819 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.014745950698852539 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.015877246856689453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01685333251953125 save missing photos in datou_result : time spend for datou_step_exec : 15.984480142593384 time spend to save output : 0.05930662155151367 total time spend for step 1 : 16.043786764144897 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.97user 5.14system 0:24.32elapsed 82%CPU (0avgtext+0avgdata 137400maxresident)k 23352inputs+9560outputs (239major+211612minor)pagefaults 0swaps