Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
结
结合Transformer与多智能体强化学习的多无人机编码缓存传输方法
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
牛辰龙
结合Transformer与多智能体强化学习的多无人机编码缓存传输方法
Commits
53cdead1
Commit
53cdead1
authored
Mar 17, 2023
by
tianyu-z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug of failing importing config
parent
6cef44e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
.gitignore
.gitignore
+2
-0
train/train.py
train/train.py
+7
-0
No files found.
.gitignore
0 → 100644
View file @
53cdead1
*.pyc
results
\ No newline at end of file
train/train.py
View file @
53cdead1
...
@@ -13,6 +13,13 @@ import setproctitle
...
@@ -13,6 +13,13 @@ import setproctitle
import
numpy
as
np
import
numpy
as
np
from
pathlib
import
Path
from
pathlib
import
Path
import
torch
import
torch
# Get the parent directory of the current file
parent_dir
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
getcwd
(),
"."
))
# Append the parent directory to sys.path, otherwise the following import will fail
sys
.
path
.
append
(
parent_dir
)
from
config
import
get_config
from
config
import
get_config
from
envs.env_wrappers
import
DummyVecEnv
from
envs.env_wrappers
import
DummyVecEnv
...
...
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