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 : 3973625 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 : 8156>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/3973625/ 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.364304542541504 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 Fri Aug 1 01:22:28 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/1754004146_3973625_1374696763_5485ca9c71b44aa264b876f21076d684.jpg resize: (1080, 1632) 1374696763 -3.491104972296033 treat image : temp/1754004146_3973625_1374696762_4d2c09fd432701265e0f39d37c135969.jpg resize: (1080, 1632) 1374696762 -3.982146876485297 treat image : temp/1754004146_3973625_1374696758_c19a279b66304f5c0a9769273c62b851.jpg resize: (1080, 1632) 1374696758 -3.8204789200228877 treat image : temp/1754004146_3973625_1374696752_1c93eac41ae03e498bbd59b786990590.jpg resize: (1080, 1632) 1374696752 -2.7361692351560327 treat image : temp/1754004146_3973625_1374696751_9ec938a1f8c629316c91c1b419b36534.jpg resize: (1080, 1632) 1374696751 -2.997065502150465 treat image : temp/1754004146_3973625_1374696693_7431bc123e63d7def1f76cb819669212.jpg resize: (1080, 1632) 1374696693 -5.05932339111713 treat image : temp/1754004146_3973625_1374696559_0c87b9a60cb0657f4ba3f5494b044855.jpg resize: (1080, 1632) 1374696559 -5.679550296967476 treat image : temp/1754004146_3973625_1374696558_3a6b3e72156e17bd4f22dc2b4ac4fa1a.jpg resize: (1080, 1632) 1374696558 -5.52944658266176 treat image : temp/1754004146_3973625_1374696556_a720dbc487b9aa7433fa000dfcac6d5e.jpg resize: (1080, 1632) 1374696556 -3.7529079733484063 treat image : temp/1754004146_3973625_1374696554_79782358c0e7fa3b35ec698911dc711f.jpg resize: (1080, 1632) 1374696554 -3.267293143283728 treat image : temp/1754004146_3973625_1374696551_e46701fa4c7192c8375bbae7ad69a8c4.jpg resize: (1080, 1632) 1374696551 -2.893738983088107 treat image : temp/1754004146_3973625_1374696549_2bce74209721f4b8ac92352678046a47.jpg resize: (1080, 1632) 1374696549 -2.983930778797562 treat image : temp/1754004146_3973625_1374696547_8551181d89db71a2d451dc9981195907.jpg resize: (1080, 1632) 1374696547 -4.426641268562128 treat image : temp/1754004146_3973625_1374696545_f1b4697f76e366da2ddf5c9928644f0f.jpg resize: (1080, 1632) 1374696545 -4.923398538200866 treat image : temp/1754004146_3973625_1374696543_e7fb8a3648bafd7a2524e370fdfada93.jpg resize: (1080, 1632) 1374696543 -5.376024161655962 treat image : temp/1754004146_3973625_1374696541_616d91c8f9c8824b28f9f6abc3d92615.jpg resize: (1080, 1632) 1374696541 -2.0542964431353132 treat image : temp/1754004146_3973625_1374693301_a4c67ee83b6038cb428623e99d2dbb5a.jpg resize: (1080, 1632) 1374693301 -4.972716013152349 treat image : temp/1754004146_3973625_1374693300_039c3b6ef473f62b4b01af07b33c03f9.jpg resize: (1080, 1632) 1374693300 -1.2981170488484985 treat image : temp/1754004146_3973625_1374693299_480478928c90cc8d0fd3f61fd6dedc73.jpg resize: (1080, 1632) 1374693299 -4.030660945490778 treat image : temp/1754004146_3973625_1374693298_b67acc7b481566c0c5825d37c5689ad6.jpg resize: (1080, 1632) 1374693298 -3.6314956963908767 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.01257777214050293 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.07116246223449707 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.22977972030639648 save missing photos in datou_result : time spend for datou_step_exec : 18.039820671081543 time spend to save output : 0.31878089904785156 total time spend for step 1 : 18.358601570129395 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 5.64system 0:22.28elapsed 91%CPU (0avgtext+0avgdata 139432maxresident)k 136inputs+8848outputs (8major+232111minor)pagefaults 0swaps