mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
model touchups
This commit is contained in:
@@ -49,7 +49,7 @@ def infer(model, img):
|
||||
if __name__ == "__main__":
|
||||
# instantiate my net
|
||||
model = EfficientNet(int(os.getenv("NUM", "0")))
|
||||
model.load_weights_from_torch()
|
||||
model.load_from_pretrained()
|
||||
|
||||
# category labels
|
||||
import ast
|
||||
|
||||
Reference in New Issue
Block a user