Skip to content

Commit b20f007

Browse files
afrozenatorCopybara-Service
authored and
Copybara-Service
committed
internal merge of PR tensorflow#961
PiperOrigin-RevId: 207941265
1 parent a88e399 commit b20f007

File tree

4 files changed

+53
-0
lines changed

4 files changed

+53
-0
lines changed

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](CO
99
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/tensor2tensor/Lobby)
1010
[![License](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0)
1111
[![Travis](https://img.shields.io/travis/tensorflow/tensor2tensor.svg)](https://travis-ci.org/tensorflow/tensor2tensor)
12+
[![Run on FH](https://static.floydhub.com/button/button-small.svg)](https://floydhub.com/run)
1213

1314
[Tensor2Tensor](https://github.com/tensorflow/tensor2tensor), or
1415
[T2T](https://github.com/tensorflow/tensor2tensor) for short, is a library
@@ -66,6 +67,7 @@ pip install tensor2tensor && t2t-trainer \
6667
* [Adding your own components](#adding-your-own-components)
6768
* [Adding a dataset](#adding-a-dataset)
6869
* [Papers](#papers)
70+
* [Run on FloydHub](#run-on-floydhub)
6971

7072
## Suggested Datasets and Models
7173

@@ -408,6 +410,29 @@ paper](https://arxiv.org/abs/1803.07416).
408410
}
409411
```
410412

413+
## Run on FloydHub
414+
415+
[![Run on FloydHub](https://static.floydhub.com/button/button.svg)](https://floydhub.com/run)
416+
417+
Click this button to open a [Workspace](https://blog.floydhub.com/workspaces/) on [FloydHub](https://www.floydhub.com/?utm_medium=readme&utm_source=tensor2tensor&utm_campaign=jul_2018). You can use the workspace to develop and test your code on a fully configured cloud GPU machine.
418+
419+
Tensor2Tensor comes preinstalled in the environment, you can simply open a [Terminal](https://docs.floydhub.com/guides/workspace/#using-terminal) and run your code.
420+
421+
```bash
422+
# Test the quick-start on a Workspace's Terminal with this command
423+
t2t-trainer \
424+
--generate_data \
425+
--data_dir=./t2t_data \
426+
--output_dir=./t2t_train/mnist \
427+
--problem=image_mnist \
428+
--model=shake_shake \
429+
--hparams_set=shake_shake_quick \
430+
--train_steps=1000 \
431+
--eval_steps=100
432+
```
433+
434+
Note: Ensure compliance with the FloydHub [Terms of Service](https://www.floydhub.com/about/terms).
435+
411436
Tensor2Tensor was used to develop a number of state-of-the-art models
412437
and deep learning methods. Here we list some papers that were based on T2T
413438
from the start and benefited from its features and architecture in ways

docs/walkthrough.md

+25
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](CO
99
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/tensor2tensor/Lobby)
1010
[![License](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0)
1111
[![Travis](https://img.shields.io/travis/tensorflow/tensor2tensor.svg)](https://travis-ci.org/tensorflow/tensor2tensor)
12+
[![Run on FH](https://static.floydhub.com/button/button-small.svg)](https://floydhub.com/run)
1213

1314
[Tensor2Tensor](https://github.com/tensorflow/tensor2tensor), or
1415
[T2T](https://github.com/tensorflow/tensor2tensor) for short, is a library
@@ -66,6 +67,7 @@ pip install tensor2tensor && t2t-trainer \
6667
* [Adding your own components](#adding-your-own-components)
6768
* [Adding a dataset](#adding-a-dataset)
6869
* [Papers](#papers)
70+
* [Run on FloydHub](#run-on-floydhub)
6971

7072
## Suggested Datasets and Models
7173

@@ -408,6 +410,29 @@ paper](https://arxiv.org/abs/1803.07416).
408410
}
409411
```
410412

413+
## Run on FloydHub
414+
415+
[![Run on FloydHub](https://static.floydhub.com/button/button.svg)](https://floydhub.com/run)
416+
417+
Click this button to open a [Workspace](https://blog.floydhub.com/workspaces/) on [FloydHub](https://www.floydhub.com/?utm_medium=readme&utm_source=tensor2tensor&utm_campaign=jul_2018). You can use the workspace to develop and test your code on a fully configured cloud GPU machine.
418+
419+
Tensor2Tensor comes preinstalled in the environment, you can simply open a [Terminal](https://docs.floydhub.com/guides/workspace/#using-terminal) and run your code.
420+
421+
```bash
422+
# Test the quick-start on a Workspace's Terminal with this command
423+
t2t-trainer \
424+
--generate_data \
425+
--data_dir=./t2t_data \
426+
--output_dir=./t2t_train/mnist \
427+
--problem=image_mnist \
428+
--model=shake_shake \
429+
--hparams_set=shake_shake_quick \
430+
--train_steps=1000 \
431+
--eval_steps=100
432+
```
433+
434+
Note: Ensure compliance with the FloydHub [Terms of Service](https://www.floydhub.com/about/terms).
435+
411436
Tensor2Tensor was used to develop a number of state-of-the-art models
412437
and deep learning methods. Here we list some papers that were based on T2T
413438
from the start and benefited from its features and architecture in ways

floyd.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
env: tensorflow-1.9
2+
machine: gpu

floyd_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tensor2tensor

0 commit comments

Comments
 (0)