ranahanocka / MeshCNN

Convolutional Neural Network for 3D meshes in PyTorch
MIT License
1.56k stars 314 forks source link

What is the meanning of input_nc? #86

Open liangqianqian123 opened 4 years ago

liangqianqian123 commented 4 years ago

I want to what is the meaning of opt.inpu_nc? And I cannot find the definition of input_nc, I want to know where is it defined? Thank you!

ranahanocka commented 4 years ago

Hi @liangqianqian123 ,

it means number of input channels (input features). In the case of this work, opt.input_nc = 5 (always). It is the 5-dimensional geometric feature vector.

It is defined in the dataset class. For example, in classification it is defined here https://github.com/ranahanocka/MeshCNN/blob/15b83cc6a4db968baf6cf595df78995a9c2dcee3/data/classification_data.py#L22

and self.ninput_channels is set during the call to get_mean_std().