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

Creating lmdb dataset in google colab #160

Open
iammobina opened this issue May 18, 2021 · 1 comment
Open

Creating lmdb dataset in google colab #160

iammobina opened this issue May 18, 2021 · 1 comment

Comments

@iammobina
Copy link

Hi everyone,
i followed the instruction on how to train a new model,but I didn't understand well how should I create my own database and run the following command ? can somebody explain this to me?

python train.py --adadelta --trainRoot {train_path} --valRoot {val_path} --cuda

1)what should I replace with {train_path} and {val_path}?
2)th main_train.lua ../models/foo_model/ in google colab raise an error which is "/bin/bash: th: command not found"
can you help me?

@itsbvk
Copy link

itsbvk commented Sep 21, 2021

for 2 -- I think you will have to prefix it with ! . That is if you want to run a linux terminal command on any jupyter notebook ( valid for colab since colab is a jupyter notebook) you prefix it with !. For example to run the ls command , you run !ls

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