所以我正在研究NBIS。我试图使用mindtct
。当我将它用于单个图像时,它可以正常工作,但当我尝试为数据集运行它时,我收到此错误,
此时的形象出人意料
我在网上查了一下,它说需要双倍的工作量。我试过了,它仍然给我同样的错误。目录都是正确的。我正在使用Windows 10
@echo off
Rem set the path of the photo directory
Set dirP= C:\Biometric\photos
Rem set the path for the mindtct
Set dirM= "C:\Rel_5.0.0\mindtct\bin\"mindtct.exe
Set image="*.png"
for %%A in image
do(
START dirM dirP C:\Biometric\Data
)
您的代码中存在一些缺陷:
%
符号中(或使用DelayedExpansion封装!
)for /?
的语法或查看http://ss64.com/nt/for.html@echo off
Rem set the path of the photo directory
Set "dirP=C:\Biometric\photos"
Rem set the path for the mindtct
Set "dirM=C:\Rel_5.0.0\mindtct\bin\mindtct.exe"
Set "image=*.png"
for %%A in (%image%) do START "" "%dirM%" "%dirP%" C:\Biometric\Data