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 : 804417 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 : 2667>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/804417/ 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.2221922874450684 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 24 08:32: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/1753338748_804417_1373476485_2cf9cf6e7ca94a59412d242f022d9a30.jpg resize: (1080, 1632) 1373476485 -5.185568763728888 treat image : temp/1753338748_804417_1373476481_8e59fbf71dedd2b9b8ecbc24d8fb8a0f.jpg resize: (1080, 1632) 1373476481 -5.536090010176192 treat image : temp/1753338748_804417_1373476478_6173128d1e8e35e0c302f19996912b8d.jpg resize: (1080, 1632) 1373476478 -6.055365037336794 treat image : temp/1753338748_804417_1373476477_8fbd1c6acba74a78d67615e984b8d408.jpg resize: (1080, 1632) 1373476477 -6.0490720036028 treat image : temp/1753338748_804417_1373476475_c44c72e58196df05e9b0849e51149a57.jpg resize: (1080, 1632) 1373476475 -5.990249793246305 treat image : temp/1753338748_804417_1373476473_20c1c6dbbb72855b41b51fb3419ece40.jpg resize: (1080, 1632) 1373476473 -4.78091738222665 treat image : temp/1753338748_804417_1373476458_681dd401a89923e49c0d867de11be29b.jpg resize: (1080, 1632) 1373476458 -1.452933955212063 treat image : temp/1753338748_804417_1373476437_44f1ce5121d524bf0435f23ed49d79a6.jpg resize: (1080, 1632) 1373476437 -2.478039039444314 treat image : temp/1753338748_804417_1373476428_f4cd3bdf4a760ad88a72799ff2cdaa65.jpg resize: (1080, 1632) 1373476428 -1.8013337866583716 treat image : temp/1753338748_804417_1373476425_4f40fe604429dad117c6bf8991cafa38.jpg resize: (1080, 1632) 1373476425 -2.4210888009787306 treat image : temp/1753338748_804417_1373476417_d9b3830dd1b8345dd3db79de47bfe12c.jpg resize: (1080, 1632) 1373476417 -5.640326705388899 treat image : temp/1753338748_804417_1373476410_02e37442c2c23750db662f336026ccfd.jpg resize: (1080, 1632) 1373476410 -5.971691511345766 treat image : temp/1753338748_804417_1373476299_756c4298fc768a943d507e34f0af6d98.jpg resize: (1080, 1632) 1373476299 -3.7770628105546047 treat image : temp/1753338748_804417_1373476297_033d581b9b18e0073b92fc0e52732aba.jpg resize: (1080, 1632) 1373476297 -5.114704161474224 treat image : temp/1753338748_804417_1373476294_aa7cbe9ac2cbe011946cc14c3544d9d3.jpg resize: (1080, 1632) 1373476294 -4.36718701954919 treat image : temp/1753338748_804417_1373476292_154e7eefe84c7bacc0d6148719a9075f.jpg resize: (1080, 1632) 1373476292 -5.746171800492767 treat image : temp/1753338748_804417_1373476290_f5df651061d08eebe2f0daa28681cb88.jpg resize: (1080, 1632) 1373476290 -5.663997273188338 treat image : temp/1753338748_804417_1373476288_124c9434fd5feeb4bb73fbf2d4c38669.jpg resize: (1080, 1632) 1373476288 -2.7368783923368354 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.014574050903320312 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.01384115219116211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.017916202545166016 save missing photos in datou_result : time spend for datou_step_exec : 14.770601987838745 time spend to save output : 0.05098605155944824 total time spend for step 1 : 14.821588039398193 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.27user 4.05system 0:19.30elapsed 89%CPU (0avgtext+0avgdata 137596maxresident)k 112inputs+9384outputs (3major+237524minor)pagefaults 0swaps