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 : 1521438 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/1521438/ 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 : 3.163747787475586 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:27: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/1747034848_1521438_1357600541_c661968b9fe15e0d8c065e13fec5133a.jpg resize: (1080, 1632) 1357600541 -1.9602747907085678 treat image : temp/1747034848_1521438_1357600538_c0eb3ef8c7de637453d46b4c2f452551.jpg resize: (1080, 1632) 1357600538 -2.5578480485982893 treat image : temp/1747034848_1521438_1357600534_b5c0f59ec760dea01ae095f3ef643824.jpg resize: (1080, 1632) 1357600534 -2.111873176608234 treat image : temp/1747034848_1521438_1357600531_77d199619cec90bcca5c485334e2e855.jpg resize: (1080, 1632) 1357600531 -2.20481734225658 treat image : temp/1747034848_1521438_1357600529_5f20ba035d25028147c33e1b302553ad.jpg resize: (1080, 1632) 1357600529 -5.698706315859048 treat image : temp/1747034848_1521438_1357600528_b703abd7acaa772f9b8e48f10c60808b.jpg resize: (1080, 1632) 1357600528 -5.627916525913893 treat image : temp/1747034848_1521438_1357600360_3432cbc12c7820ec430e09000d14f823.jpg resize: (1080, 1632) 1357600360 -5.173926219969749 treat image : temp/1747034848_1521438_1357600359_9b5184d0cb13baad1eafc0b87a3546eb.jpg resize: (1080, 1632) 1357600359 -5.217812480736425 treat image : temp/1747034848_1521438_1357600357_1861e7e02fd18fe95c4e9318fbe23723.jpg resize: (1080, 1632) 1357600357 -5.223099785751212 treat image : temp/1747034848_1521438_1357599612_9b01bad81f76852b8e3a6e7d67ca1a11.jpg resize: (1080, 1632) 1357599612 -5.873492989554211 treat image : temp/1747034848_1521438_1357599608_3ce55beb0fcc231572c92fd62550f5be.jpg resize: (1080, 1632) 1357599608 -4.926873326236764 treat image : temp/1747034848_1521438_1357599426_b27c6188e7ea8e46243c7f66677d1c8a.jpg resize: (1080, 1632) 1357599426 -5.275783603846551 treat image : temp/1747034848_1521438_1357599425_385db395b1076ff0990b150b54d23471.jpg resize: (1080, 1632) 1357599425 -2.5565699168538805 treat image : temp/1747034848_1521438_1357599423_75f47f6fb8e147f62c38ceeb1066ae44.jpg resize: (1080, 1632) 1357599423 -4.577138660943146 treat image : temp/1747034848_1521438_1357599420_d8490821ac0715c3580ed7cfdc8b68f3.jpg resize: (1080, 1632) 1357599420 -5.588567889003007 treat image : temp/1747034848_1521438_1357599067_6bd23b69c65870d2d0b44469e9493bd9.jpg resize: (1080, 1632) 1357599067 -6.108018802802964 treat image : temp/1747034848_1521438_1357599066_e675caf1d7d59f6b61f0c903ec23b54a.jpg resize: (1080, 1632) 1357599066 -5.416122333158246 treat image : temp/1747034848_1521438_1357599065_61d3250f8e288fffd0803a3a4750a876.jpg resize: (1080, 1632) 1357599065 -5.7196993212938345 treat image : temp/1747034848_1521438_1357599064_155326828446d831510144e244145b94.jpg resize: (1080, 1632) 1357599064 -3.431342719803621 treat image : temp/1747034848_1521438_1357599032_a50badf2ffd917f9e9d34ef6754083f7.jpg resize: (1080, 1632) 1357599032 -1.4386100092613934 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.012462854385375977 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.01322031021118164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01660752296447754 save missing photos in datou_result : time spend for datou_step_exec : 15.149110078811646 time spend to save output : 0.0472111701965332 total time spend for step 1 : 15.196321249008179 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.25user 3.13system 0:21.36elapsed 81%CPU (0avgtext+0avgdata 139636maxresident)k 144inputs+9328outputs (9major+247728minor)pagefaults 0swaps