module 'hub' has no attribute 'mockingjay_local'
See original GitHub issueHello. I am trying to run the Mockingjay downstream task using this command python run_downstream.py -m train -u mockingjay_local -k '<path to .ckpt>' -d phone_linear -n mockingjayDown
. on an HPC. I am getting the following error:
File "run_downstream.py", line 225, in <module>
main()
File "run_downstream.py", line 220, in main
runner = Runner(args, config)
File "<path>/s3prl/downstream/runner.py", line 103, in __init__
self.upstream = self._get_upstream()
File "<path>/s3prl/downstream/runner.py", line 143, in _get_upstream
Upstream = getattr(hub, self.args.upstream)
AttributeError: module 'hub' has no attribute 'mockingjay_local'
Please let me know how to resolve the issue or if I need to provide more details. Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
module 'tensorflow' has no attribute 'flags'" message - Stack ...
I have created a local conda environment installed all packages. Current tf version: Tensorflow 2.0 and local tf hub version : tensorflow-hub ......
Read more >hub.Module - TensorFlow
A Module has a defined interface that allows it to be used in a replaceable way, with little or no knowledge of its...
Read more >torch.hub — PyTorch 1.13 documentation
Pytorch Hub supports publishing pre-trained models(model definitions and pre-trained weights) to a github repository by adding a simple hubconf.py file;.
Read more >AttributeError: module 'tensorflow' has no attribute 'placeholder'
Find professional answers about "AttributeError: module 'tensorflow' has no attribute 'placeholder'" in 365 Data Science's Q&A Hub.
Read more >How to use TensorFlow Hub with code examples - Medium
All the module, comes with the 'default' signature and makes use of it, if a signature is not explicitly mentioned. For most of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for sharing, I will work on this next Monday
Here is the link to the checkpoint: https://drive.google.com/file/d/1eo4SO8pmFjCvjKJ3YZJPHWssagaqjrsK/view?usp=sharing. I also tried retraining it (pretrain) and ran into the same error.