Closed Hgit007 closed 3 years ago
Note that sys.argv[1]
is taking the input you provide right after python run_video.py
. It raised this error because no input was provided.
Check out the example input we used in https://github.com/hongzimao/pensieve/blob/master/run_exp/run_traces.py#L31-L33 (e.g., abr_algo
would correspond to argv[1]
in your error message). Feel free to print out the command and see what exactly the example inputs are.
Hope these help!
Thanks for your help.
I provide the input parameters. It seem I still didn't get it. I am not sure if I set the right process_id. Could you please help me?
Besides, I am not well follow Line 47-L50. Why copy over these files?
Thank you.
Best,
The error is saying ../cooked_traces
is missing. Do you provide the right path to the trace file? Can you just make sure python run_traces.py
or python run_all_traces.py
run without any error --- this just makes sure all the dependencies and trace files are downloaded.
The copy command, IIRC, is copying over the chrome driver and the fresh chrome user state so that the experiment starts from a blank state (i.e., no caching of the video content or anything) or fair comparison. Check what's in the chrome_user_dir
for more details.
Thanks for your reply.
I have figured it out for running python run_video.py
with the inputs. Here are some new issues. I get stuck here for a couple of days. I don't know how to solve it.
The Chrome browser cannot open automatically for all three files, python run_video.py
, python run_traces.py
, python run_all_traces.py
. I check the chromedriver and the chrome version. Besides, I change chrome version 86.0.4240.75 to 75.0.3770.80. I try fix it by kinds of method. But it cannot work.
No record in log file in the folder /run_exp/results/log
for running python run_traces.py
and python run_traces.py
, I need to run ../rl_server/simple_server.py
. After that, I open the Chrome and type in the url
, then hit the play button. The video can play normally. But the log file in /run_exp/results
is empty. I print the parameters err
, out
and subprocess command. There is no error information. I don't know how to get the log information.
For the three types of server, the port are all 8333, is there any conflict when running them together?
Many thanks for your help.
Hi Hongzhi, I know what happened. Thanks.
@Hgit007 could you share with us how you solved the issue, so that more people in the future can learn from it? Thank you!
Hi, I have an empty file on results/. How did you solve it, can you help me?@Hgit007
Hi,
Could you please help me figure out the issue when running the real-world experiment?
I run![image](https://user-images.githubusercontent.com/39703828/95424100-27652980-0910-11eb-8ea9-f23276439f96.png)
python run_video.py
. It throw out errors. I don't know what is the input parameters.Thanks in advance.
Best,