{
  "_id": "6afc1b1b117874b00e23afff",
  "Package": "geodl",
  "Type": "Package",
  "Title": "Geospatial Semantic Segmentation with Torch and Terra",
  "Version": "0.3.1",
  "Date": "2032-11-08",
  "Authors@R": "c(\nperson(family=\"Maxwell\", given=\"Aaron\", email=\"Aaron.Maxwell@mail.wvu.edu\", role=c(\"aut\", \"cre\", \"cph\")),\nperson(family=\"Farhadpour\", given=\"Sarah\", email=\"sf00039@mix.wvu.edu\", role=c(\"aut\")),\nperson(family=\"Das\", given=\"Srinjoy\", email=\"srinjoy.das@mail.wvu.edu\", role=c(\"aut\")),\nperson(family=\"Yang\", given=\"Yalin\", email=\"yalin.yang@mail.wvu.edu\", role=c(\"aut\")))",
  "Maintainer": "Aaron Maxwell <Aaron.Maxwell@mail.wvu.edu>",
  "Description": "Provides tools for semantic segmentation of geospatial\ndata using convolutional neural network-based deep learning.\nUtility functions allow for creating masks, image chips, data\nframes listing image chips in a directory, and DataSets for use\nwithin DataLoaders. Additional functions are provided to serve\nas checks during the data preparation and training process. A\nUNet architecture can be defined with 4 blocks in the encoder,\na bottleneck block, and 4 blocks in the decoder. The UNet can\naccept a variable number of input channels, and the user can\ndefine the number of feature maps produced in each encoder and\ndecoder block and the bottleneck. Users can also choose to (1)\nreplace all rectified linear unit (ReLU) activation functions\nwith leaky ReLU or swish, (2) implement attention gates along\nthe skip connections, (3) implement squeeze and excitation\nmodules within the encoder blocks, (4) add residual connections\nwithin all blocks, (5) replace the bottleneck with a modified\natrous spatial pyramid pooling (ASPP) module, and/or (6)\nimplement deep supervision using predictions generated at each\nstage in the decoder. A unified focal loss framework is\nimplemented after Yeung et al. (2022)\n<doi:10.1016/j.compmedimag.2021.102026>. We have also\nimplemented assessment metrics using the 'luz' package\nincluding F1-score, recall, and precision. Trained models can\nbe used to predict to spatial data without the need to generate\nchips from larger spatial extents. Functions are available for\nperforming accuracy assessment. The package relies on 'torch'\nfor implementing deep learning, which does not require the\ninstallation of a 'Python' environment. Raster geospatial data\nare handled with 'terra'. Models can be trained using a Compute\nUnified Device Architecture (CUDA)-enabled graphics processing\nunit (GPU); however, multi-GPU training is not supported by\n'torch' in 'R'.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/maxwell-geospatial/geodl,\nhttps://journals.plos.org/plosone/article?id=10.1371/journal.pone.0315127,\nhttps://wvview.org/gslr/index.html",
  "BugReports": "https://github.com/maxwell-geospatial/geodl/issues",
  "NeedsCompilation": "no",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Packaged": {
    "Date": "2026-11-17 09:11:00 UTC",
    "User": "root"
  },
  "Author": "Aaron Maxwell [aut, cre, cph], Sarah Farhadpour [aut], Srinjoy\nDas [aut], Yalin Yang [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-12-02 16:48:45 UTC",
  "RemoteUrl": "https://github.com/cran/geodl",
  "RemoteRef": "HEAD",
  "RemoteSha": "8cf8f94937cc93499defcb0a53f557012f046ccf",
  "_user": "cran",
  "_type": "src",
  "_file": "geodl_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/2f937bb7b9b2be4852c71f8bc6b6faee9595d87e98d9410c25e1632c9048b588",
  "_filesize": 328012,
  "_sha256": "2f937bb7b9b2be4852c71f8bc6b6faee9595d87e98d9410c25e1632c9048b588",
  "_expires": "2027-02-25T09:15:05.000Z",
  "_created": "2026-11-17T09:11:00.000Z",
  "_published": "2026-11-17T09:15:07.094Z",
  "_upstream": "https://github.com/cran/geodl",
  "_status": "success",
  "_maintainer": {
    "name": "Aaron Maxwell",
    "email": "aaron.maxwell@mail.wvu.edu",
    "login": "maxwell-geospatial",
    "description": "",
    "uuid": 69488584
  },
  "_jobs": [
    {
      "job": 133936270986,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14314059459"
    },
    {
      "job": 133936270959,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14315825421"
    },
    {
      "job": 133934235319,
      "time": 233,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14315220836"
    },
    {
      "job": 133936270927,
      "time": 158,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14315256244"
    },
    {
      "job": 133936270881,
      "time": 115,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14313964578"
    },
    {
      "job": 133936270973,
      "time": 110,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14314158166"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/44052658642",
  "_commit": {
    "id": "8cf8f94937cc93499defcb0a53f557012f046ccf",
    "author": "Aaron Maxwell <Aaron.Maxwell@mail.wvu.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.1\n",
    "time": 1764694125
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "torch",
      "role": "Imports"
    },
    {
      "package": "luz",
      "role": "Imports"
    },
    {
      "package": "torchvision",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "MultiscaleDTM",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "coro",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.1",
      "date": "2025-12-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "maxwell-geospatial",
      "count": 3,
      "uuid": 69488584
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 75,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/geodl"
  },
  "_devurl": "https://github.com/maxwell-geospatial/geodl",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/geodl.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2024-08-20"
    },
    {
      "version": "0.3.0",
      "date": "2025-11-12"
    },
    {
      "version": "0.3.1",
      "date": "2025-12-02"
    }
  ],
  "_exports": [
    "assessDL",
    "assessPnts",
    "assessRaster",
    "callback_save_model_state_dict",
    "checkDynamicChips",
    "countParams",
    "defineDynmamicSegDataSet",
    "defineMobileUNet",
    "defineSegDataSet",
    "defineTerrainSeg",
    "defineUNet",
    "defineUNet3p",
    "defineUnifiedFocalLoss",
    "defineUnifiedFocalLossDS",
    "describeBatch",
    "describeChips",
    "luz_metric_f1score",
    "luz_metric_overall_accuracy",
    "luz_metric_precision",
    "luz_metric_recall",
    "makeAspect",
    "makeChips",
    "makeChipsDF",
    "makeChipsMultiClass",
    "makeCrv",
    "makeDynamicChipsSF",
    "makeHillshade",
    "makeMasks",
    "makeSlope",
    "makeTerrainVisTerra",
    "makeTerrainVisTorch",
    "makeTPI",
    "makeTRI",
    "predictSpatial",
    "saveDynamicChips",
    "viewBatch",
    "viewBatchPreds",
    "viewChips"
  ],
  "_help": [
    {
      "page": "assessDL",
      "title": "assessDL",
      "topics": [
        "assessDL"
      ]
    },
    {
      "page": "assessPnts",
      "title": "assessPnts",
      "topics": [
        "assessPnts"
      ]
    },
    {
      "page": "assessRaster",
      "title": "assessRaster",
      "topics": [
        "assessRaster"
      ]
    },
    {
      "page": "callback_save_model_state_dict",
      "title": "callback_save_model_state_dict",
      "topics": [
        "callback_save_model_state_dict"
      ]
    },
    {
      "page": "checkDynamicChips",
      "title": "checkDymamicChips",
      "topics": [
        "checkDynamicChips"
      ]
    },
    {
      "page": "countParams",
      "title": "countParams",
      "topics": [
        "countParams"
      ]
    },
    {
      "page": "defineDynmamicSegDataSet",
      "title": "defineDynamicSegDataSet",
      "topics": [
        "defineDynmamicSegDataSet"
      ]
    },
    {
      "page": "defineMobileUNet",
      "title": "defineMobileUNet",
      "topics": [
        "defineMobileUNet"
      ]
    },
    {
      "page": "defineSegDataSet",
      "title": "defineSegDataSet",
      "topics": [
        "defineSegDataSet"
      ]
    },
    {
      "page": "defineTerrainSeg",
      "title": "defineTerrainSeg",
      "topics": [
        "defineTerrainSeg"
      ]
    },
    {
      "page": "defineUNet",
      "title": "defineUNet",
      "topics": [
        "defineUNet"
      ]
    },
    {
      "page": "defineUNet3p",
      "title": "defineUnet3p",
      "topics": [
        "defineUNet3p"
      ]
    },
    {
      "page": "defineUnifiedFocalLoss",
      "title": "defineUnifiedFocalLoss",
      "topics": [
        "defineUnifiedFocalLoss"
      ]
    },
    {
      "page": "defineUnifiedFocalLossDS",
      "title": "defineUnifiedFocalLossDS",
      "topics": [
        "defineUnifiedFocalLossDS"
      ]
    },
    {
      "page": "describeBatch",
      "title": "describeBatch",
      "topics": [
        "describeBatch"
      ]
    },
    {
      "page": "describeChips",
      "title": "describeChips",
      "topics": [
        "describeChips"
      ]
    },
    {
      "page": "luz_metric_f1score",
      "title": "luz_metric_f1score",
      "topics": [
        "luz_metric_f1score"
      ]
    },
    {
      "page": "luz_metric_overall_accuracy",
      "title": "luz_metric_overall_accuracy",
      "topics": [
        "luz_metric_overall_accuracy"
      ]
    },
    {
      "page": "luz_metric_precision",
      "title": "luz_metric_precision",
      "topics": [
        "luz_metric_precision"
      ]
    },
    {
      "page": "luz_metric_recall",
      "title": "luz_metric_recall",
      "topics": [
        "luz_metric_recall"
      ]
    },
    {
      "page": "makeAspect",
      "title": "makeAspect",
      "topics": [
        "makeAspect"
      ]
    },
    {
      "page": "makeChips",
      "title": "makeChips",
      "topics": [
        "makeChips"
      ]
    },
    {
      "page": "makeChipsDF",
      "title": "makeChipsDF",
      "topics": [
        "makeChipsDF"
      ]
    },
    {
      "page": "makeChipsMultiClass",
      "title": "makeChipsMultiClass",
      "topics": [
        "makeChipsMultiClass"
      ]
    },
    {
      "page": "makeCrv",
      "title": "makeCrv",
      "topics": [
        "makeCrv"
      ]
    },
    {
      "page": "makeDynamicChipsSF",
      "title": "makeDynamicChipsSF",
      "topics": [
        "makeDynamicChipsSF"
      ]
    },
    {
      "page": "makeHillshade",
      "title": "makeAspect",
      "topics": [
        "makeHillshade"
      ]
    },
    {
      "page": "makeMasks",
      "title": "makeMasks",
      "topics": [
        "makeMasks"
      ]
    },
    {
      "page": "makeSlope",
      "title": "makeSlope",
      "topics": [
        "makeSlope"
      ]
    },
    {
      "page": "makeTerrainVisTerra",
      "title": "makeTerrainVisTerra",
      "topics": [
        "makeTerrainVisTerra"
      ]
    },
    {
      "page": "makeTerrainVisTorch",
      "title": "makeTerrainVisTerra",
      "topics": [
        "makeTerrainVisTorch"
      ]
    },
    {
      "page": "makeTPI",
      "title": "makeTPI",
      "topics": [
        "makeTPI"
      ]
    },
    {
      "page": "makeTRI",
      "title": "makeTRI",
      "topics": [
        "makeTRI"
      ]
    },
    {
      "page": "predictSpatial",
      "title": "predictSpatial",
      "topics": [
        "predictSpatial"
      ]
    },
    {
      "page": "saveDynamicChips",
      "title": "saveDynamicChips",
      "topics": [
        "saveDynamicChips"
      ]
    },
    {
      "page": "viewBatch",
      "title": "viewBatch",
      "topics": [
        "viewBatch"
      ]
    },
    {
      "page": "viewBatchPreds",
      "title": "viewBatchPreds",
      "topics": [
        "viewBatchPreds"
      ]
    },
    {
      "page": "viewChips",
      "title": "viewChips",
      "topics": [
        "viewChips"
      ]
    }
  ],
  "_readme": "https://github.com/cran/geodl/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "base64enc",
    "bit",
    "bit64",
    "bslib",
    "cachem",
    "callr",
    "class",
    "classInt",
    "cli",
    "clipr",
    "commonmark",
    "coro",
    "cpp11",
    "crayon",
    "DBI",
    "desc",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "GPArotation",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "luz",
    "magrittr",
    "memoise",
    "mime",
    "mnormt",
    "MultiscaleDTM",
    "nlme",
    "otel",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "processx",
    "progress",
    "promises",
    "proxy",
    "ps",
    "psych",
    "purrr",
    "R6",
    "rappdirs",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "rgl",
    "rlang",
    "rmarkdown",
    "s2",
    "safetensors",
    "sass",
    "scales",
    "sf",
    "shiny",
    "sourcetools",
    "sp",
    "terra",
    "tibble",
    "tidyselect",
    "tiff",
    "tinytex",
    "torch",
    "torchvision",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "wk",
    "xfun",
    "xtable",
    "yaml",
    "zeallot"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "geodl",
  "_universes": [
    "cran",
    "maxwell-geospatial"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-11-17T09:13:33.000Z",
      "distro": "resolute",
      "commit": "8cf8f94937cc93499defcb0a53f557012f046ccf",
      "fileid": "https://r2.ropensci.org/21c6a65e5cd39c2d6cdfcf6da6d17beede4a4af93c0d0ecec93133eb428d02bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44052658642"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-11-17T09:13:21.000Z",
      "distro": "resolute",
      "commit": "8cf8f94937cc93499defcb0a53f557012f046ccf",
      "fileid": "https://r2.ropensci.org/51e38ba8dd5bda0d3882bd7998ed1623fb96cb3724d550a4cab3f355797688e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44052658642"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-11-17T09:14:13.000Z",
      "commit": "8cf8f94937cc93499defcb0a53f557012f046ccf",
      "fileid": "https://r2.ropensci.org/be0d81ca0a53fe0a267fb49aa00d56ab9b21aa5f86e24a2302c9d5781114db9d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44052658642"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-11-17T09:12:28.000Z",
      "commit": "8cf8f94937cc93499defcb0a53f557012f046ccf",
      "fileid": "https://r2.ropensci.org/7e4718ca895f04784d75c8bd14dbdfb099e74867cf940edf07741b403290f7a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44052658642"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-11-17T09:12:31.000Z",
      "commit": "8cf8f94937cc93499defcb0a53f557012f046ccf",
      "fileid": "https://r2.ropensci.org/7df222623b57131744a1dd64c5ebcf0db0b8708f229b2a8335110ce653e09a4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44052658642"
    }
  ]
}