We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e77fcb commit 9acaaa1Copy full SHA for 9acaaa1
2 files changed
src/spherinator/models/__init__.py
@@ -13,6 +13,7 @@
13
from .convolutional_encoder_2d import ConvolutionalEncoder2D
14
from .dense_model import DenseModel
15
from .embedding_reconstruction import EmbeddingReconstruction
16
+from .export_onnx import export_onnx
17
from .variational_autoencoder import VariationalAutoencoder
18
from .weights_provider import WeightsProvider
19
from .yaml2model import yaml2model
@@ -29,6 +30,7 @@
29
30
"ConvolutionalEncoder2D",
31
"DenseModel",
32
"EmbeddingReconstruction",
33
+ "export_onnx",
34
"VariationalAutoencoder",
35
"WeightsProvider",
36
"yaml2model",
src/spherinator/models/export_onnx.py
@@ -2,7 +2,7 @@
2
3
import torch
4
5
-from spherinator.models import yaml2model
+from .yaml2model import yaml2model
6
7
8
def export_onnx(
0 commit comments