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
If network_config is misconfigured for search_params.py, this is the error that you get
network_config
search_params.py
File "/home/user/miniconda3/envs/ray/lib/python3.8/site-packages/ray/tune/trainable/trainable.py", line 355, in train raise skipped from exception_cause(skipped) File "/home/user/miniconda3/envs/ray/lib/python3.8/site-packages/ray/tune/trainable/function_trainable.py", line 325, in entrypoint return self._trainable_func( File "/home/user/miniconda3/envs/ray/lib/python3.8/site-packages/ray/tune/trainable/function_trainable.py", line 651, in _trainable_func output = fn() File "/home/user/miniconda3/envs/ray/lib/python3.8/site-packages/ray/tune/trainable/util.py", line 374, in _inner inner(config, checkpoint_dir=None) File "/home/user/miniconda3/envs/ray/lib/python3.8/site-packages/ray/tune/trainable/util.py", line 365, in inner trainable(config, **fn_kwargs) File "search_params.py", line 37, in train_libmultilabel_tune trainer = TorchTrainer( File "/home/user/workspace/LibMultiLabel/torch_trainer.py", line 69, in __init__ self._setup_model( File "/home/user/workspace/LibMultiLabel/torch_trainer.py", line 154, in _setup_model self.model = init_model( File "/home/user/workspace/LibMultiLabel/libmultilabel/nn/nn_utils.py", line 95, in init_model raise AttributeError(f"Failed to initialize {model_name}.") AttributeError: Failed to initialize KimCNN.
which gives you no clue what the problem is. This is because of how the exception is being handled: https://github.com/ASUS-AICS/LibMultiLabel/blob/415d2125bb980167eac7ae582b78979f57d22dd9/libmultilabel/nn/nn_utils.py#L92-L95
This does not rethrow the exception, it raises another one, and that is what is being shown in the error.
The text was updated successfully, but these errors were encountered:
Eleven1Liu
No branches or pull requests
If
network_config
is misconfigured forsearch_params.py
, this is the error that you getwhich gives you no clue what the problem is.
This is because of how the exception is being handled:
https://github.com/ASUS-AICS/LibMultiLabel/blob/415d2125bb980167eac7ae582b78979f57d22dd9/libmultilabel/nn/nn_utils.py#L92-L95
This does not rethrow the exception, it raises another one, and that is what is being shown in the error.
The text was updated successfully, but these errors were encountered: