Skip to content

Commit

Permalink
add conditional import for tensorflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ravnoor committed Sep 14, 2023
1 parent b6006e7 commit 217907a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/utils/image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import multiprocessing
import numpy as np
# import zipfile

from antspynet.utilities import brain_extraction
if os.environ.get("BRAIN_MASKING") == "cpu":
from antspynet.utilities import brain_extraction
from .deepmask import *
from .helpers import *
from matplotlib.backends.backend_pdf import PdfPages
Expand Down

0 comments on commit 217907a

Please sign in to comment.