python ./compress.py 'ModelNet40_pc_01_8192p/airplane/test/*.ply' './test' './model/K256' --K 25
And getting:
Traceback (most recent call last):
File "/home/ichlubna/Workspace/IPDAE/./compress.py", line 56, in <module>
ae.load_state_dict(torch.load(NET_PATH))
File "/usr/lib/python3.11/site-packages/torch/nn/modules/module.py", line 2153, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for AE:
size mismatch for inv_pool.4.weight: copying a param with shape torch.Size([16384, 1024]) from checkpoint, the shape in current model is torch.Size([1536, 1024]).
size mismatch for inv_pool.4.bias: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([1536]).