If you uninstall tensorboard (and just have pytorch installed), do you still get this error? As long as you don’t run tensorboard I don’t think this is what is causing your error (so I guess this is the wrong thread to ask this), as SummaryWriter is part of pytorch itself. As always I recommend starting with a fresh installation with the bare minimum you need.
Maybe protobuf is your problem? https://stackoverflow.com/questions/50338968/objectdetecionapi-typeerror-new-got-an-unexpected-keyword-argument-seria 30