Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darashi/chainer-example-overfeat-classify
Image classifier built with Chainer, an implementation of OverFeat.
https://github.com/darashi/chainer-example-overfeat-classify
Last synced: 23 days ago
JSON representation
Image classifier built with Chainer, an implementation of OverFeat.
- Host: GitHub
- URL: https://github.com/darashi/chainer-example-overfeat-classify
- Owner: darashi
- Created: 2015-06-12T06:22:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-13T03:59:47.000Z (over 9 years ago)
- Last Synced: 2024-08-02T12:21:54.496Z (3 months ago)
- Language: Python
- Homepage:
- Size: 123 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chainer-example-overfeat-classify
Image classifier built with [Chainer][], an implementation of [OverFeat][].
## Requirements
* [Chainer][]
## Install
Download pre-trained models:
```sh
sh download_model.sh
```## Run
Classify `example.jpg` with `fast` model on CPU:
```sh
python classify.py example.jpg
```Classify `example.jpg` with `accurate` model on CPU:
```sh
python classify.py --model accurate example.jpg
```Classify `example.jpg` with `fast` model on GPU (ID=0):
```sh
python classify.py --gpu 0 example.jpg
```## References
* [Chainer][]
* [OverFeat][]
* [overfeat-torch][][Chainer]: https://github.com/pfnet/chainer
[OverFeat]: https://github.com/sermanet/OverFeat
[overfeat-torch]: https://github.com/jhjin/overfeat-torch