Open mxg007 opened 6 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: ''
You need to train this model yourself and save your own model weights. I didn't upload the pre-trained model weight.
thanks,I make it
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: ''