Skip to content

Commit

Permalink
move data
Browse files Browse the repository at this point in the history
  • Loading branch information
zsdonghao committed Feb 16, 2019
1 parent 0a6008d commit 8a119f7
Show file tree
Hide file tree
Showing 37 changed files with 23,319 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ update_tl.py

# Data Files and ByteCode files
*.gz
*.npz
*.npz
Binary file added examples/data_process/data/.DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions examples/data_process/data/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from __future__ import absolute_import

# from . import imagenet_classes
from . import *
Binary file added examples/data_process/data/cat/img1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/cat/img9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions examples/data_process/data/cat_caption.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"info": {"description": "This is a cat dataset.",
"url": "http://tensorlayer.org",
"version": "1.0.0",
"year": 2016,
"contributor": "Hao Dong",
"date_created": "2016-09-30 12:11:50.00000"},
"images":[
{"file_name":"img1.jpg", "caption":"a yellow cat looks up"},
{"file_name":"img2.jpg", "caption":"a grey cat with yellow eyes"},
{"file_name":"img3.jpg", "caption":"grey cat with yellow eyes"},
{"file_name":"img4.jpg", "caption":"yellow cat looks at you"},
{"file_name":"img5.jpg", "caption":"a yellow cat stands up"},
{"file_name":"img6.jpg", "caption":"a small cat sits down"},
{"file_name":"img7.jpg", "caption":"it is a white cat with white eyes"},
{"file_name":"img8.jpg", "caption":"it shows a head of cat"},
{"file_name":"img9.jpg", "caption":"a black cat is running very fast"}
]
}
Binary file added examples/data_process/data/dog/img1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/dog/img9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/greenbackground/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/data_process/data/greenbackground/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion examples/data_process/tutorial_fast_affine_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import cv2

# tl.logging.set_verbosity(tl.logging.DEBUG)
image = tl.vis.read_image('tiger.jpeg')
image = tl.vis.read_image('data/tiger.jpeg')
h, w, _ = image.shape


Expand Down
4 changes: 4 additions & 0 deletions examples/pretrained_cnn/data/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from __future__ import absolute_import

# from . import imagenet_classes
from . import *
1 change: 1 addition & 0 deletions examples/pretrained_cnn/data/imagenet_class_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit 8a119f7

Please sign in to comment.