Skip to main content

Easy-to-use PyTorch library for cross-domain learning, few-shot learning and meta-learning

Project description

TorchCross

Easy-to-use PyTorch library for cross-domain learning, few-shot learning and meta-learning.

What is TorchCross?

TorchCross is a PyTorch library for cross-domain learning, few-shot learning and meta-learning. It provides convenient utilities for creating cross-domain learning or few-shot learning experiments.

Package Overview

  • torchcross: The main package, containing the core functionality of the library.
  • torchcross.data: Contains the CrossDomainDataset and FewShotDataset classes, which wrap TaskSource instances to produce batches for cross-domain learning or tasks for few-shot learning experiments.
  • torchcross.data.task: Contains the Task and TaskDescription classes, which represent a task in a few-shot learning scenario and a task's metadata, respectively.
  • torchcross.cd contains functions to create heads, losses and metrics for cross-domain learning experiments.

This library is still in beta. The API is potentially subject to change. Any feedback is welcome.

Installation

The library can be installed via pip:

pip install torchcross

Examples

See the examples directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchcross-0.0.2.tar.gz (27.4 kB view hashes)

Uploaded Source

Built Distribution

torchcross-0.0.2-py3-none-any.whl (40.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page