-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
Error when running .sh files #5
Comments
Reinstalled protobuf, and it worked. |
Sorry for the late reply; glad that you figured it out! |
I meet the same error,I try reinstall protobuf but it desn't work.so which version of protobuf is needed? |
Can you try the version |
In fact,I meet the same question with the issue while I create conda env by provided yml file and I make sure use However, I used a random 3. x version, specifically protobuf=3.19.1, and the code successfully ran |
(roland) aravinda@aravinda-1402:/media/aravinda/New Volume1/roland-master/run$ python3 main.py --cfg './roland_example.yaml' --repeat 1 --override_data_dir '/media/aravinda/New Volume1/roland-master/roland_public_data' --override_remark 'roland_example'
Traceback (most recent call last):
File "/media/aravinda/New Volume1/roland-master/run/main.py", line 12, in
from graphgym.logger import setup_printing, create_logger
File "/media/aravinda/New Volume1/roland-master/graphgym/logger.py", line 12, in
from tensorboardX import SummaryWriter
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/tensorboardX/init.py", line 5, in
from .torchvis import TorchVis
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/tensorboardX/torchvis.py", line 11, in
from .writer import SummaryWriter
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/tensorboardX/writer.py", line 17, in
from .comet_utils import CometLogger
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/tensorboardX/comet_utils.py", line 5, in
from google.protobuf.json_format import MessageToJson
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/google/protobuf/json_format.py", line 54, in
from google.protobuf.internal import type_checkers
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/google/protobuf/internal/type_checkers.py", line 51, in
from google.protobuf.internal import decoder
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/google/protobuf/internal/decoder.py", line 87, in
from google.protobuf.internal import encoder
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/google/protobuf/internal/encoder.py", line 71, in
from google.protobuf.internal import wire_format
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/google/protobuf/internal/wire_format.py", line 36, in
from google.protobuf import descriptor
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/google/protobuf/descriptor.py", line 40, in
from google.protobuf.internal import api_implementation
File "/home/aravinda/anaconda3/envs/roland/lib/python3.9/site-packages/google/protobuf/internal/api_implementation.py", line 104, in
from google.protobuf.pyext import _message
TypeError: bases must be types
The text was updated successfully, but these errors were encountered: