Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions batchflow/models/torch/base_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
import torch

from ...decorators import deprecated

from ...utils_import import try_import
plot = try_import(module='...plotter', package=__name__, attribute='plot',
help='Try `pip install batchflow[image]`!')
from ... import plot

# Also imports `tensorboard`, if necessary

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies = [
"llvmlite",
"scipy>=1.9",
"tqdm>=4.19",
"pytest>=8.3.4",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -56,7 +55,7 @@ nn = [

dev = [
"pandas>=0.24",
"pytest>=7.0",
"pytest>=8.3.4",
"ruff"
]

Expand Down