forked from tinygrad/tinygrad
Train efficientnet should respect NUM environment variable (#122)
Co-authored-by: holonomicjl <[email protected]>
This commit is contained in:
co-authored by
holonomicjl
parent
ee99d016e9
commit
5797e63d9b
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user