bplusplus 1.2.2__py3-none-any.whl → 1.2.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bplusplus might be problematic. Click here for more details.

bplusplus/__init__.py CHANGED
@@ -1,7 +1,15 @@
1
+ try:
2
+ import torch
3
+ import torchvision
4
+ except ImportError:
5
+ raise ImportError(
6
+ "PyTorch and Torchvision are not installed. "
7
+ "Please install them before using bplusplus by following the instructions "
8
+ "on the official PyTorch website: https://pytorch.org/get-started/locally/"
9
+ )
10
+
1
11
  from .collect import Group, collect
2
- from .train_validate import train, validate
3
12
  from .prepare import prepare
4
- from .resnet.train import train_resnet
5
- from .resnet.test import test_resnet
6
- from .hierarchical.train import train_multitask
7
- from .hierarchical.test import test_multitask
13
+ from .train import train
14
+ from .test import test
15
+ from .inference import inference