Closed xiaofof closed 5 years ago
It does not matter for your training. You can comment the following codes out.
data_loader_iter = iter(data_loader)
x, y = next(data_loader_iter)
try:
writer.add_graph(model, x) # exception here
except Exception as e:
print("Failed to save model graph: {}".format(e))
return writer
There is some uncommon operations in the model definition, so this error occurs. But it is unnecessary for your training to see the model graph.