Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove description about inference_tox21.py #222

Merged
merged 1 commit into from
Jul 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions examples/tox21/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,6 @@ by running the following command:
python train_tox21.py -h
```

### Inference with a trained model

With CPU:
```
python inference_tox21.py [-i /path/to/training/result/directory]
```

With GPU:
```
python inference_tox21.py -g 0 [-i /path/to/training/result/directory]
```

This script loads trained parameters of a model and
makes a prediction for the test dataset of Tox21 with the model.
It loads parameters and other configurations from directory specified by `-i` option,
whose default value is same as that of `-o` option of `train_tox21.py`.
The prediction results are saved in the current directory as a `npy` file.
As with training, we can specify GPU/CPU to use by `-g` option.

The full options available including `-g` and `-i` are found
by running the following command `python inference_tox21.py -h`.


### Inference with a trained model using Classifier

As of v0.3.0, `Classifier` class is introduced which supports `predict` and
Expand Down