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 : 1219119 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1219119/ 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.1886558532714844 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 Jul 17 19:57: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/1752775048_1219119_1372334814_20ad347902c531ead150f977b8afce1d.jpg resize: (1080, 1632) 1372334814 -2.9878310335075615 treat image : temp/1752775048_1219119_1372334813_0c841b254b285355696408773a34b9a2.jpg resize: (1080, 1632) 1372334813 -2.6082005225031613 treat image : temp/1752775048_1219119_1372334812_8de728db8b9b79376cfd5b3eae5a5b0a.jpg resize: (1080, 1632) 1372334812 -2.5835716457866207 treat image : temp/1752775048_1219119_1372334811_528816c92c19e73aff23ac9626900a74.jpg resize: (1080, 1632) 1372334811 -2.5786093666773846 treat image : temp/1752775048_1219119_1372334791_38c9c24147e6e1cc6092c360f9e7533c.jpg resize: (1080, 1632) 1372334791 -4.998767701597829 treat image : temp/1752775048_1219119_1372334788_5220fd99c57d13bab6cff71803e9d9ca.jpg resize: (1080, 1632) 1372334788 -2.581434360054558 treat image : temp/1752775048_1219119_1372334787_738f6c4d6c79669092f1361803d95a30.jpg resize: (1080, 1632) 1372334787 -1.5399196187899782 treat image : temp/1752775048_1219119_1372334785_581e441bff46f519420734664f620b49.jpg resize: (1080, 1632) 1372334785 -2.826234779549242 treat image : temp/1752775048_1219119_1372334784_948fee5b4c0c9ea95f7a95b21adeea73.jpg resize: (1080, 1632) 1372334784 -2.8110487772547263 treat image : temp/1752775048_1219119_1372334783_00af4e8c5c8a816a36b2e424b5641e9d.jpg resize: (1080, 1632) 1372334783 -2.815950543992957 treat image : temp/1752775048_1219119_1372334760_0c811796378dbc855db7a2461c3e46e1.jpg resize: (1080, 1632) 1372334760 -4.90200197855875 treat image : temp/1752775048_1219119_1372334758_4c910f58209548a0149f862290587003.jpg resize: (1080, 1632) 1372334758 -5.154007544353752 treat image : temp/1752775048_1219119_1372334757_79deb571f438e9d89ae2e4b5d0cd064e.jpg resize: (1080, 1632) 1372334757 -5.148733622409907 treat image : temp/1752775048_1219119_1372334756_86116962a046f91086eecf0d161c54f0.jpg resize: (1080, 1632) 1372334756 -5.10391418906937 treat image : temp/1752775048_1219119_1372334755_abb39a280892eb4c4374fb28d2353259.jpg resize: (1080, 1632) 1372334755 -5.013827728659649 treat image : temp/1752775048_1219119_1372334754_561558b16c2a4d222953fef809d55494.jpg resize: (1080, 1632) 1372334754 -5.004676152273346 treat image : temp/1752775048_1219119_1372334729_030b4ceb0a1adec49ae8d4e357cd3e91.jpg resize: (1080, 1632) 1372334729 -4.875994276132904 treat image : temp/1752775048_1219119_1372334726_40293e9fa4f680d8c1a9d83e6eee9a81.jpg resize: (1080, 1632) 1372334726 -4.889502317128652 treat image : temp/1752775048_1219119_1372334724_af762edcc64787adb168090617d21e75.jpg resize: (1080, 1632) 1372334724 -4.898475555346733 treat image : temp/1752775048_1219119_1372334723_0b20e55efb4da42de00611707f84d30d.jpg resize: (1080, 1632) 1372334723 -4.890990650830099 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.012621879577636719 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.013881921768188477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018027544021606445 save missing photos in datou_result : time spend for datou_step_exec : 19.275628089904785 time spend to save output : 0.049282073974609375 total time spend for step 1 : 19.324910163879395 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.79user 7.90system 0:26.22elapsed 82%CPU (0avgtext+0avgdata 137324maxresident)k 128inputs+8152outputs (15major+251626minor)pagefaults 0swaps