EnyaHermite / SPH3D-GCN

Spherical Kernel for Efficient Graph Convolution on 3D Point Clouds
MIT License
170 stars 32 forks source link

module 'shapenet_config' has no attribute 'multiscale' #13

Open CZ-Wu opened 4 years ago

CZ-Wu commented 4 years ago

When I run the code train_shapenet.py, I get several errors, like module 'shapenet_config' has no attribute 'multiscale', build_graph_deconv() got an unexpected keyword argument 'nnsearch'. It seems that you give the wrong params to the functions s3g_util.build_graph and s3g_util.build_graph_deconv in: https://github.com/hlei-ziyan/SPH3D-GCN/blob/6ca77b5906a6f3a228cb655156bfa7a58ee86e9c/models/SPH3D_shapenet.py#L51-L54 https://github.com/hlei-ziyan/SPH3D-GCN/blob/6ca77b5906a6f3a228cb655156bfa7a58ee86e9c/models/SPH3D_shapenet.py#L89-L92 How to fix these?

EnyaHermite commented 3 years ago

Thanks for the pointing this out. The previous uploaded 'SPH3D_shapenet.py' is an primitive version. I have updated SPH3D_shapenet.py and SPH3D_shapenet_onehot.py.