seasonSH / DocFace

Face recognition system for ID photos
MIT License
371 stars 124 forks source link

import tflib error! #6

Closed smartadpole closed 5 years ago

seasonSH commented 5 years ago

Could you give more details about your error?

Lin427 commented 5 years ago

If you use pycharm, you can solve the problem by doing the following: Right click on the src file -> Mark Directory as->Sources Root.

smartadpole commented 5 years ago

If you use pycharm, you can solve the problem by doing the following: Right click on the src file -> Mark Directory as->Sources Root.

谢谢,后来解决了,之前是因为没有安装 tflib,pip install tflib 就好了 @seasonSH

seasonSH commented 5 years ago

If you use pycharm, you can solve the problem by doing the following: Right click on the src file -> Mark Directory as->Sources Root.

谢谢,后来解决了,之前是因为没有安装 tflib,pip install tflib 就好了 @seasonSH

tflib is not an external library. It refers to the file "src/tflib.py". Make sure you are in the correct working directory when you run the code.

smartadpole commented 5 years ago

If you use pycharm, you can solve the problem by doing the following: Right click on the src file -> Mark Directory as->Sources Root.

谢谢,后来解决了,之前是因为没有安装 tflib,pip install tflib 就好了 @seasonSH

tflib is not an external library. It refers to the file "src/tflib.py". Make sure you are in the correct working directory when you run the code.

两者都能工作,你做过 tflib 的打包和发布

seasonSH commented 5 years ago

That's weird... I never did. Are you sure it works?

smartadpole commented 5 years ago

That's weird... I never did. Are you sure it works?

代码不报错,而且函数也都能跳转到正确的位置;整个工程并没有运行

seasonSH commented 5 years ago

So it's not working?

smartadpole commented 5 years ago

So it's not working?

It do not work. But I'm not exactly sure whether my setting is error. 我分别实现了numpy 和 mxnet 版本,可以工作;思路没错

seasonSH commented 5 years ago

I am pretty sure there is something wrong with tflib. If you still want to use this tensorflow implementation, try to uninstall tflib library you have and fix the working path.