transformer icon indicating copy to clipboard operation
transformer copied to clipboard

Traing Problem

Open guozhengpku opened this issue 6 years ago • 4 comments

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

guozhengpku avatar Jun 16 '18 08:06 guozhengpku

I also encountered this situation, but it does not seem to affect the results.

MakiSzz avatar Jul 02 '18 08:07 MakiSzz

I also encountered this situation,this will result in the train model can not to work. How to solve it

AbnerCode avatar Sep 18 '18 05:09 AbnerCode

I met the question, too. Last month, the program can run, but now it cannot.

yjyGo avatar May 20 '19 05:05 yjyGo

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.

yjyGo avatar May 20 '19 06:05 yjyGo