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 : 714845 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 : 4808>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/714845/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0842437744140625 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 Jul 25 16:47:30 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/1753454848_714845_1373767564_e67c5fcc46a0eb7bf5b1cca45460cb93.jpg resize: (1080, 1632) 1373767564 -1.0572150158611389 treat image : temp/1753454848_714845_1373767560_badb669d2ceb0081e992a0dde97f34fd.jpg resize: (1080, 1632) 1373767560 -3.5772625701224143 treat image : temp/1753454848_714845_1373767559_d3476e3d9fce8799b7be3851e3ede94d.jpg resize: (1080, 1632) 1373767559 -4.828883235230987 treat image : temp/1753454848_714845_1373767558_47ba1fad638c214b8619c56b4d7104b0.jpg resize: (1080, 1632) 1373767558 -4.719265824211719 treat image : temp/1753454848_714845_1373767556_8e6b2a1be93c1f3daa2bf46fc7bae044.jpg resize: (1080, 1632) 1373767556 -3.074384607387663 treat image : temp/1753454848_714845_1373767554_3d09b7a4b25bed44f04938d7f48ae780.jpg resize: (1080, 1632) 1373767554 -4.804610448033997 treat image : temp/1753454848_714845_1373767534_fea4fc62749ddc9931b7616c91a33e91.jpg resize: (1080, 1632) 1373767534 -3.4538770179736518 treat image : temp/1753454848_714845_1373767533_fd1b721ff4e9a08e4e1f024e4007eb7e.jpg resize: (1080, 1632) 1373767533 -2.5256512970251435 treat image : temp/1753454848_714845_1373767530_78510191c4077560ac816d03d3f37b6a.jpg resize: (1080, 1632) 1373767530 -1.4162450479522177 treat image : temp/1753454848_714845_1373767528_7b74d6ff6d62c6e45b80f71d28db693b.jpg resize: (1080, 1632) 1373767528 -2.5373239567143844 treat image : temp/1753454848_714845_1373767521_91f0e528a5712aa7fcf1af0c1afe16f6.jpg resize: (1080, 1632) 1373767521 -2.665706402750938 treat image : temp/1753454848_714845_1373767519_99c0fa99934866a61ac1770d8249c16e.jpg resize: (1080, 1632) 1373767519 -1.5836845002804962 treat image : temp/1753454848_714845_1373767503_aacfe6b2164225c001b5a3a543ea4431.jpg resize: (1080, 1632) 1373767503 -5.270756899618187 treat image : temp/1753454848_714845_1373767501_307f2b3acf2f4e0c1824d8502a8cefae.jpg resize: (1080, 1632) 1373767501 -4.648240681438624 treat image : temp/1753454848_714845_1373767498_91398d576c91af97054610ad116115b6.jpg resize: (1080, 1632) 1373767498 -3.567734273307732 treat image : temp/1753454848_714845_1373767496_753f97702b3b59a2e0a8c63c2b078238.jpg resize: (1080, 1632) 1373767496 -4.3937722855704235 treat image : temp/1753454848_714845_1373767494_719ba988bc8b5b3522b7f83615448424.jpg resize: (1080, 1632) 1373767494 -4.757146318145409 treat image : temp/1753454848_714845_1373767480_603c9742643a8337d3c495401ed4b1cb.jpg resize: (1080, 1632) 1373767480 -4.746147721044381 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 : 18 time used for this insertion : 0.016624927520751953 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.01599884033203125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01781320571899414 save missing photos in datou_result : time spend for datou_step_exec : 17.519001007080078 time spend to save output : 0.18716955184936523 total time spend for step 1 : 17.706170558929443 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.19user 6.77system 0:24.02elapsed 83%CPU (0avgtext+0avgdata 139136maxresident)k 5192inputs+7216outputs (44major+237183minor)pagefaults 0swaps