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 : 1478799 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 : 1007>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1478799/ 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.383756160736084 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 Mon May 12 09:12: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/1747033949_1478799_1357607051_6651f91acdc8fbc4e3cf35d51ff328ea.jpg resize: (1080, 1632) 1357607051 -3.4925488579927055 treat image : temp/1747033949_1478799_1357606574_cdfe6c48fcde28ca076b38dfc075c44c.jpg resize: (1080, 1632) 1357606574 -5.1662821002023405 treat image : temp/1747033949_1478799_1357606571_25f7d03d023c9f28fe41f79d14c657e3.jpg resize: (1080, 1632) 1357606571 -5.673171466349083 treat image : temp/1747033949_1478799_1357606568_052d1cc9e7781b1e6a3e9f547a08d9c4.jpg resize: (1080, 1632) 1357606568 -5.33557172087809 treat image : temp/1747033949_1478799_1357606564_f661dfbc71a15c3082f63568be6084ae.jpg resize: (1080, 1632) 1357606564 -4.55262599991427 treat image : temp/1747033949_1478799_1357606384_ef15235e8f480e55e4e73dbc85ff2475.jpg resize: (1080, 1632) 1357606384 -6.125134292904112 treat image : temp/1747033949_1478799_1357606343_a027df6dc69a6ed5c3f3629cb381e133.jpg resize: (1080, 1632) 1357606343 -6.080276699290404 treat image : temp/1747033949_1478799_1357606340_da3ca7c663f077748ec8112aa73ed82d.jpg resize: (1080, 1632) 1357606340 -5.977548290181912 treat image : temp/1747033949_1478799_1357606336_a0bbac145b49a2ee28b789cca2f628ae.jpg resize: (1080, 1632) 1357606336 -5.772431864333374 treat image : temp/1747033949_1478799_1357606333_b6b24592caed2838d495f9a029468b3b.jpg resize: (1080, 1632) 1357606333 -4.692923828302648 treat image : temp/1747033949_1478799_1357606301_8a900d6b4cd5a302903f28b940520e8e.jpg resize: (1080, 1632) 1357606301 -5.981494608765797 treat image : temp/1747033949_1478799_1357606298_878d6d1ebbd8fbc6538abf48c6d393b8.jpg resize: (1080, 1632) 1357606298 -4.221655064581434 treat image : temp/1747033949_1478799_1357606296_87abb9de76094d667f99266d9ed5bf34.jpg resize: (1080, 1632) 1357606296 -4.645371091027395 treat image : temp/1747033949_1478799_1357606294_583f4e48cc1225ca6f8c933796627aec.jpg resize: (1080, 1632) 1357606294 -5.006569251711582 treat image : temp/1747033949_1478799_1357606292_2bd5298b61242decf3cfb8160e37b3d3.jpg resize: (1080, 1632) 1357606292 -5.180666549620006 treat image : temp/1747033949_1478799_1357606290_0b09a20f4dd3a6832a3ae20d827b5ced.jpg resize: (1080, 1632) 1357606290 -5.170338833506961 treat image : temp/1747033949_1478799_1357606238_8974f81331a65f31bb73fa15679030fb.jpg resize: (1080, 1632) 1357606238 -1.4966360168978716 treat image : temp/1747033949_1478799_1357606226_f859d734858fcf64188bd5b220fea9c6.jpg resize: (1080, 1632) 1357606226 -5.263172042619822 treat image : temp/1747033949_1478799_1357606224_37ba0237849b2f8dba3e4b04ce6e2bc2.jpg resize: (1080, 1632) 1357606224 -4.084710490864257 treat image : temp/1747033949_1478799_1357606198_28869a9b10253eb8f3213898532cd0fb.jpg resize: (1080, 1632) 1357606198 -6.290957687660741 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.013720273971557617 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.013008594512939453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01793646812438965 save missing photos in datou_result : time spend for datou_step_exec : 15.718892812728882 time spend to save output : 0.049773454666137695 total time spend for step 1 : 15.76866626739502 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.43user 3.14system 0:22.19elapsed 83%CPU (0avgtext+0avgdata 139576maxresident)k 152inputs+10200outputs (7major+260057minor)pagefaults 0swaps