Commit 26f09ada authored by Yuxin Wu's avatar Yuxin Wu

update some example readme

parent 145fb01d
...@@ -23,4 +23,4 @@ The method didn't work for slightly harder problems such as SVHN: ...@@ -23,4 +23,4 @@ The method didn't work for slightly harder problems such as SVHN:
The SVHN experiements used the model & hyperparemeters as my original [svhn example](../svhn-digit-convnet.py). The SVHN experiements used the model & hyperparemeters as my original [svhn example](../svhn-digit-convnet.py).
Experiements were all repeated 10 times to get the error bar. Experiements were all repeated 10 times to get the error bar.
And I don't believe it will work for ImageNet either. And I don't believe it will work for ImageNet either. And that's a CVPR paper..
...@@ -11,3 +11,5 @@ The validation error here is computed on test set. ...@@ -11,3 +11,5 @@ The validation error here is computed on test set.
Download model: Download model:
[Cifar10 ResNet-110 (n=18)](https://drive.google.com/open?id=0B9IPQTvr2BBkTXBlZmh1cmlnQ0k) [Cifar10 ResNet-110 (n=18)](https://drive.google.com/open?id=0B9IPQTvr2BBkTXBlZmh1cmlnQ0k)
Also see an implementation of [DenseNet](https://github.com/YixuanLi/densenet-tensorflow) from [Densely Connected Convolutional Networks](https://arxiv.org/abs/1608.06993).
## Character-Level RNN Language Model ## Character-Level RNN Language Model
To train, create some corpus in `input.txt`, and run `./char-rnn.py train`.
Some corpus to play with: http://cs.stanford.edu/people/karpathy/char-rnn/
To genearate text, see `./char-rnn.py sample --help` for the options.
Generate linux kernel source code: Generate linux kernel source code:
```c ```c
static int via_playback_set_interrupt(int action, void *data, int val) static int via_playback_set_interrupt(int action, void *data, int val)
......
...@@ -34,7 +34,6 @@ param.grad_clip = 5. ...@@ -34,7 +34,6 @@ param.grad_clip = 5.
param.vocab_size = None param.vocab_size = None
param.softmax_temprature = 1 param.softmax_temprature = 1
param.corpus = 'input.txt' param.corpus = 'input.txt'
# Get corpus to play with at: http://cs.stanford.edu/people/karpathy/char-rnn/
class CharRNNData(DataFlow): class CharRNNData(DataFlow):
def __init__(self, input_file, size): def __init__(self, input_file, size):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment