mirror of
https://github.com/clearml/clearml
synced 2025-03-03 10:42:00 +00:00
Add .pt file extension as PyTorch
Usually `.pt` is used as pytorch's extension, see [this StackOverflow question](https://stackoverflow.com/questions/59095824/what-is-difference-between-pt-pth-and-pwf-extentions-in-pytorch). Furthermore `.pth` is used by Python to list additional package search paths (see [this PyTorch issue](https://github.com/pytorch/pytorch/issues/14864)) so IMO it might be worth reconsidering existence of it extension. AFAIK `.pt` is advised and used throughout most projects.
This commit is contained in:
parent
54ae340ccb
commit
6815dd5410
@ -53,6 +53,7 @@ class Framework(Options):
|
||||
'model.json': (tensorflowjs, ),
|
||||
'.tflite': (tensorflowlite, ),
|
||||
'.pth': (pytorch, ),
|
||||
'.pt': (pytorch, ),
|
||||
'.caffemodel': (caffe, ),
|
||||
'.prototxt': (caffe, ),
|
||||
'predict_net.pb': (caffe2, ),
|
||||
|
Loading…
Reference in New Issue
Block a user