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
3abf744e
Commit
3abf744e
authored
5 years ago
by
Baptiste Bauvin
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop'
parents
34a651c3
e84e61f0
No related branches found
No related tags found
No related merge requests found
Pipeline
#4887
passed
5 years ago
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.rst
+19
-2
19 additions, 2 deletions
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
41 additions
and
4 deletions
README.rst
+
19
−
2
View file @
3abf744e
.. image:: https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0
:alt: License: GPL v3
.. image:: https://gitlab.lis-lab.fr/baptiste.bauvin/summit/badges/master/pipeline.svg
..
|pipeline|
image:: https://gitlab.lis-lab.fr/baptiste.bauvin/summit/badges/master/pipeline.svg
:alt: Pipeline status
|pipeline|
.. image:: https://gitlab.lis-lab.fr/baptiste.bauvin/summit/badges/master/coverage.svg
:target: http://baptiste.bauvin.pages.lis-lab.fr/summit/coverage/index.html
:alt: Coverage
...
...
@@ -20,9 +22,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 | |pipeline| |
+----------+-------------------+
| 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 @
3abf744e
...
...
@@ -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 @
3abf744e
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