alexlee-gk / lpips-tensorflow

Tensorflow port for the Learned Perceptual Image Patch Similarity (LPIPS) metric.
BSD 2-Clause "Simplified" License
130 stars 30 forks source link

What is your tensorflow version? #6

Open tongshiwen opened 5 years ago

tongshiwen commented 5 years ago

I've encountered this bug: ValueError: NodeDef mentions attr 'Truncate' not in Op<name=Cast; signature=x:SrcT -> y:DstT; attr=SrcT:type; attr=DstT:type>; NodeDef: import/Cast_10 = CastDstT=DT_INT64, SrcT=DT_INT32, Truncate=false. (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).

heerduo commented 4 years ago

You can use 'conda install tensorflow==1.7.0'