Closed kousik97 closed 7 years ago
ANET_HOME
is an environmental variable. It should point to the root directory of this codebase.
So, How do I fix this error?
Usually, we set an environmental variable in bash by
export ANET_HOME=<install location>
Or one can specify this variable before a bash command, like
ANET_HOME=<install location> python classifiy_video.py -h
raceback (most recent call last):
File "examples/classify_video.py", line 13, in
@yjxiong ,How to fix this in google colab?
Hi all,
How to set ANET_CFG? I tried to set ANET_CFG as the same of ANET_HOME ( root directory of this codebase).
I still run into the error of:
File "/anet2016-cuhk/pyActionRec/init.py", line 1, in
Please advise!
@yjxiong thanks!
I forgot mention, ANET_HOME issue fixed. @yjxiong @kousik97 @wanglimin @Malithi-gif
I forgot mention, ANET_HOME issue fixed. @yjxiong @kousik97 @wanglimin @Malithi-gif
How did you solve this problem?
(anet) root@9bd8963cd7e6:~/anet2016-cuhk# python examples/classify_video.py data/plastering.avi
Traceback (most recent call last):
File "examples/classify_video.py", line 17, in
ANET_HOME=/root/anet2016-cuhk/ ANET_CFG=/root/anet2016-cuhk/
Hello, what is the problem? @LucyQiu @yjxiong
When I am trying to execute classify.py, I get the following error:
File "examples/classify_video.py", line 13, in
anet_home = os.environ['ANET_HOME']
File "/Users/Kousik/anaconda/envs/py27/lib/python2.7/UserDict.py", line 40, in getitem
raise KeyError(key)
KeyError: 'ANET_HOME'