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 : 3286644 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 : 2592>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3286644/ 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.3404462337493896 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 Mon May 12 17:27:30 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/1747063647_3286644_1357675499_24f1048ca938037937683e58da76d9cf.jpg resize: (1080, 1632) 1357675499 -2.438679845531551 treat image : temp/1747063647_3286644_1357675495_17db4acabb99aea35444f5c28e2add6d.jpg resize: (1080, 1632) 1357675495 -5.197997258133072 treat image : temp/1747063647_3286644_1357675494_f4982403407b8872290843ff90c89289.jpg resize: (1080, 1632) 1357675494 -5.650001695710962 treat image : temp/1747063647_3286644_1357675491_0c10dce446c5b6a48a9952ac9fcacdea.jpg resize: (1080, 1632) 1357675491 -0.5297807858243531 treat image : temp/1747063647_3286644_1357675488_078e00d3f9fc19eb17d967c76b35faa1.jpg resize: (1080, 1632) 1357675488 -1.0269548682916008 treat image : temp/1747063647_3286644_1357675455_125f139f2da86aeaf28269b99b91acfb.jpg resize: (1080, 1632) 1357675455 -1.5664529422465685 treat image : temp/1747063647_3286644_1357675451_dd0fef50581b597b90218047174dd427.jpg resize: (1080, 1632) 1357675451 -4.1778293069025025 treat image : temp/1747063647_3286644_1357675446_c55cafe32cecba8ad5ff74ddd120179c.jpg resize: (1080, 1632) 1357675446 -4.842342899291094 treat image : temp/1747063647_3286644_1357675441_14e226457bcbaf4fd4f49850bb7a9f32.jpg resize: (1080, 1632) 1357675441 -4.648501795940188 treat image : temp/1747063647_3286644_1357675407_3ba700b544c7eabad24e6f31827a2b84.jpg resize: (1080, 1632) 1357675407 -5.979450731431609 treat image : temp/1747063647_3286644_1357675402_a0210bdcd9b0cbd54c7ef8f4084ddf30.jpg resize: (1080, 1632) 1357675402 -5.887056626808539 treat image : temp/1747063647_3286644_1357675401_c0b1fc04a6c51060cb68835c43526f50.jpg resize: (1080, 1632) 1357675401 -4.269629087168449 treat image : temp/1747063647_3286644_1357675398_f0e895b2ed5c429516d9df07e81e566c.jpg resize: (1080, 1632) 1357675398 -3.8914526791302984 treat image : temp/1747063647_3286644_1357675395_87f523079205c99cb760eaf17bbd52b6.jpg resize: (1080, 1632) 1357675395 -2.9801510488849767 treat image : temp/1747063647_3286644_1357675391_cadb079878e32860b7dcbf14816ec058.jpg resize: (1080, 1632) 1357675391 -0.6231604081284838 treat image : temp/1747063647_3286644_1357675375_a8a143a6dd3014e67dbe8a045e31bda2.jpg resize: (1080, 1632) 1357675375 -1.6611649287817734 treat image : temp/1747063647_3286644_1357675367_c4060e3f02a2b61902035cb74e17b6c7.jpg resize: (1080, 1632) 1357675367 -1.589995420868085 treat image : temp/1747063647_3286644_1357675363_df3917bc4f34098621bc635b295496df.jpg resize: (1080, 1632) 1357675363 -5.367372977600031 treat image : temp/1747063647_3286644_1357675357_5541d98e445565c3256b23b7a84d8f29.jpg resize: (1080, 1632) 1357675357 -5.606662304189423 treat image : temp/1747063647_3286644_1357675354_bc91d9d4857536102c09d3efb8b21859.jpg resize: (1080, 1632) 1357675354 -6.372079265405922 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.012679338455200195 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.012758970260620117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015303373336791992 save missing photos in datou_result : time spend for datou_step_exec : 16.175232887268066 time spend to save output : 0.04586601257324219 total time spend for step 1 : 16.22109889984131 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.56user 4.03system 0:20.25elapsed 91%CPU (0avgtext+0avgdata 140712maxresident)k 104inputs+8928outputs (15major+259791minor)pagefaults 0swaps