Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FML Project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Meet Narendra
FML Project
Commits
9d6946db
Commit
9d6946db
authored
Nov 23, 2022
by
Meet Narendra
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified batch size
parent
c4288d29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
1703.10593/preprocess.py
1703.10593/preprocess.py
+2
-2
No files found.
1703.10593/preprocess.py
View file @
9d6946db
...
@@ -17,8 +17,8 @@ class LoadData(Dataset):
...
@@ -17,8 +17,8 @@ class LoadData(Dataset):
self
.
pair
=
pair
self
.
pair
=
pair
self
.
type
=
type_data
self
.
type
=
type_data
self
.
transform
=
transforms
.
Compose
([
self
.
transform
=
transforms
.
Compose
([
transforms
.
Resize
(
int
(
64
*
1.12
),
Image
.
BICUBIC
),
transforms
.
Resize
(
int
(
256
*
1.12
),
Image
.
BICUBIC
),
transforms
.
RandomCrop
(
64
),
transforms
.
RandomCrop
(
256
),
transforms
.
RandomHorizontalFlip
(),
transforms
.
RandomHorizontalFlip
(),
transforms
.
ToTensor
(),
transforms
.
ToTensor
(),
transforms
.
Normalize
((
0.5
,
0.5
,
0.5
),
(
0.5
,
0.5
,
0.5
)),
transforms
.
Normalize
((
0.5
,
0.5
,
0.5
),
(
0.5
,
0.5
,
0.5
)),
...
...
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