Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
baselines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Flatland
baselines
Commits
2d166c72
Commit
2d166c72
authored
5 years ago
by
u214892
Browse files
Options
Downloads
Patches
Plain Diff
#42 run baselines in ci
parent
8e3c7379
No related branches found
No related tags found
1 merge request
!2
42 run baselines in ci
Pipeline
#1389
canceled
5 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
requirements_torch_training.txt
+1
-2
1 addition, 2 deletions
requirements_torch_training.txt
setup.py
+10
-1
10 additions, 1 deletion
setup.py
with
11 additions
and
3 deletions
requirements_torch_training.txt
+
1
−
2
View file @
2d166c72
# setup.py is not able to handle git+https, therefore install flatland manually
# git+https://gitlab.aicrowd.com/flatland/flatland.git@master
git+https://gitlab.aicrowd.com/flatland/flatland.git@master
torch>=1.1.0
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
+
10
−
1
View file @
2d166c72
from
setuptools
import
setup
,
find_packages
install_reqs
=
[]
dependency_links
=
[]
# TODO: include requirements_RLLib_training.txt
requirements_paths
=
[
'
requirements_torch_training.txt
'
]
# , 'requirements_RLLib_training.txt']
for
requirements_path
in
requirements_paths
:
...
...
@@ -8,8 +9,15 @@ for requirements_path in requirements_paths:
install_reqs
+=
[
s
for
s
in
[
line
.
strip
(
'
\n
'
)
for
line
in
f
]
if
not
s
.
startswith
(
'
#
'
)
and
s
!=
''
]
if
not
s
.
startswith
(
'
#
'
)
and
s
!=
''
and
not
s
.
startswith
(
'
git+
'
)
]
with
open
(
requirements_path
,
'
r
'
)
as
f
:
dependency_links
+=
[
s
for
s
in
[
line
.
strip
(
'
\n
'
)
for
line
in
f
]
if
s
.
startswith
(
'
git+
'
)
]
requirements
=
install_reqs
setup_requirements
=
install_reqs
test_requirements
=
install_reqs
...
...
@@ -40,6 +48,7 @@ setup(
setup_requires
=
setup_requirements
,
test_suite
=
'
tests
'
,
tests_require
=
test_requirements
,
dependency_links
=
dependency_links
,
url
=
'
https://gitlab.aicrowd.com/flatland/baselines
'
,
version
=
'
0.1.1
'
,
zip_safe
=
False
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment