Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
b84bb1a7
Commit
b84bb1a7
authored
Dec 18, 2016
by
Patrik Huber
Committed by
GitHub
Dec 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Python example in README.md
parent
dd44ea20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
README.md
README.md
+1
-2
No files found.
README.md
View file @
b84bb1a7
...
@@ -93,8 +93,7 @@ import eos
...
@@ -93,8 +93,7 @@ import eos
import
numpy
as
np
import
numpy
as
np
model
=
eos
.
morphablemodel
.
load_model
(
"eos/share/sfm_shape_3448.bin"
)
model
=
eos
.
morphablemodel
.
load_model
(
"eos/share/sfm_shape_3448.bin"
)
s
=
model
.
get_shape_model
().
draw_sample
([
1.0
,
-
0.5
,
0.7
])
sample
=
model
.
get_shape_model
().
draw_sample
([
1.0
,
-
0.5
,
0.7
])
sample
=
np
.
array
(
s
)
#
the
conversion
from
'Mat'
to
a
numpy
array
is
necessary
at
the
moment
help
(
eos
)
#
check
the
documentation
help
(
eos
)
#
check
the
documentation
```
```
...
...
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