tensorboardX 报错TypeError:

it2022-05-05  96

from tensorboardX import SummaryWriter报错如下:

TypeError: __init__() got an unexpected keyword argument 'serialized_options'

解决方法:

set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp python -mpip install protobuf --upgrade

最新回复(0)