Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nianchen Deng
deeplightfield
Commits
bac8c938
Commit
bac8c938
authored
Nov 10, 2020
by
BobYeah
Browse files
update
parent
5c75685b
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.py
View file @
bac8c938
...
@@ -25,9 +25,9 @@ IM_W = 640
...
@@ -25,9 +25,9 @@ IM_W = 640
N
=
9
# number of input light field stack
N
=
9
# number of input light field stack
M
=
2
# number of display layers
M
=
2
# number of display layers
DATA_FILE
=
"/home/yejiannan/Project/
L
ight
F
ield/data/try"
DATA_FILE
=
"/home/yejiannan/Project/
deepl
ight
f
ield/data/try"
DATA_JSON
=
"/home/yejiannan/Project/
L
ight
F
ield/data/data.json"
DATA_JSON
=
"/home/yejiannan/Project/
deepl
ight
f
ield/data/data.json"
OUTPUT_DIR
=
"/home/yejiannan/Project/
L
ight
F
ield/output"
OUTPUT_DIR
=
"/home/yejiannan/Project/
deepl
ight
f
ield/output"
class
lightFieldDataLoader
(
torch
.
utils
.
data
.
dataset
.
Dataset
):
class
lightFieldDataLoader
(
torch
.
utils
.
data
.
dataset
.
Dataset
):
def
__init__
(
self
,
file_dir_path
,
file_json
,
transforms
=
None
):
def
__init__
(
self
,
file_dir_path
,
file_json
,
transforms
=
None
):
...
...
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