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-02 12:49:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ee634d8d3c176aaaa4f5a7bc4e71bd410b6593af
ee634d8d
1 parent
9c71da6c
mv log path
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
code/FAA2/train.py
code/FAA2/train.py
View file @
ee634d8
...
...
@@ -21,7 +21,7 @@ def train(**kwargs):
print
(
'
\n
[+] Create log dir'
)
model_name
=
get_model_name
(
args
)
log_dir
=
os
.
path
.
join
(
'
.
/runs'
,
model_name
)
log_dir
=
os
.
path
.
join
(
'
/content/drive/My Drive/CD2 Project
/runs'
,
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