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

[feature] auto create directory when export a model #146

Closed
tskdsb opened this issue Nov 16, 2020 · 0 comments · Fixed by #147
Closed

[feature] auto create directory when export a model #146

tskdsb opened this issue Nov 16, 2020 · 0 comments · Fixed by #147
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@tskdsb
Copy link
Contributor

tskdsb commented Nov 16, 2020

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:
when I try to export a model after pulling, I got an error:

ormb export -d bbb 1.2.3.4:5678/test-modelset/test-modeset:v1
ref:       1.2.3.4:5678/test-modelset/test-modeset:v1
digest:    c860afd8f993a754b9910f40fb66e45005988c0e23c7470560a2dd9033843f07
size:      28.9 MiB
format:    MXNETParams
Error: open /aaa/bbb/ormbfile.yaml: no such file or directory
...

I can't get the reason by the message, but when I created a directory called bbb, it exports successfully. So, it needs the export-directory to exist firstly.

What you expected to happen:
create the directory when I run ormb export ... like git clone

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
I may provide a PR to solve it

@caicloud-bot caicloud-bot added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants