Skip to content

Commit

Permalink
Merge pull request #2 from NOEL-MNI/tf_conditional
Browse files Browse the repository at this point in the history
add conditional import for tensorflow
  • Loading branch information
ravnoor authored Sep 14, 2023
2 parents b6006e7 + 217907a commit ccabb5f
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 ccabb5f

Please sign in to comment.