meetps / pytorch-semseg

Semantic Segmentation Architectures Implemented in PyTorch
https://meetshah.dev/semantic-segmentation/deep-learning/pytorch/visdom/2017/06/01/semantic-segmentation-over-the-years.html
MIT License
3.38k stars 799 forks source link

test.py error #249

Open wwwmmmqqq opened 3 years ago

wwwmmmqqq commented 3 years ago

Why can not i run test.py directly。It is runing 'pytest' in 'test.py'

kubitz commented 3 years ago

It might be because you have a pytest installed and it assumes test.py is a test file and run it as such. Try renaming test.py to another name (e.g. demo.py) and see you still cannot run it.