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 I can train myself datasets with ImageNe pretrained model ? #34

Open
aiaini66 opened this issue Jan 18, 2018 · 4 comments
Open

How I can train myself datasets with ImageNe pretrained model ? #34

aiaini66 opened this issue Jan 18, 2018 · 4 comments

Comments

@aiaini66
Copy link

I have read the README.md file and see your words:"You need to convert the dataset into leveldb format using "create_imagenet.sh". We will show you how to do this. To be continued.". Now I want to train myself Datasets with ImageNe pretrained model ,if there are any instruction about how to convert myself Datasets format? I'm forward to your reply!

@brijesh099
Copy link

  1. Change the paths in create_imagenet.sh with your dataset path.
    $ vi /examples/cvprw15-cifar10/create_imagenet.sh

  2. Run script prepare_train.sh to download ImageNet pretrained model and convert myself dataset to leveldb format.
    $ ./prepare_train.sh

  3. Change the source with your leveldb source in training script.
    $ vi /examples/cvprw15-cifar10/train_48.sh

  4. Go to the folder /examples/cvprw15-cifar10, and run the training script:

$ cd /examples/cvprw15-cifar10
$ chmod 777 train_48.sh
$ ./train_48.sh

  1. You will finally get your model named KevinNet_CIFAR10_48_iter_xxxxxx.caffemodel. To use your model, modify the model_file in demo.m to link to your model:

    model_file = './YOUR/MODEL/PATH/filename.caffemodel';

  2. Launch matlab and run demo.m.

@aiaini66
Copy link
Author

thanks a lot! If I have any questions in the further work ,I'll ask you for help ! best wish!

@mudi-1125
Copy link

The baidu link of model and image resource is invalid, can anyone share it?

@kevinlin311tw
Copy link
Owner

About the baidu link, I found that my baidu account is dead since Baidu request new authentication. It only accept China's phone number, but I don't have one. Sorry for the convenience.

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

4 participants