|
PhysAugNet 1.0.1
VQ-VQE powered augmentation for metal defect segmentation
|
Public Member Functions | |
| __init__ (self, num_embeddings=512, embedding_dim=64, commitment_cost=0.25) | |
| forward (self, x) | |
Public Attributes | |
| embedding = nn.Embedding(num_embeddings, embedding_dim) | |
| commitment_cost = commitment_cost | |
| vqvae.VectorQuantizer.__init__ | ( | self, | |
| num_embeddings = 512, | |||
| embedding_dim = 64, | |||
| commitment_cost = 0.25 ) |
| vqvae.VectorQuantizer.embedding = nn.Embedding(num_embeddings, embedding_dim) |