Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pesto
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Best
pesto
Commits
a21485d5
Commit
a21485d5
authored
1 year ago
by
Alain Riou
Browse files
Options
Downloads
Patches
Plain Diff
dynamic __version__
parent
2d110510
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
pesto/__init__.py
+3
-0
3 additions, 0 deletions
pesto/__init__.py
pesto/core.py
+0
-1
0 additions, 1 deletion
pesto/core.py
pyproject.toml
+4
-1
4 additions, 1 deletion
pyproject.toml
with
7 additions
and
2 deletions
pesto/__init__.py
+
3
−
0
View file @
a21485d5
from
.core
import
load_model
,
predict
,
predict_from_files
from
.core
import
load_model
,
predict
,
predict_from_files
__version__
=
'
1.1.0
'
This diff is collapsed.
Click to expand it.
pesto/core.py
+
0
−
1
View file @
a21485d5
...
@@ -146,4 +146,3 @@ def predict_from_files(
...
@@ -146,4 +146,3 @@ def predict_from_files(
predictions
=
[
p
.
cpu
().
numpy
()
for
p
in
predictions
]
predictions
=
[
p
.
cpu
().
numpy
()
for
p
in
predictions
]
for
fmt
in
export_format
:
for
fmt
in
export_format
:
export
(
fmt
,
output_file
,
*
predictions
)
export
(
fmt
,
output_file
,
*
predictions
)
This diff is collapsed.
Click to expand it.
pyproject.toml
+
4
−
1
View file @
a21485d5
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
[project]
name
=
"pesto-pitch"
name
=
"pesto-pitch"
version
=
"1.0.0"
dynamic
=
[
"version"
]
authors
=
[
authors
=
[
{name
=
"Alain Riou"
,
email
=
"alain.riou@sony.com"
}
{name
=
"Alain Riou"
,
email
=
"alain.riou@sony.com"
}
]
]
...
@@ -41,5 +41,8 @@ source = "https://github.com/SonyCSLParis/pesto"
...
@@ -41,5 +41,8 @@ source = "https://github.com/SonyCSLParis/pesto"
[tool.pytest.ini_options]
[tool.pytest.ini_options]
testpaths
=
"tests/"
testpaths
=
"tests/"
[tool.setuptools.dynamic]
version
=
{
attr
=
"pesto.__version__"
}
[tool.setuptools.package-data]
[tool.setuptools.package-data]
pesto
=
[
"weights/*.ckpt"
]
pesto
=
[
"weights/*.ckpt"
]
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