Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows上能否运行该程序 #15

Open
ChapterFive-Hero opened this issue Jun 13, 2019 · 3 comments
Open

windows上能否运行该程序 #15

ChapterFive-Hero opened this issue Jun 13, 2019 · 3 comments

Comments

@ChapterFive-Hero
Copy link

您好,不知道该MTCNN项目能不能在windows上运行呢?如不能的话,有windows上相关的资源吗?如您方便时能回复,万分感谢

@LeslieZhoa
Copy link
Owner

Hi @ChapterFive-Hero windows可以运行的

@ChapterFive-Hero
Copy link
Author

@LeslieZhoa 真心感谢您抽空回复。
嗯,我已经在windows上运行了相关的数据预处理程序,但是我没有使用命令行的方式执行。我在执行训练PNet网络时,将size直接定义为12(同时注释掉相关命令行操作,如parse_arguments()函数),开始执行程序,然后报错:
InvalidArgumentError (see above for traceback): Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero
不知道如何处理,请您方便的时候解答下,真心万分感谢,纠结几天了,愁死我了,如您方便也可以联系我QQ:1203532979

@jt-z
Copy link

jt-z commented Jul 5, 2019

如果你直接运行并且写死size大小,就需要同时修改内部的代码,将内部相关的部分都修改,并且注释掉解析参数部分。
因为里面有解析程序输入参数的函数,这个报错的意思就是在运行解析参数函数时程序中没有检测到输入的参数(因为运行时没有输入参数所以检测不到)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants