crnn icon indicating copy to clipboard operation
crnn copied to clipboard

Creating lmdb dataset in google colab

Open iammobina opened this issue 3 years ago • 1 comments

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?

iammobina avatar May 18 '21 15:05 iammobina

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

itsbvk avatar Sep 21 '21 20:09 itsbvk