transformer
transformer copied to clipboard
Traing Problem
When I trained this model.something wrong with tensor
'Tensor' object has no attribute 'to_proto'
WARNING:tensorflow:Error encountered when serializing global_step.
Type is unsupported, or the types of the items don't match field type in CollectionDef.
How to solve it
I also encountered this situation, but it does not seem to affect the results.
I also encountered this situation,this will result in the train model can not to work. How to solve it
I met the question, too. Last month, the program can run, but now it cannot.
It just a warning, not a big problem. Maybe you can check your data_loader.py, your variable such as maxseq, batch_size, batch_num,etc.