Comments (6)
@jakc4103 It turns out to be a version conflict of hydra.
Can you try:
pip install hydra-core --upgrade
pip show hydra-core # >= 1.2.0 should work
from nnsmith.
Ah, I see. I'm sorry, my pypi didn't fall into this setting to tell you about this bug.
Thanks for diagnosing this issue! Would you like to claim your contribution via a quick PR? It could be very similar to https://github.com/ise-uiuc/nnsmith/pull/68/files which just needs to add a version constraint for hydra-colorlog
in both requirements/core.txt
and setup.cfg
. Of course, I can help add that if you are not interested. Thanks!
from nnsmith.
Feel free to reopen if it is not resolved. Thanks!
from nnsmith.
seems like some version conflict still exist?
File "/venv/test/lib/python3.8/site-packages/hydra/_internal/utils.py", line 213, in run_and_report
return func()
File "/venv/test/lib/python3.8/site-packages/hydra/_internal/utils.py", line 453, in <lambda>
lambda: hydra.run(
File "/venv/test/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 105, in run
cfg = self.compose_config(
File "/venv/test/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 602, in compose_config
configure_log(cfg.hydra.hydra_logging, cfg.hydra.verbose)
File "/venv/test/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 361, in __getattr__
self._format_and_raise(key=key, value=None, cause=e)
File "/venv/test/lib/python3.8/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/venv/test/lib/python3.8/site-packages/omegaconf/_utils.py", line 873, in format_and_raise
_raise(ex, cause)
File "/venv/test/lib/python3.8/site-packages/omegaconf/_utils.py", line 771, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/venv/test/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 353, in __getattr__
return self._get_impl(
File "/venv/test/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 453, in _get_impl
return self._resolve_with_default(
File "/venv/test/lib/python3.8/site-packages/omegaconf/basecontainer.py", line 96, in _resolve_with_default
raise MissingMandatoryValue("Missing mandatory value: $FULL_KEY")
omegaconf.errors.MissingMandatoryValue: Missing mandatory value: hydra.hydra_logging
full_key: hydra.hydra_logging
object_type=HydraConf
versions I used:
hydra-core: 1.2.0
omegaconf: 2.2.1
from nnsmith.
Hi @jakc4103 , I was able to still run it with hydra-core==1.2.0
and omegaconf==2.2.1
over Python3.
Can you double check with the lastest commit for using NNSmith?
pip install "git+https://github.com/ise-uiuc/nnsmith@main#egg=nnsmith[torch,onnx]" --upgrade
Meanwhile, please kindly find this colab script for a working example:
https://colab.research.google.com/drive/1cbLiDvDLDY_MQfH2flNYbCP9aMNlFqLX?usp=sharing
from nnsmith.
version of hydra-colorlog
must be v1.2.0, instead of v1.0.0
otherwise one might ran into errors similar to this
seems like some version conflict still exist?
File "/venv/test/lib/python3.8/site-packages/hydra/_internal/utils.py", line 213, in run_and_report return func() File "/venv/test/lib/python3.8/site-packages/hydra/_internal/utils.py", line 453, in <lambda> lambda: hydra.run( File "/venv/test/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 105, in run cfg = self.compose_config( File "/venv/test/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 602, in compose_config configure_log(cfg.hydra.hydra_logging, cfg.hydra.verbose) File "/venv/test/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 361, in __getattr__ self._format_and_raise(key=key, value=None, cause=e) File "/venv/test/lib/python3.8/site-packages/omegaconf/base.py", line 231, in _format_and_raise format_and_raise( File "/venv/test/lib/python3.8/site-packages/omegaconf/_utils.py", line 873, in format_and_raise _raise(ex, cause) File "/venv/test/lib/python3.8/site-packages/omegaconf/_utils.py", line 771, in _raise raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace File "/venv/test/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 353, in __getattr__ return self._get_impl( File "/venv/test/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 453, in _get_impl return self._resolve_with_default( File "/venv/test/lib/python3.8/site-packages/omegaconf/basecontainer.py", line 96, in _resolve_with_default raise MissingMandatoryValue("Missing mandatory value: $FULL_KEY") omegaconf.errors.MissingMandatoryValue: Missing mandatory value: hydra.hydra_logging full_key: hydra.hydra_logging object_type=HydraConf
versions I used: hydra-core: 1.2.0 omegaconf: 2.2.1
from nnsmith.
Related Issues (20)
- [Tracking] Make Python >= 3.8 mandatory
- 💡 [Dynamic Graph] - Does nnsmith support dynamic graphs? HOT 3
- 💡 [REQUEST] TF Coverage Tutorial and Script
- TF Coverage Scripts and Tutorial HOT 1
- [Dev] `hydra` -> `click`
- [Question] Customize the number of input/output variables in generated graphs HOT 9
- 💡 [REQUEST] - Tutorial of adding a new operator for GIR HOT 4
- 🐛 [BUG] - <`ONNXModelCPU_tvm_0.9.0_cpu.yaml` file was empty, can't get opset properly properly> HOT 11
- Render seems to not work HOT 6
- 🐛 [BUG] - There is a problem with relative import in `fuzz.py` HOT 2
- Some questions about the replication of the experiment HOT 6
- Problems encountered while compiling the onnx model HOT 4
- [Help wanted] How to get the shape of the output tensor of a operator HOT 5
- [Help wanted] How to get the result of executing model_exec.py? HOT 7
- [User Question] integer type annotation in TVM HOT 2
- 🐛 [BUG] - <An error occurred when loading the onnx model generated by nnsmith using tvm.delay.> HOT 1
- [Help Wanted] Problems encountered when converting the onnx model to tvm.relay HOT 3
- [Help Wanted] How to only generate sequential models HOT 2
- Help Wanted - How does one generate minimum code examples from NNSmith bug reports HOT 3
- Instruction of TVM COV HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nnsmith.