mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
added multiple outputs to LightningTestModel
This commit is contained in:
1 parent
3521e87286
commit
0aa91c7fdc
1 file changed
+3
-1
@@ -190,7 +190,9 @@ def test_amp_gpu_ddp():
|
||||
|
||||
os.environ['MASTER_PORT'] = str(np.random.randint(12000, 19000, 1)[0])
|
||||
|
||||
model, hparams = get_model()
|
||||
hparams = get_hparams()
|
||||
model = LightningTestModel(hparams)
|
||||
|
||||
trainer_options = dict(
|
||||
progress_bar=True,
|
||||
max_nb_epochs=1,
|
||||
|
||||
Reference in new issue
Block a user