We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In connectomics/data/dataset/build.py, line 351 the input loading works the following way:
connectomics/data/dataset/build.py
351
volume, label, valid_mask = _get_input(cfg, mode, rank, dir_name_init, img_name_init, min_size=sample_volume_size)
However, if we look at the function _get_input definition:
_get_input
def _get_input(cfg, mode='train', rank=None, preload_data=None, dir_name_init: Optional[list] = None, img_name_init: Optional[list] = None, min_size: Optional[tuple] = None, image_only_test: bool = True):
Which means that in line 351, dir_name_init will be used as preload_data in the _get_input function
dir_name_init
preload_data
Changing line 351 by adding a keyword for dir_name_init:
volume, label, valid_mask = _get_input(cfg, mode, rank, dir_name_init=dir_name_init, img_name_init=img_name_init, min_size=sample_volume_size)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
In
connectomics/data/dataset/build.py
, line351
the input loading works the following way:volume, label, valid_mask = _get_input(cfg, mode, rank, dir_name_init, img_name_init, min_size=sample_volume_size)
However, if we look at the function
_get_input
definition:def _get_input(cfg, mode='train', rank=None, preload_data=None, dir_name_init: Optional[list] = None, img_name_init: Optional[list] = None, min_size: Optional[tuple] = None, image_only_test: bool = True):
Which means that in line
351
,dir_name_init
will be used aspreload_data
in the_get_input
functionBug fix proposition
Changing line
351
by adding a keyword fordir_name_init
:volume, label, valid_mask = _get_input(cfg, mode, rank, dir_name_init=dir_name_init, img_name_init=img_name_init, min_size=sample_volume_size)
The text was updated successfully, but these errors were encountered: