Train efficientnet should respect NUM environment variable (#122)

Co-authored-by: holonomicjl <58403584+holonomicjl@users.noreply.github.com>
This commit is contained in:
adamritter
2020-11-17 04:02:31 +00:00
committed by GitHub
parent ee99d016e9
commit 5797e63d9b

View File

@@ -6,7 +6,7 @@ from tinygrad.tensor import Tensor
if __name__ == "__main__":
Tensor.default_gpu = os.getenv("GPU") is not None
model = EfficientNet()
model = EfficientNet(int(os.getenv("NUM", "0")))
BS = 4