bplusplus 1.2.1__py3-none-any.whl → 1.2.3__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,5 @@
1
1
  from .collect import Group, collect
2
- from .train_validate import train, validate
3
2
  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
3
+ from .train import train
4
+ from .test import test
5
+ from .inference import inference
bplusplus/collect.py CHANGED
@@ -114,6 +114,8 @@ def __next_batch(parameters: dict[str, Any], total_limit: int, offset: int, curr
114
114
  parameters["limit"] = total_limit
115
115
  parameters["offset"] = offset
116
116
  parameters["mediaType"] = ["StillImage"]
117
+ parameters["basisOfRecord"] = ["HUMAN_OBSERVATION", "LIVING_SPECIMEN", "MACHINE_OBSERVATION", "OBSERVATION", "OCCURRENCE"]
118
+ parameters["lifeStage"] = ["Adult"]
117
119
  search = pygbif.occurrences.search(**parameters)
118
120
  occurrences = search["results"]
119
121
  if search["endOfRecords"] or len(current) >= total_limit: