Skip to content

Commit

Permalink
Train efficientnet should respect NUM environment variable (tinygrad#122
Browse files Browse the repository at this point in the history
)

Co-authored-by: holonomicjl <[email protected]>
  • Loading branch information
adamritter and adamritter authored Nov 17, 2020
1 parent ee99d01 commit 5797e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/train_efficientnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

if __name__ == "__main__":
Tensor.default_gpu = os.getenv("GPU") is not None
model = EfficientNet()
model = EfficientNet(int(os.getenv("NUM", "0")))

BS = 4

Expand Down

0 comments on commit 5797e63

Please sign in to comment.