TropComplique / FaceBoxes-tensorflow

A fast face detector
MIT License
179 stars 66 forks source link

Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary. #30

Open monsterlyg opened 5 years ago

monsterlyg commented 5 years ago

I used tf with version 1.4 before,but when I run the try_detector.py, it raised the error: ValueError: No op named NonMaxSuppressionV3 in defined operations. Then I updated my tf version from 1.4 to 1.8, but it raises another error: ValueError: NodeDef mentions attr 'Truncate' not in Op<name=Cast; signature=x:SrcT -> y:DstT; attr=SrcT:type; attr=DstT:type>; NodeDef: import/anchor_generator/ToFloat_34 = CastDstT=DT_FLOAT, SrcT=DT_INT32, Truncate=false. Some people with the some issue suggest that the lower version of tf 1.10 can resolve the problem.But it will bring the issue before. How can i reslove the issue? Is it related with the system? I use win and the model was created on linux?

monsterlyg commented 5 years ago

i solved the problem when i run in Linux with python3.7 & TensorFlow1.14

StormArcher commented 5 years ago

I HAVE the same problem 'ValueError: No op named NonMaxSuppressionV3' my tf is 1.6