Skip to content

Commit

Permalink
move import into function
Browse files Browse the repository at this point in the history
  • Loading branch information
veegalinova committed Jun 8, 2023
1 parent 4b99d86 commit 1c09ca6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion n2v/utils/export_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import tensorflow as tf
from zipfile import ZipFile
from csbdeep.utils import save_json
from bioimageio.core.build_spec import build_model

from ..models.n2v_config import N2VConfig

Expand Down Expand Up @@ -124,6 +123,8 @@ def build_modelzoo(
files: list = [],
**kwargs,
):
from bioimageio.core.build_spec import build_model

tags_dim = "3d" if len(axes) == 5 else "2d"

build_model(
Expand Down

0 comments on commit 1c09ca6

Please sign in to comment.