- Category:
- AI-NN-PR
- Tags:
-
[Text]
- File Size:
- 106kb
- Update:
- 2017-07-08
- Downloads:
- 0 Times
- Uploaded by:
- 丁布
Description: CNN_Torch7
==========
This code use the code of Supervised Learning tutorial of Torch7. I add the loading of image by using graphicsMagick for Torch7.
1. for the code intepretation: http://code.madbits.com/wiki/doku.php?id=tutorial_supervised_1_data, http://torch.cogbits.com/doc/tutorials_supervised/
2. How to use graphicsmagick in Torch7: https://github.com/clementfarabet/graphicsmagick
3. I modify image size to 200 * 200, then we need to change the input size of some layers in CNN.Please see the 2_model.lua
4. data/ directory:
images/: store the image according the label directory.
train.txt: store the training image list.
test.txt: store the testing image list.
labels.txt: store the labels list.
To Search:
File list (Check if you may need any files):
CNN_Torch7-master\data\images\label1\1.jpg
CNN_Torch7-master\data\images\label2\2.jpg
CNN_Torch7-master\data\labels.txt
CNN_Torch7-master\data\test.txt
CNN_Torch7-master\data\train.txt
CNN_Torch7-master\README.md
CNN_Torch7-master\src\1_data.lua
CNN_Torch7-master\src\2_model.lua
CNN_Torch7-master\src\3_loss.lua
CNN_Torch7-master\src\4_train.lua
CNN_Torch7-master\src\5_test.lua
CNN_Torch7-master\src\doall.lua
CNN_Torch7-master\data\images\label1
CNN_Torch7-master\data\images\label2
CNN_Torch7-master\data\images
CNN_Torch7-master\data
CNN_Torch7-master\src
CNN_Torch7-master