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 : 181772 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 : 3156>100 please execute split_portfolio.py -i 25751400 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3467214'] with mtr_portfolio_ids : ['25751400'] and first list_photo_ids : [] new path : /proc/181772/ 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.285146951675415 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 Thu Aug 7 16:47: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/1754578048_181772_1375693736_5e6c40580a544c05ef40e9ddd50f707d.jpg resize: (1080, 1632) 1375693736 -5.865291686779859 treat image : temp/1754578048_181772_1375693731_60669f9b6d73c7d94f2590339203ed5b.jpg resize: (1080, 1632) 1375693731 -5.6060228391302465 treat image : temp/1754578048_181772_1375693728_a9048b93ed5769ea0da1753f10c4e241.jpg resize: (1080, 1632) 1375693728 -5.6668156824447715 treat image : temp/1754578048_181772_1375693727_0a8ac9e40939efd6afe95ed8ea6e5542.jpg resize: (1080, 1632) 1375693727 -5.219657133183074 treat image : temp/1754578048_181772_1375693725_995437939031667242a96c4db360b983.jpg resize: (1080, 1632) 1375693725 -4.494970122858719 treat image : temp/1754578048_181772_1375693657_0b3e75f75e7078839599d86c0ccdef80.jpg resize: (1080, 1632) 1375693657 -1.4759359251735467 treat image : temp/1754578048_181772_1375693630_39d857798ba972889831376bbb6605d7.jpg resize: (1080, 1632) 1375693630 -2.6442351312094914 treat image : temp/1754578048_181772_1375693602_4f1a184300ead5db2856cccbd45ed859.jpg resize: (1080, 1632) 1375693602 -4.06366342854041 treat image : temp/1754578048_181772_1375693577_02c61ae469bdcd6e19e33ebf2c1f3c22.jpg resize: (1080, 1632) 1375693577 -5.819352232366808 treat image : temp/1754578048_181772_1375693566_7091dc36473f7bbe96a43c4663be887f.jpg resize: (1080, 1632) 1375693566 -5.741028986867365 treat image : temp/1754578048_181772_1375693564_d50d2fe517add6605690a95a29cdfab1.jpg resize: (1080, 1632) 1375693564 -4.656685805100343 treat image : temp/1754578048_181772_1375693523_63cf31e3ada795aabad78f98c704f609.jpg resize: (1080, 1632) 1375693523 -4.808257288568336 treat image : temp/1754578048_181772_1375693478_78dea1ed18cf1d072d52e311a8960f32.jpg resize: (1080, 1632) 1375693478 -4.810651210646387 treat image : temp/1754578048_181772_1375693472_72f40e31173fe2e3b0c769a35ee0f5cf.jpg resize: (1080, 1632) 1375693472 -4.586557858862828 treat image : temp/1754578048_181772_1375693440_f118e46449ec292967a24e6437dc0c46.jpg resize: (1080, 1632) 1375693440 -2.1502854224861054 treat image : temp/1754578048_181772_1375693424_6c6b1e051ab1c57bd19023a77144d7a6.jpg resize: (1080, 1632) 1375693424 -5.090766402804557 treat image : temp/1754578048_181772_1375693401_755762bf3d6702e5cb31f112a13f8233.jpg resize: (1080, 1632) 1375693401 -3.9011038396846742 treat image : temp/1754578048_181772_1375693398_0b2cb5d00b66833813216a36665a46d7.jpg resize: (1080, 1632) 1375693398 -2.333810152482645 treat image : temp/1754578048_181772_1375693396_685bc8a4370ca299683335552a208915.jpg resize: (1080, 1632) 1375693396 -3.501627966178499 treat image : temp/1754578048_181772_1375693395_5be9a42d7198819798d45e20c3a75013.jpg resize: (1080, 1632) 1375693395 1.644705736666967 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.013872623443603516 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.015757083892822266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01908087730407715 save missing photos in datou_result : time spend for datou_step_exec : 15.916581153869629 time spend to save output : 0.0536494255065918 total time spend for step 1 : 15.97023057937622 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.45system 0:21.77elapsed 85%CPU (0avgtext+0avgdata 139384maxresident)k 4552inputs+8920outputs (33major+261197minor)pagefaults 0swaps