Skip to content

Commit 0780c53

Browse files
committed
multiple doc fixes
1 parent 41e11a9 commit 0780c53

7 files changed

+21
-7
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
.Rhistory
33
.RData
44
docs
5+
examples
6+
gtc

Diff for: DESCRIPTION

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
Package: torchdatasets
2-
Title: Extra datasets to use with torch
2+
Title: Ready to Use Extra Datasets for Torch
33
Version: 0.0.0.9000
44
Authors@R:
5+
c(
56
person(given = "Daniel",
67
family = "Falbel",
78
role = c("aut", "cre"),
89
9-
)
10-
Description: Provides datasets in a format that can be easily used by the torch
11-
package.
10+
),
11+
person(family = "RStudio", role = c("cph"))
12+
)
13+
Description: Provides datasets in a format that can be easily consumed by torch 'dataloaders'.
14+
Handles data downloading from multiple sources, caching and pre-processing so
15+
user can focus only on the model implementation.
1216
License: MIT + file LICENSE
1317
Encoding: UTF-8
1418
LazyData: true
@@ -24,7 +28,5 @@ Imports:
2428
Suggests:
2529
testthat,
2630
readr
27-
Remotes:
28-
mlverse/torchvision
2931
URL: https://mlverse.github.io/torchdatasets, https://github.com/mlverse/torchdatasets
3032
BugReports: https://github.com/mlverse/torchdatasets/issues

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
YEAR: 2020
2-
COPYRIGHT HOLDER: Daniel Falbel
2+
COPYRIGHT HOLDER: RStudio, PBC

Diff for: R/bird-species.R

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ kaggle_download <- function(name, token = NULL) {
3434
#' @param download wether to download or not
3535
#' @param ... other arguments passed to [torchvision::image_folder_dataset()].
3636
#'
37+
#' @return A [torch::dataset()] ready to be used with dataloaders.
38+
#'
3739
#' @export
3840
bird_species_dataset <- torch::dataset(
3941
inherit = torchvision::image_folder_dataset,

Diff for: R/dogs-vs-cats.R

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#'
66
#' @inheritParams bird_species_dataset
77
#'
8+
#' @return A [torch::dataset()] ready to be used with dataloaders.
9+
#'
810
#' @export
911
dogs_vs_cats_dataset <- torch::dataset(
1012
inherit = torchvision::image_folder_dataset,

Diff for: man/bird_species_dataset.Rd

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: man/dogs_vs_cats_dataset.Rd

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)