-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bump version to 0.1.3 in pyproject.toml, implement lazy loadin…
…g for submodules in Architecture class, and fix min_output_shape calculation
- Loading branch information
1 parent
83f4b69
commit b00a5ea
Showing
3 changed files
with
40 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ license = { text = "BSD 3-Clause License" } | |
authors = [ | ||
{ email = "[email protected]", name = "Jeff Rhoades" }, | ||
] | ||
version = "0.1.2" | ||
version = "0.1.3" | ||
dependencies = [ | ||
'torch', | ||
'torchvision', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
from . import cosem, cellpose, untrained_models | ||
import lazy_loader as lazy | ||
|
||
# Lazy-load submodules | ||
__getattr__, __dir__, __all__ = lazy.attach( | ||
__name__, | ||
submod_attrs={ | ||
"cellpose": [ | ||
"add_model", | ||
"load_model", | ||
"get_model", | ||
"download_checkpoint", | ||
"models_dict", | ||
"models_list", | ||
] | ||
}, | ||
) | ||
|
||
from . import cosem, untrained_models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters