-
Notifications
You must be signed in to change notification settings - Fork 52
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
Errors in test.py #42
Comments
Replace icboard in line 16, |
@PingoLH @SiftingSands Hello,I met another problem when I run the test.py ,
but it keeps appearancing this error: do u know what's the problem is?thanks very much !!! |
Try "--input /media/echo/Echo/datasets/Cityscapes". That cityscapes dataloader is already making assumptions on your directory structure. |
@SiftingSands thanks I will try ! |
@SiftingSands @EchoAmor @PingoLH I get the following error:
|
When I use this command to test I got error:
python test.py --model_path weights/hardnet70_cityscapes_model.pkl --dataset cityscapes --size 2048,1024 --input [input/a.jpg] --output [output]
The following error occurred. Please point out what needs to be fixed.
Error:
Traceback (most recent call last):
File "test.py", line 119, in
test(args)
File "test.py", line 36, in test
device, model, loader = init_model(args)
File "test.py", line 16, in init_model
data_loader = get_loader("icboard")
File "C:\Users\students\Desktop\rakuseki\seg\FCHarDNet-master\ptsemseg\loader_init_.py", line 27, in get_loader
}[name]
KeyError: 'icboard'
The weight files and input image files are located in the following paths.
--model_path weights/hardnet70_cityscapes_model.pkl
--input input/a.jpg]
The text was updated successfully, but these errors were encountered: