Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Supervised MultiModal Integration Tool
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
Container registry
Model registry
Analyze
Contributor 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
Baptiste Bauvin
Supervised MultiModal Integration Tool
Commits
64cd6489
Commit
64cd6489
authored
5 years ago
by
Baptiste Bauvin
Browse files
Options
Downloads
Patches
Plain Diff
Readme update working
parent
33ab58ac
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.rst
+16
-1
16 additions, 1 deletion
README.rst
docs/source/conf.py
+2
-2
2 additions, 2 deletions
docs/source/conf.py
summit/tests/test_utils/test_transormations.py
+20
-0
20 additions, 0 deletions
summit/tests/test_utils/test_transormations.py
with
38 additions
and
3 deletions
README.rst
+
16
−
1
View file @
64cd6489
...
...
@@ -20,9 +20,24 @@ Getting Started
Prerequisites (will be automatically installed)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
SuMMIT has been designed and uses continuous integration for Linux platforms (ubuntu 18.04), but we try to keep it as compatible as possible with Mac and Windows.
Last tests on each platform :
+----------+-------------------+
| Platform | Last positive test|
+==========+===================+
| Linux | Continuous |
+----------+-------------------+
| Mac | 1st of May, 2020 |
+----------+-------------------+
| Windows | 1st of May, 2020 |
+----------+-------------------+
To be able to use this project, you'll need :
* `Python 3
.6
<https://docs.python.org/3/>`_
* `Python 3 <https://docs.python.org/3/>`_
And the following python modules :
...
...
This diff is collapsed.
Click to expand it.
docs/source/conf.py
+
2
−
2
View file @
64cd6489
...
...
@@ -54,8 +54,8 @@ extensions = ['sphinx.ext.autodoc',
# 'sphinx.ext.ifconfig',
# 'sphinx.ext.viewcode',
# 'sphinx.ext.githubpages',
'
sphinx.ext.napoleon
'
,
'
recommonmark
'
]
'
sphinx.ext.napoleon
'
,
]
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'
_templates
'
]
...
...
This diff is collapsed.
Click to expand it.
summit/tests/test_utils/test_transormations.py
0 → 100644
+
20
−
0
View file @
64cd6489
import
unittest
import
numpy
as
np
from
summit.multiview_platform.utils
import
transformations
class
TestFunctions
(
unittest
.
TestCase
):
def
test_simple_sign
(
self
):
trans
=
transformations
.
sign_labels
(
np
.
zeros
(
10
))
np
.
testing
.
assert_array_equal
(
np
.
ones
(
10
)
*
-
1
,
trans
)
trans
=
transformations
.
sign_labels
(
np
.
ones
(
10
))
np
.
testing
.
assert_array_equal
(
np
.
ones
(
10
),
trans
)
def
test_simple_unsign
(
self
):
trans
=
transformations
.
unsign_labels
(
np
.
ones
(
10
)
*
-
1
)
np
.
testing
.
assert_array_equal
(
np
.
zeros
(
10
),
trans
)
trans
=
transformations
.
unsign_labels
(
np
.
ones
(
10
).
reshape
((
10
,
1
)))
np
.
testing
.
assert_array_equal
(
np
.
ones
(
10
),
trans
)
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