https://github.com/atong01/imagenet-tensorflow
Single Command Docker container to test imagenet classifier
https://github.com/atong01/imagenet-tensorflow
Last synced: about 2 months ago
JSON representation
Single Command Docker container to test imagenet classifier
- Host: GitHub
- URL: https://github.com/atong01/imagenet-tensorflow
- Owner: atong01
- License: mit
- Created: 2016-02-13T04:50:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-31T13:30:32.000Z (over 5 years ago)
- Last Synced: 2025-04-14T06:12:03.693Z (about 2 months ago)
- Language: Python
- Size: 166 MB
- Stars: 13
- Watchers: 2
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Imagenet Tensorflow
Single command imagenet classifier run through docker.
Use the following command for the default image:
```
docker run atong01/imagenet-tensorflow python classify_image.py
```
or
```
sh run.sh
```expected output
```
running on default
-----------------------------------------------------------------------------
giant panda, panda, panda bear, coon bear, Ailuropoda melanoleuca (score = 0.89233)
indri, indris, Indri indri, Indri brevicaudatus (score = 0.00859)
lesser panda, red panda, panda, bear cat, cat bear, Ailurus fulgens (score = 0.00264)
custard apple (score = 0.00141)
earthstar (score = 0.00107)
```Or, to use your own image file:
```
docker run -v $PWD:/root/tmp:ro atong01/imagenet-tensorflow python classify_image.py --image_file tmp/$(IMAGE)
```
or
```
sh run.sh $(IMAGE)
```
Where $(IMAGE) is the imagename, note that your $PWD must be a parent directory of your imagefile.