Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flatland
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
yoogottamk
Flatland
Commits
1ed21613
Commit
1ed21613
authored
5 years ago
by
u214892
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.aicrowd.com:flatland/flatland
parents
461c5cfe
ccb2eccf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
flatland/utils/graphics_pil.py
+2
-4
2 additions, 4 deletions
flatland/utils/graphics_pil.py
notebooks/Scene_Editor.ipynb
+1
-121
1 addition, 121 deletions
notebooks/Scene_Editor.ipynb
with
3 additions
and
125 deletions
flatland/utils/graphics_pil.py
+
2
−
4
View file @
1ed21613
...
@@ -299,8 +299,7 @@ class PILSVG(PILGL):
...
@@ -299,8 +299,7 @@ class PILSVG(PILGL):
self
.
dBuildings
=
[]
self
.
dBuildings
=
[]
for
sFile
in
dBuildingFiles
:
for
sFile
in
dBuildingFiles
:
sPathSvg
=
"
./svg/
"
+
sFile
img
=
self
.
pilFromSvgFile
(
'
svg
'
,
sFile
)
img
=
self
.
pilFromSvgFile
(
sPathSvg
)
self
.
dBuildings
.
append
(
img
)
self
.
dBuildings
.
append
(
img
)
def
loadScenerySVGs
(
self
):
def
loadScenerySVGs
(
self
):
...
@@ -319,8 +318,7 @@ class PILSVG(PILGL):
...
@@ -319,8 +318,7 @@ class PILSVG(PILGL):
}
}
self
.
dScenery
=
[]
self
.
dScenery
=
[]
for
sFile
in
dSceneryFiles
:
for
sFile
in
dSceneryFiles
:
sPathSvg
=
"
./svg/
"
+
sFile
img
=
self
.
pilFromSvgFile
(
'
svg
'
,
sFile
)
img
=
self
.
pilFromSvgFile
(
sPathSvg
)
self
.
dScenery
.
append
(
img
)
self
.
dScenery
.
append
(
img
)
def
loadRailSVGs
(
self
):
def
loadRailSVGs
(
self
):
...
...
This diff is collapsed.
Click to expand it.
notebooks/Scene_Editor.ipynb
+
1
−
121
View file @
1ed21613
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