How to Solve TypeError: Fetch argument None has invalid type

problem:
TypeError: Fetch argument None has invalid type <class’NoneType’>

Solution:

It may be because sess.run([op])the op operation in does not exist, that is, it is None.


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *