We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for your nice work. My model use the densenet connections like:
tensorFeat = torch.cat([self.moduleOne(tensorFeat), tensorFeat], 1) tensorFeat = torch.cat([self.moduleTwo(tensorFeat), tensorFeat], 1) tensorFeat = torch.cat([self.moduleThr(tensorFeat), tensorFeat], 1) tensorFeat = torch.cat([self.moduleFou(tensorFeat), tensorFeat], 1) tensorFeat = torch.cat([self.moduleFiv(tensorFeat), tensorFeat], 1)
What do I need to do to implement efficient technology to save this part of memory consumption.Densenet connections is just a part of my full model.
The text was updated successfully, but these errors were encountered:
It really depends on the other aspects of your model. This implementation uses torch's gradient checkpointing feature: https://github.com/gpleiss/efficient_densenet_pytorch/blob/master/models/densenet.py#L38 - which trades off time for memory efficiency.
See these docs for more information.
Sorry, something went wrong.
No branches or pull requests
Thank you for your nice work.
My model use the densenet connections like:
tensorFeat = torch.cat([self.moduleOne(tensorFeat), tensorFeat], 1)
tensorFeat = torch.cat([self.moduleTwo(tensorFeat), tensorFeat], 1)
tensorFeat = torch.cat([self.moduleThr(tensorFeat), tensorFeat], 1)
tensorFeat = torch.cat([self.moduleFou(tensorFeat), tensorFeat], 1)
tensorFeat = torch.cat([self.moduleFiv(tensorFeat), tensorFeat], 1)
What do I need to do to implement efficient technology to save this part of memory consumption.Densenet connections is just a part of my full model.
The text was updated successfully, but these errors were encountered: