Browse Source

[MoFlow/PyT] Update README

Marta Stepniewska-Dziubinska 3 years ago
parent
commit
a0e900483e
2 changed files with 13 additions and 5 deletions
  1. 12 5
      PyTorch/DrugDiscovery/MoFlow/README.md
  2. 1 0
      README.md

+ 12 - 5
PyTorch/DrugDiscovery/MoFlow/README.md

@@ -198,10 +198,10 @@ For those unable to use the [framework name] NGC container, to set up the requir
 To train your model using mixed or TF32 precision with Tensor Cores or using FP32, perform the following steps using the default parameters of the MoFlow model on the ZINC 250k dataset. For the specifics concerning training and inference, refer to the [Advanced](#advanced) section.
 
 1. Clone the repository.
-	```
-	git clone [https://github.com/NVIDIA/DeepLearningExamples](https://github.com/NVIDIA/DeepLearningExamples)
-	cd [DeepLearningExamples](https://github.com/NVIDIA/DeepLearningExamples)/PyTorch/DrugDiscovery/MoFlow
-	```
+```
+git clone [https://github.com/NVIDIA/DeepLearningExamples](https://github.com/NVIDIA/DeepLearningExamples)
+cd [DeepLearningExamples](https://github.com/NVIDIA/DeepLearningExamples)/PyTorch/DrugDiscovery/MoFlow
+```
 
 2.  Build the MoFlow PyTorch NGC container.
 ```
@@ -233,7 +233,14 @@ bash scripts/prepare_datasets.sh
 bash scripts/train.sh
 ```
 
-6. Start inference/predictions.
+6. Start inference.
+
+You can train the model yourself (see the prevoius step) or download the pretrained weights from NGC:
+```
+wget 'https://api.ngc.nvidia.com/v2/models/nvidia/dle/moflow__pyt_ckpt/versions/22.11.0_amp/files/model_snapshot_epoch_300' -O /results/model_snapshot_epoch_300
+```
+Then you can run the inference:
+
 ```
 bash scripts/predict.sh
 ```

+ 1 - 0
README.md

@@ -89,6 +89,7 @@ These examples, along with our NVIDIA deep learning software stack, are provided
 | Models  | Framework | A100 | AMP | Multi-GPU | Multi-Node  | TRT  | ONNX  | Triton | DLC | NB | 
 | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |------------- |------------- |------------- |------------- |------------- |
 | [SE(3)-Transformer](https://github.com/NVIDIA/DeepLearningExamples/tree/master/DGLPyTorch/DrugDiscovery/SE3Transformer) | PyTorch  | Yes  | Yes  | Yes  | - | - | - | - | - | - |
+| [MoFlow](https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/DrugDiscovery/MoFlow) | PyTorch  | Yes  | Yes  | Yes  | - | - | - | - | - | - |
 
 ## Time-Series Forecasting
 | Models  | Framework | A100 | AMP | Multi-GPU | Multi-Node  | TRT  | ONNX  | Triton | DLC | NB |