-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
about the predict.py #355
Comments
I think it only works with imgs as input? |
How to test a whole folder of images? |
just drag files into cmd |
好像不行,,, |
Have you solved it, please? |
用glob呗 |
when i run the predict.py , it has some mistakes:
Traceback (most recent call last):
File "/home/atr2/Code/Pytorch-UNet-master/predict.py", line 101, in
img = Image.open(filename)
File "/home/atr2/anaconda3/envs/PyTorch/lib/python3.7/site-packages/PIL/Image.py", line 2904, in open
fp = builtins.open(filename, "rb")
IsADirectoryError: [Errno 21] Is a directory: '.'
I only change the data root,
How can i deal with it, thanks.
The text was updated successfully, but these errors were encountered: