Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
taming-transformers_pytorch
Commits
f56ae884
"vscode:/vscode.git/clone" did not exist on "891b9a9fb231fdbcfed72b36bdff167d05afa9c3"
Commit
f56ae884
authored
Mar 01, 2024
by
mashun1
Browse files
Merge branch 'master' of
http://developer.hpccube.com/codes/modelzoo/taming-transformers_pytorch
parents
031cd626
41973afa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
taming/data/faceshq.py
taming/data/faceshq.py
+2
-2
No files found.
taming/data/faceshq.py
View file @
f56ae884
...
...
@@ -137,8 +137,8 @@ class FacesHQValidation(Dataset):
additional_targets
=
{
"coord"
:
"image"
})
def
__len__
(
self
):
#
return len(self.data)
return
1000
return
len
(
self
.
data
)
#
return 1000
def
__getitem__
(
self
,
i
):
ex
,
y
=
self
.
data
[
i
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment