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 : 3778405 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 : 2770>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3778405/ 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.3170957565307617 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 Tue May 13 18:17: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/1747153047_3778405_1357874427_a2a2c5bfd2fc9abcb095033a6fc38262.jpg resize: (1080, 1632) 1357874427 -1.1952352811175586 treat image : temp/1747153047_3778405_1357874425_ad22b970d67d7aa1a090da8932fda4ee.jpg resize: (1080, 1632) 1357874425 -1.6641551960243726 treat image : temp/1747153047_3778405_1357874422_378216c6c4836425702ef264dc94c9d3.jpg resize: (1080, 1632) 1357874422 -1.5551605341154375 treat image : temp/1747153047_3778405_1357874419_16e1d596c47de6c0ceafdd1e10346d2e.jpg resize: (1080, 1632) 1357874419 -3.4570502319963383 treat image : temp/1747153047_3778405_1357874416_99d1dcc370d6e15a73088038fba041da.jpg resize: (1080, 1632) 1357874416 -2.6075900638237495 treat image : temp/1747153047_3778405_1357874378_4aef2f5fd392b5c000047bad74dfe5fe.jpg resize: (1080, 1632) 1357874378 -4.886405108889192 treat image : temp/1747153047_3778405_1357874373_27a3bbb028a9c016dc06306f5e565a8b.jpg resize: (1080, 1632) 1357874373 -5.305158023935112 treat image : temp/1747153047_3778405_1357874368_ffd1245b5f3292938e0e938b681dbdb9.jpg resize: (1080, 1632) 1357874368 -5.444486927881904 treat image : temp/1747153047_3778405_1357874336_535f60bd921d9fdcafb9f6222be34694.jpg resize: (1080, 1632) 1357874336 -4.980271955074504 treat image : temp/1747153047_3778405_1357874333_6ff962af7f6791abc9de6c97cf5180f4.jpg resize: (1080, 1632) 1357874333 -4.9794604411383405 treat image : temp/1747153047_3778405_1357874329_c877f72443c42056f31ee898f5025fa3.jpg resize: (1080, 1632) 1357874329 -4.12617218674669 treat image : temp/1747153047_3778405_1357874327_fb3740eabc40b4efef5b5dd906433cfb.jpg resize: (1080, 1632) 1357874327 -4.265908165714361 treat image : temp/1747153047_3778405_1357874323_353052f880346d5cbafdcad82f9addc8.jpg resize: (1080, 1632) 1357874323 -5.532691320721591 treat image : temp/1747153047_3778405_1357874321_9b18911d5418d1625e942fc223e3e108.jpg resize: (1080, 1632) 1357874321 -4.697514578332175 treat image : temp/1747153047_3778405_1357874288_51e5e0cf85c8c36012b28a2eacd71c06.jpg resize: (1080, 1632) 1357874288 -5.512210663611186 treat image : temp/1747153047_3778405_1357874286_588322e8851b530900a71cd305a85984.jpg resize: (1080, 1632) 1357874286 -2.671686192948358 treat image : temp/1747153047_3778405_1357874284_44b2d8d86114eb8a1b54749447651eff.jpg resize: (1080, 1632) 1357874284 -4.703015473296442 treat image : temp/1747153047_3778405_1357874282_cec8181f596fe89cf032dd5651709bab.jpg resize: (1080, 1632) 1357874282 -5.095266762273715 treat image : temp/1747153047_3778405_1357870843_1f34e55f4c48d55f8d9325a8eb5ee9d6.jpg resize: (1080, 1632) 1357870843 -5.089346871331618 treat image : temp/1747153047_3778405_1357870837_b2259c1a7685ed14d8da2b9590ca9f52.jpg resize: (1080, 1632) 1357870837 -4.613071042681248 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.014938831329345703 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.013594627380371094 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01604938507080078 save missing photos in datou_result : time spend for datou_step_exec : 17.391225576400757 time spend to save output : 0.04945564270019531 total time spend for step 1 : 17.440681219100952 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.62user 5.12system 0:21.21elapsed 93%CPU (0avgtext+0avgdata 140224maxresident)k 152inputs+8976outputs (15major+259461minor)pagefaults 0swaps