Spaces:
Paused
Paused
Update README.md
Browse files
README.md
CHANGED
@@ -60,6 +60,12 @@ python multigraph.py
|
|
60 |
```
|
61 |
By default, it creates a database for netuid 1.
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
## Screenshots
|
64 |
|
65 |
------
|
@@ -105,3 +111,33 @@ By default, it creates a database for netuid 1.
|
|
105 |
- Connectivity embedding of metagraph snapshots ➡️
|
106 |
- All of the above for user-selected UIDs/hotkeys 🧔
|
107 |
- Full block introspection 🗄️
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
```
|
61 |
By default, it creates a database for netuid 1.
|
62 |
|
63 |
+
|
64 |
+
To run the metagraph dashboard:
|
65 |
+
```
|
66 |
+
streamlit run metadash.py
|
67 |
+
```
|
68 |
+
|
69 |
## Screenshots
|
70 |
|
71 |
------
|
|
|
111 |
- Connectivity embedding of metagraph snapshots ➡️
|
112 |
- All of the above for user-selected UIDs/hotkeys 🧔
|
113 |
- Full block introspection 🗄️
|
114 |
+
|
115 |
+
|
116 |
+
## Known Bug
|
117 |
+
|
118 |
+
There are compatibilty issues with protobuf, which cause errors sucha as
|
119 |
+
```
|
120 |
+
2023-07-28 23:20:04.943 Uncaught app exception
|
121 |
+
Traceback (most recent call last):
|
122 |
+
File "/home/steffen/dashboards/env/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
|
123 |
+
exec(code, module.__dict__)
|
124 |
+
File "/home/steffen/dashboards/metadash.py", line 24, in <module>
|
125 |
+
import bittensor
|
126 |
+
File "/home/steffen/bittensor/bittensor/__init__.py", line 170, in <module>
|
127 |
+
import bittensor._proto.bittensor_pb2 as proto
|
128 |
+
File "/home/steffen/bittensor/bittensor/_proto/bittensor_pb2.py", line 32, in <module>
|
129 |
+
_descriptor.EnumValueDescriptor(
|
130 |
+
File "/home/steffen/dashboards/env/lib/python3.8/site-packages/google/protobuf/descriptor.py", line 796, in __new__
|
131 |
+
_message.Message._CheckCalledFromGeneratedFile()
|
132 |
+
TypeError: Descriptors cannot not be created directly.
|
133 |
+
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
|
134 |
+
If you cannot immediately regenerate your protos, some other possible workarounds are:
|
135 |
+
1. Downgrade the protobuf package to 3.20.x or lower.
|
136 |
+
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
|
137 |
+
|
138 |
+
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
|
139 |
+
```
|
140 |
+
If this happens, you can export the recommended variable and rerun
|
141 |
+
```
|
142 |
+
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python streamlit run metadash.py
|
143 |
+
```
|