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 : 225332 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 : 7688>100 please execute split_portfolio.py -i 25430353 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3381100'] with mtr_portfolio_ids : ['25430353'] and first list_photo_ids : [] new path : /proc/225332/ 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.330573558807373 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 04: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/1754016449_225332_1374708889_ec1bf4160ae3702c6e406bcce34de308.jpg resize: (1080, 1632) 1374708889 -5.929161726242294 treat image : temp/1754016449_225332_1374708888_7f30e8f2a345aec53e105bbd695dfc49.jpg resize: (1080, 1632) 1374708888 -5.554337895809204 treat image : temp/1754016449_225332_1374708887_82b65189e3d53ccaee074af799abfe54.jpg resize: (1080, 1632) 1374708887 -4.375344101802847 treat image : temp/1754016449_225332_1374708886_57c25b05ea27c49e3326552d8d286d82.jpg resize: (1080, 1632) 1374708886 -4.811894638816507 treat image : temp/1754016449_225332_1374708884_40cd3a792b910bd1ec11290ea7b374a6.jpg resize: (1080, 1632) 1374708884 -2.8061154625507196 treat image : temp/1754016449_225332_1374708882_014d6ac4b7d7dcdbb4c221cc8563a4b0.jpg resize: (1080, 1632) 1374708882 -5.507688167900945 treat image : temp/1754016449_225332_1374708875_a388d502fc9eff2a709c4165165bb2a6.jpg resize: (1080, 1632) 1374708875 -5.370787270405663 treat image : temp/1754016449_225332_1374708873_29c09eb69c51e2f52317a5816af7aae9.jpg resize: (1080, 1632) 1374708873 -5.283828278174868 treat image : temp/1754016449_225332_1374708870_c068c7f05a402e6814141c6162a9a6f5.jpg resize: (1080, 1632) 1374708870 -5.576816327913721 treat image : temp/1754016449_225332_1374708868_35736140cd85f1c013c18f759b62ee4e.jpg resize: (1080, 1632) 1374708868 -4.3386957066913 treat image : temp/1754016449_225332_1374708865_0d3531e22587067026b923bfae422157.jpg resize: (1080, 1632) 1374708865 -5.695850059636445 treat image : temp/1754016449_225332_1374708862_8cd2f384fd082691f764f6cd19f7b5c8.jpg resize: (1080, 1632) 1374708862 -5.047941701445637 treat image : temp/1754016449_225332_1374708854_bec8880b99aa48e9e98ba823f441f1fc.jpg resize: (1080, 1632) 1374708854 -5.102542162735074 treat image : temp/1754016449_225332_1374708853_d24c46d4082cb224c57aa0dda391b9f9.jpg resize: (1080, 1632) 1374708853 -4.467101703362712 treat image : temp/1754016449_225332_1374708851_7dbeb812adf418b86f93fcc9da40fce0.jpg resize: (1080, 1632) 1374708851 -0.9113623228534657 treat image : temp/1754016449_225332_1374708849_aec4a8437b807d20d429dd277562f65d.jpg resize: (1080, 1632) 1374708849 -4.893683037721903 treat image : temp/1754016449_225332_1374708847_ccb3af177e414328060d732d9318360f.jpg resize: (1080, 1632) 1374708847 -3.546202619706064 treat image : temp/1754016449_225332_1374708844_b33cc8acbcc65c64a4c3d193845fc6fc.jpg resize: (1080, 1632) 1374708844 -5.096369747549255 treat image : temp/1754016449_225332_1374708837_99504eea4eb31b85541b528adc55e31c.jpg resize: (1080, 1632) 1374708837 -5.80774366681164 treat image : temp/1754016449_225332_1374708835_8287fc491893d0a238bd1f16a882d162.jpg resize: (1080, 1632) 1374708835 -5.781501204676057 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.01582169532775879 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.27176761627197266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1958177089691162 save missing photos in datou_result : time spend for datou_step_exec : 14.981345653533936 time spend to save output : 0.48877954483032227 total time spend for step 1 : 15.470125198364258 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.96user 3.49system 0:21.85elapsed 79%CPU (0avgtext+0avgdata 139096maxresident)k 0inputs+9704outputs (1major+264041minor)pagefaults 0swaps