Skip to content

Commit

Permalink
revise readme as comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoXing1996 committed Jul 14, 2023
1 parent 57d85e4 commit 69aa0e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configs/textual_inversion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Text-to-image models offer unprecedented freedom to guide creation through natur

## Quick Start

1. Download [data](<>) and save to `data/`
1. Download [data](https://drive.google.com/drive/folders/1fmJMs25nxS_rSNqS5hTcRdLem_YQXbq5) and save to `data/cat_toy`

The file structure will be like this:

Expand Down Expand Up @@ -80,7 +80,7 @@ state_dict = process_state_dict(checkpoint['state_dict'])
model = MODELS.build(cfg.model)
model.load_state_dict(state_dict)

model.cuda()
model = model.cuda()
with torch.no_grad():
sample = model.infer('a <cat-toy> bag')['samples'][0]

Expand Down

0 comments on commit 69aa0e0

Please sign in to comment.