Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design2
/
2016104167
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
조현아
2020-04-15 17:13:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dad343e2295e5958c37c01a420e5e0f7847141f7
dad343e2
1 parent
46980b15
modified log dir
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
code/FAA2_VM/train.py
code/FAA2_VM/train.py
View file @
dad343e
...
...
@@ -26,7 +26,7 @@ def train(**kwargs):
print
(
'
\n
[+] Create log dir'
)
model_name
=
get_model_name
(
args
)
log_dir
=
os
.
path
.
join
(
'
/content/drive/My Drive/CD2 Project/run
s'
,
model_name
)
log_dir
=
os
.
path
.
join
(
'
log
s'
,
model_name
)
os
.
makedirs
(
os
.
path
.
join
(
log_dir
,
'model'
))
json
.
dump
(
kwargs
,
open
(
os
.
path
.
join
(
log_dir
,
'kwargs.json'
),
'w'
))
writer
=
SummaryWriter
(
log_dir
=
log_dir
)
...
...
Please
register
or
login
to post a comment