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 : 323285 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/323285/ 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.6239001750946045 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 Sep 17 03:37: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/1758073047_323285_1359452250_0c7d34f718863f6825ee6cca37c7cba7.jpg resize: (1080, 1632) 1359452250 -6.141448153352816 treat image : temp/1758073047_323285_1359452229_4e13e700669cd64316b811f17159f074.jpg resize: (1080, 1632) 1359452229 -5.671692967501604 treat image : temp/1758073047_323285_1359452200_6c10d41227c2f035f69c620bdb4e0f8c.jpg resize: (1080, 1632) 1359452200 -5.97298710377876 treat image : temp/1758073047_323285_1359452148_677ebe53ae6888d37e7cb24929129583.jpg resize: (1080, 1632) 1359452148 -5.678590474487082 treat image : temp/1758073047_323285_1359451354_18be4f918763c61f8ee177a4b1a3ff28.jpg resize: (1080, 1632) 1359451354 -5.472633992830855 treat image : temp/1758073047_323285_1359451301_f8411f2d2177b4670c64ad987afc8a4f.jpg resize: (1080, 1632) 1359451301 -5.636229075796267 treat image : temp/1758073047_323285_1359450454_6e8bef5b0c07c3cef08278b8f86bc959.jpg resize: (1080, 1632) 1359450454 -5.931240677122796 treat image : temp/1758073047_323285_1359450359_5f1fadc9fca5f177109af58fa207f069.jpg resize: (1080, 1632) 1359450359 -5.867954954651379 treat image : temp/1758073047_323285_1359450332_731a3c1b05fa400fc78813bc1ab77e80.jpg resize: (1080, 1632) 1359450332 -5.767193054702609 treat image : temp/1758073047_323285_1359449906_88d9398aa674254f7b3fbfbe8f6ba42d.jpg resize: (1080, 1632) 1359449906 -1.022263844320449 treat image : temp/1758073047_323285_1359449848_d549712ee277fe8b88b4af84003c9ca8.jpg resize: (1080, 1632) 1359449848 -4.627318646134321 treat image : temp/1758073047_323285_1359449790_7f77b35ca4700177863b36561d827c08.jpg resize: (1080, 1632) 1359449790 -5.760320435069361 treat image : temp/1758073047_323285_1359449722_91cee05ee92c8fe9fd8ee246d97ce28c.jpg resize: (1080, 1632) 1359449722 -5.94812563590393 treat image : temp/1758073047_323285_1359448196_3e782b1470615eec424c6d6cb29bfc25.jpg resize: (1080, 1632) 1359448196 -5.0428552647692575 treat image : temp/1758073047_323285_1359448031_44739229e3fec00ba84fe06c3b2679c7.jpg resize: (1080, 1632) 1359448031 -2.900216411314335 treat image : temp/1758073047_323285_1359447689_456667df9ca6c556b14301033e35df48.jpg resize: (1080, 1632) 1359447689 -5.569150361144628 treat image : temp/1758073047_323285_1359447661_65211623a589715908e9fd13a12a5d12.jpg resize: (1080, 1632) 1359447661 -4.6277206666839295 treat image : temp/1758073047_323285_1359447629_976bdff5022b78bb83580b475b0a9d51.jpg resize: (1080, 1632) 1359447629 -4.53779420996909 treat image : temp/1758073047_323285_1359447593_a84dc2dcb971afd490d99be52f929cd2.jpg resize: (1080, 1632) 1359447593 -2.50978475540362 treat image : temp/1758073047_323285_1359447564_b930cff1442d731e6ebe9615d8d5287c.jpg resize: (1080, 1632) 1359447564 -5.483972356160812 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.016806364059448242 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.018059253692626953 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016941547393798828 save missing photos in datou_result : time spend for datou_step_exec : 15.122350454330444 time spend to save output : 0.0571746826171875 total time spend for step 1 : 15.179525136947632 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 3.10system 0:21.64elapsed 81%CPU (0avgtext+0avgdata 137800maxresident)k 144inputs+10192outputs (2major+259466minor)pagefaults 0swaps