PaParaZz1 / PointNet

pytorch implement for PointNet
MIT License
4 stars 0 forks source link

FileNotFoundError: [Errno 2] No such file or directory #1

Open mxg007 opened 5 years ago

mxg007 commented 5 years ago

Dear friends: When I run show_cls.py,there is an error:

F:\anaconda1\python.exe C:/Users/123456/Desktop/PointNet/pointnet_pytorch-master_lingzhang1/show_cls1.py Namespace(model='', num_points=2500) {'Airplane': 0, 'Bag': 1, 'Cap': 2, 'Car': 3, 'Chair': 4, 'Earphone': 5, 'Guitar': 6, 'Knife': 7, 'Lamp': 8, 'Laptop': 9, 'Motorbike': 10, 'Mug': 11, 'Pistol': 12, 'Rocket': 13, 'Skateboard': 14, 'Table': 15} Traceback (most recent call last): File "C:/Users/123456/Desktop/PointNet/pointnet_pytorch-master_lingzhang1/show_cls1.py", line 31, in classifier.load_state_dict(torch.load(opt.model)) File "F:\anaconda1\lib\site-packages\torch\serialization.py", line 301, in load f = open(f, 'rb') FileNotFoundError: [Errno 2] No such file or directory: ''

PaParaZz1 commented 5 years ago

You need to train this model yourself and save your own model weights. I didn't upload the pre-trained model weight.

mxg007 commented 5 years ago

thanks,I make it