Skip to content

moshanATucsd/starmap_train_with_dropout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readme

This repo contains the code for training starmap with dropout, used in OrcVIO.

modification to add dropout layer

The following code in lib/models/hg.py is changed to add dropout layers

"""no dropout"""
# lin = nn.Sequential(nn.Conv2d(self.nFeats, self.nFeats, bias = True, kernel_size = 1, stride = 1),
#                     nn.BatchNorm2d(self.nFeats), self.relu)

"""add dropout"""
lin = nn.Sequential(nn.Conv2d(self.nFeats, self.nFeats, bias = True, kernel_size = 1, stride = 1),
                    nn.BatchNorm2d(self.nFeats), self.relu, nn.Dropout(0.5))

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published