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 : 2391016 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 : 1331>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/2391016/ 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.091268539428711 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 Wed May 14 11:07: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/1747213648_2391016_1358139829_e29acb6b52850bf4ba1edd113e908655.jpg resize: (1080, 1632) 1358139829 -2.5684566311408354 treat image : temp/1747213648_2391016_1358139826_4130a5f2a9599b75010e26280a9ff7c7.jpg resize: (1080, 1632) 1358139826 -2.643446947612002 treat image : temp/1747213648_2391016_1358139822_e040a453af20fa5ec1f2aa92ffffe6cd.jpg resize: (1080, 1632) 1358139822 -3.538083893508398 treat image : temp/1747213648_2391016_1358139756_7e8ae17ddaabd356ed5a39d21f72c294.jpg resize: (1080, 1632) 1358139756 -4.318051103342404 treat image : temp/1747213648_2391016_1358139747_6d77555b75d4798d1de58bd26a6d37a1.jpg resize: (1080, 1632) 1358139747 -4.155762242178693 treat image : temp/1747213648_2391016_1358139733_02405bc812b05b1a33ebfc0d565a6146.jpg resize: (1080, 1632) 1358139733 -4.392050103918097 treat image : temp/1747213648_2391016_1358139712_b2d2b705df876618391f1d7bd703afbf.jpg resize: (1080, 1632) 1358139712 -2.6312974494750705 treat image : temp/1747213648_2391016_1358139688_7e49f3a04ed3fb885f4c6970121e8776.jpg resize: (1080, 1632) 1358139688 -0.8625343698166472 treat image : temp/1747213648_2391016_1358139591_89a5ee8bec08e8f9ebcbecd89befe581.jpg resize: (1080, 1632) 1358139591 -2.4668184586327833 treat image : temp/1747213648_2391016_1358139587_5957994410963942a0fd26feef2ee48d.jpg resize: (1080, 1632) 1358139587 -3.1029879228389503 treat image : temp/1747213648_2391016_1358139584_cb3163926ae41081e9c481ce93ff2aa4.jpg resize: (1080, 1632) 1358139584 -4.768414244045133 treat image : temp/1747213648_2391016_1358139582_d78d66706c614308015cdb1f9f47b7cb.jpg resize: (1080, 1632) 1358139582 -4.917826436079841 treat image : temp/1747213648_2391016_1358139580_69e2a9403f040858d2d91effa0ac4b43.jpg resize: (1080, 1632) 1358139580 -3.9258207991525516 treat image : temp/1747213648_2391016_1358139576_412d6c1e8490fd9815b6ca262bcccb14.jpg resize: (1080, 1632) 1358139576 -4.875288821826738 treat image : temp/1747213648_2391016_1358139524_b005fc79d74133aaf476fe2225e16b4e.jpg resize: (1080, 1632) 1358139524 -5.260573318080261 treat image : temp/1747213648_2391016_1358139496_147ca96937d5fe47b52142890cf070ad.jpg resize: (1080, 1632) 1358139496 -3.7902285276782535 treat image : temp/1747213648_2391016_1358139488_33c77a941fd16cfa79373340e09ae558.jpg resize: (1080, 1632) 1358139488 -4.708558439005593 treat image : temp/1747213648_2391016_1358139485_39dac004b44b6339f4a235bc20ebaab5.jpg resize: (1080, 1632) 1358139485 -0.9092803763876504 treat image : temp/1747213648_2391016_1358139472_92a5b823966f4eedcf752ee86064b765.jpg resize: (1080, 1632) 1358139472 -1.3760201323646617 treat image : temp/1747213648_2391016_1358139228_21cff33e5dce298ef00b2345e35880fd.jpg resize: (1080, 1632) 1358139228 -2.6046427877085305 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.013323783874511719 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.07909703254699707 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025971174240112305 save missing photos in datou_result : time spend for datou_step_exec : 18.623178005218506 time spend to save output : 0.12306880950927734 total time spend for step 1 : 18.746246814727783 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.91user 5.97system 0:23.68elapsed 88%CPU (0avgtext+0avgdata 137288maxresident)k 64inputs+7752outputs (12major+257725minor)pagefaults 0swaps