Skip to content
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

依赖包报错 #42

Open
NooooBuG opened this issue Mar 13, 2022 · 3 comments
Open

依赖包报错 #42

NooooBuG opened this issue Mar 13, 2022 · 3 comments

Comments

@NooooBuG
Copy link

Traceback (most recent call last):
File "E:/王庆洲毕设/PyTorch_Tutorial-master/Code/main_training/main.py", line 38, in
writer = SummaryWriter(log_dir=log_dir)
File "D:\MiniConda3\envs\PyTorch_Tutorial-master\lib\site-packages\tensorboardX\writer.py", line 292, in init
from caffe2.python import workspace # workaround for pytorch/issue#10249
File "D:\MiniConda3\envs\PyTorch_Tutorial-master\lib\site-packages\caffe2\python_init_.py", line 2, in
from caffe2.proto import caffe2_pb2
File "D:\MiniConda3\envs\PyTorch_Tutorial-master\lib\site-packages\caffe2\proto_init_.py", line 11, in
from caffe2.proto import caffe2_pb2, metanet_pb2, torch_pb2
File "D:\MiniConda3\envs\PyTorch_Tutorial-master\lib\site-packages\caffe2\proto\caffe2_pb2.py", line 22, in
create_key=_descriptor._internal_create_key,
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'

@NooooBuG
Copy link
Author

writer = SummaryWriter(log_dir=log_dir)
此处报错

@NooooBuG
Copy link
Author

请问requirement.txt是否应该更新了

@NooooBuG
Copy link
Author

已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant