Skip to content
New issue

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

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

Already on GitHub? # to your account

Is it possible to mount/bind a directory like in docker? #1726

Open
bot-disal opened this issue Jun 9, 2024 · 0 comments
Open

Is it possible to mount/bind a directory like in docker? #1726

bot-disal opened this issue Jun 9, 2024 · 0 comments

Comments

@bot-disal
Copy link

I have image data in a directory, eg: /Users/home/dataset.
How can I mount/bind this directory in the cog ccontainer like in docker docker run -it --mount type=bind,src=/path/to/data,target=/usr/local/data
Hence something like cog train -i param=hello --mount type=bind,src=/path/to/data,target=/usr/local/data

I can't find any reference in the docs, if this feature does not exist is it possible?
During training you might need to loop through multiple images and it cannot all be passed as parameters.

@bot-disal bot-disal changed the title Is it possible to mount a dircetory like in docker ccompose? Is it possible to mount a directory like in docker? Jun 9, 2024
@bot-disal bot-disal changed the title Is it possible to mount a directory like in docker? Is it possible to mount/bind a directory like in docker? Jun 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant