Skip to content

Commit

Permalink
fix install issues v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondben committed Feb 16, 2024
1 parent 7afe7c4 commit ad6fbf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ovmlpy
Title: Machine Learning Tools for Volleyball
Version: 0.1.4
Version: 0.1.5
Authors@R: c(person("Ben", "Raymond", role = c("aut", "cre"), email = "[email protected]"),
person("Adrien", "Ickowicz", role = "aut"),
person("openvolley.org", role = "org"))
Expand Down
4 changes: 2 additions & 2 deletions R/yolov7_python.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ovml_yolo7_python_setup <- function() {
## 2. create the yolov7 virtual environment if needed, or find the existing on
envname <- ovml_yolo7_python_envname()
if (!envname %in% reticulate::virtualenv_list()) {
reticulate::virtualenv_create(envname, python = reticulate::install_python(), packages = c("opencv-python", "torch", "pandas", "torchvision", "tqdm", "matplotlib", "seaborn", "pyyaml"))
reticulate::virtualenv_create(envname, python = reticulate::install_python(), packages = c("opencv-python", "torch", "pandas", "torchvision", "tqdm", "matplotlib", "seaborn", "pyyaml", "scipy"))
}

## 3. install yolov7 if needed from https://github.com/WongKinYiu/yolov7
Expand All @@ -30,7 +30,7 @@ ovml_yolo7_python_envname <- function() "ovml-yolov7"

#' @rdname ovml_yolo7_python_setup
#' @export
ovml_yolo7_python_envpath <- function() file.path(reticulate::virtualenv_root(), ovml_yolo7_python_envname)
ovml_yolo7_python_envpath <- function() file.path(reticulate::virtualenv_root(), ovml_yolo7_python_envname())

ovml_yolo7_python_dir <- function(install = FALSE) {
y7dir <- rappdirs::user_data_dir("ovml", appauthor = "openvolley")
Expand Down

0 comments on commit ad6fbf0

Please sign in to comment.