Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the environment variable “AWNAS_HOME“ #59

Closed
809253928 opened this issue Nov 17, 2021 · 2 comments
Closed

How to change the environment variable “AWNAS_HOME“ #59

809253928 opened this issue Nov 17, 2021 · 2 comments

Comments

@809253928
Copy link

AWNAS_HOME is an environment variable default to be ~/awnas. How to specialize this?

Thank you!

@walkerning
Copy link
Owner

Hi, you can set AWNAS_HOME as any other usual environment variables.

  • For example, by running export AWNAS_HOME=/the/path/to/your/desired/dir in a shell, this environment variable will be inherited by all subsequent processes spawned by this shell session.
  • Or if you just want to specify it for one awnas run, you can add it before the awnas command, like AWNAS_HOME=/the/path/to/your/desired/dir awnas search --gpu 0 --train-dir ...... (See https://github.com/walkerning/aw_nas/blob/master/examples/research/ftt-nas/run_mibb_search.sh#L30 for an example)

@walkerning
Copy link
Owner

Hope that've solved your question. If you have any further questions, feel free to open new issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants