-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gunpowder AssertionError: Cannot pick a random location, intersection of upstream ROIs is unbounded. #4
Comments
For Zebrafinch ground truth data, the labels exist in
We do two things to circumvent this problem (may not be the best solution, works for now):
|
Why this happens?
ERROR: Traceback (most recent call last):
File "/net/ark/scratch/smohinta/connexion/codebases/restructured_packages/local_shape_descriptors/conda_env/src/gunpowder/gunpowder/nodes/batch_provider.py", line 182, in request_batch
self.check_request_consistency(request)
File "/net/ark/scratch/smohinta/connexion/codebases/restructured_packages/local_shape_descriptors/conda_env/src/gunpowder/gunpowder/nodes/batch_provider.py", line 249, in check_request_consistency
request_roi.shape[d] % provided_spec.voxel_size[d] == 0
TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' |
Error in
RandomLocation
:AssertionError: Can not pick a random location, intersection of upstream ROIs is unbounded.
This happens if the input shape is larger than the shape of the volumes.
Example:
You have bunch of volumes of which the smallest has the following shapes, it will clearly cause a problem as the raw is never padded.
150 x 150
in yx.268 x 268
in zyx.168 x 168
in zyx.The text was updated successfully, but these errors were encountered: