Skip to content

Commit

Permalink
remove image tensor after initial priming training
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Feb 1, 2021
1 parent 3bcdfdd commit 2f873f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions deep_daze/deep_daze.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ def forward(self):
print('interrupted by keyboard, gracefully exiting')
return exit()

del self.start_image
del optim

tqdm.write(f'Imagining "{self.text}" from the depths of my weights...')

if self.open_folder:
Expand Down
2 changes: 1 addition & 1 deletion deep_daze/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.4.0'
__version__ = '0.4.1'

0 comments on commit 2f873f8

Please sign in to comment.