hongzimao/pensieve
소개
Pensieve를 활용한 신경망 기반 적응형 비디오 스트리밍 (SIGCOMM '17)
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPensieve
Pensieve is a system that generates adaptive bitrate algorithms using reinforcement learning. http://web.mit.edu/pensieve/
Prerequisites
- Install prerequisites (tested with Ubuntu 16.04, Tensorflow v1.1.0, TFLearn v0.3.1 and Selenium v2.39.0)
python setup.py
Training
- To train a new model, put training data in
sim/cooked_tracesand testing data insim/cooked_test_traces, then insim/runpython get_video_sizes.pyand then run
python multi_agent.py
The reward signal and meta-setting of video can be modified in multi_agent.py and env.py. More details can be found in sim/README.md.
Testing
- To test the trained model in simulated environment, first copy over the model to
test/modelsand modify theNN_MODELfield oftest/rl_no_training.py, and then intest/runpython get_video_sizes.pyand then run
python rl_no_training.py
Similar testing can be performed for buffer-based approach (bb.py), mpc (mpc.py) and offline-optimal (dp.cc) in simulations. More details can be found in test/README.md.
Running experiments over Mahimahi
- To run experiments over mahimahi emulated network, first copy over the trained model to
rl_server/resultsand modify theNN_MODELfiled ofrl_server/rl_server_no_training.py, and then inrun_exp/run
python run_all_traces.py
This script will run all schemes (buffer-based, rate-based, Festive, BOLA, fastMPC, robustMPC and Pensieve) over all network traces stored in cooked_traces/. The results will be saved to run_exp/results folder. More details can be found in run_exp/README.md.
Real-world experiments
- To run real-world experiments, first setup a server (
setup.pyautomatically installs an apache server and put needed files in/var/www/html). Then, copy over the trained model torl_server/resultsand modify theNN_MODELfiled ofrl_server/rl_server_no_training.py. Next, modify theurlfield inreal_exp/run_video.pyto the server url. Finally, inreal_exp/run
python run_exp.py
The results will be saved to real_exp/results folder. More details can be found in real_exp/README.md.
관련 프로젝트 살펴보기
불러오는 중…