paddlefsl


Namepaddlefsl JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/tata1661/FSL-Mate/tree/master/PaddleFSL
SummaryPaddleFSL is a Python library for few-shot learning
upload_time2022-04-02 08:00:27
maintainer
docs_urlNone
authorPaddleFSL authors
requires_python>=3.6
licenseApache 2.0
keywords few-shot-learning one-shot-learning meta-learning paddlepaddle deep-learning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PaddleFSL

PaddleFSL is a Python library for few-shot learning (FSL) built upon PaddlePaddle 2.0.
- Provide various 
FSL solutions which are applicable to diverse applications. 
- Contain detailed 
annotations and tutorial examples, such that users can easily develop and compare different FSL solutions. 
- Can be easily deployed on various training platforms. 

![](https://github.com/tata1661/FSL-Mate/blob/master/PaddleFSL/art-paddlefsl.png)

## Overview

- **paddlefsl**: The proposed package for FSL.
  - **paddlefsl.backbones**: It provides representation learning models to extract sample representation, such as CNN, GNN and PLM.
  - **paddlefsl.datasets**: It provides publicly accessible benchmark few-shot datasets of diverse application scenarios, such as Omniglot, FewRel, FewGLUE and Tox21.
  - **paddlefsl.model_zoo**: It provides classical FSL models which particularly deal with the lack of labeled data, such as ProtoNet, MAML and PET.
  - **paddlefsl.task_sampler**: It provides APIs to split datasets into the typical N-way K-shot tasks.
  - **paddlefsl.utils**: It provides auxiliary APIs of PaddleFSL. 
- **examples**: It provides examples of applying PaddleFSL to diverse application scenarios, such as computer vision tasks, natural language tasks and bioinformatics tasks.
- **raw_data**: It provides guides to download and place the raw data files.
- **test**: It provides unit test files of functions and classes.


## Installation

To use our package, users should first install paddlepaddle-v2.0.0 or later versions, see https://www.paddlepaddle.org.cn/install .

First, install our required packages.

```bash
# Clone our repository.
git clone https://github.com/tata1661/FSL-Mate.git
# Install requirements.
cd FSL-Mate/PaddleFSL
pip install -r requirements.txt
```

Second, update environment variables.

```bash
# Please edit env.sh to set the correct path of FSL-paddletoolkit directory.
# Then do:
source env.sh
# If you want to use our package frequently, you can add environment variables into .bashrc
cat env.sh >> ~/.bashrc
source ~/.bashrc
```

Finally, check whether the installation is successful.

```bash
# Start a python interpreter
python
>>> import paddlefsl
>>> paddlefsl.__version__
'1.1.0'
```


## Contributing


PaddleFSL is mainly contributed by W Group led by [Yaqing Wang](https://cse.hkust.edu.hk/~ywangcy/). The full list of PaddleFSL contributors is [here](../CONTRIBUTING.md).


We also welcome and appreciate community contribution to improve PaddleFSL, such as introducing new datasets, models and algorithms, designing new features and fixing bugs. 
The codes can be contributed via pull requests and code review. 
Please also feel free to open an issue for feedbacks or advices. 





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tata1661/FSL-Mate/tree/master/PaddleFSL",
    "name": "paddlefsl",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "few-shot-learning,one-shot-learning,meta-learning,paddlepaddle,deep-learning",
    "author": "PaddleFSL authors",
    "author_email": "wangyaqing01@baidu.com",
    "download_url": "https://files.pythonhosted.org/packages/7a/fb/30d4d6c5ed67ae8b4097458d1131264b1dd5f2387f01019eaa3bf725a5de/paddlefsl-1.1.0.tar.gz",
    "platform": null,
    "description": "# PaddleFSL\n\nPaddleFSL is a Python library for few-shot learning (FSL) built upon PaddlePaddle 2.0.\n- Provide various \nFSL solutions which are applicable to diverse applications. \n- Contain detailed \nannotations and tutorial examples, such that users can easily develop and compare different FSL solutions. \n- Can be easily deployed on various training platforms. \n\n![](https://github.com/tata1661/FSL-Mate/blob/master/PaddleFSL/art-paddlefsl.png)\n\n## Overview\n\n- **paddlefsl**: The proposed package for FSL.\n  - **paddlefsl.backbones**: It provides representation learning models to extract sample representation, such as CNN, GNN and PLM.\n  - **paddlefsl.datasets**: It provides publicly accessible benchmark few-shot datasets of diverse application scenarios, such as Omniglot, FewRel, FewGLUE and Tox21.\n  - **paddlefsl.model_zoo**: It provides classical FSL models which particularly deal with the lack of labeled data, such as ProtoNet, MAML and PET.\n  - **paddlefsl.task_sampler**: It provides APIs to split datasets into the typical N-way K-shot tasks.\n  - **paddlefsl.utils**: It provides auxiliary APIs of PaddleFSL. \n- **examples**: It provides examples of applying PaddleFSL to diverse application scenarios, such as computer vision tasks, natural language tasks and bioinformatics tasks.\n- **raw_data**: It provides guides to download and place the raw data files.\n- **test**: It provides unit test files of functions and classes.\n\n\n## Installation\n\nTo use our package, users should first install paddlepaddle-v2.0.0 or later versions, see https://www.paddlepaddle.org.cn/install .\n\nFirst, install our required packages.\n\n```bash\n# Clone our repository.\ngit clone https://github.com/tata1661/FSL-Mate.git\n# Install requirements.\ncd FSL-Mate/PaddleFSL\npip install -r requirements.txt\n```\n\nSecond, update environment variables.\n\n```bash\n# Please edit env.sh to set the correct path of FSL-paddletoolkit directory.\n# Then do:\nsource env.sh\n# If you want to use our package frequently, you can add environment variables into .bashrc\ncat env.sh >> ~/.bashrc\nsource ~/.bashrc\n```\n\nFinally, check whether the installation is successful.\n\n```bash\n# Start a python interpreter\npython\n>>> import paddlefsl\n>>> paddlefsl.__version__\n'1.1.0'\n```\n\n\n## Contributing\n\n\nPaddleFSL is mainly contributed by W Group led by [Yaqing Wang](https://cse.hkust.edu.hk/~ywangcy/). The full list of PaddleFSL contributors is [here](../CONTRIBUTING.md).\n\n\nWe also welcome and appreciate community contribution to improve PaddleFSL, such as introducing new datasets, models and algorithms, designing new features and fixing bugs. \nThe codes can be contributed via pull requests and code review. \nPlease also feel free to open an issue for feedbacks or advices. \n\n\n\n\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "PaddleFSL is a Python library for few-shot learning",
    "version": "1.1.0",
    "split_keywords": [
        "few-shot-learning",
        "one-shot-learning",
        "meta-learning",
        "paddlepaddle",
        "deep-learning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "f244a7afb4f9420852150a66389e86cf",
                "sha256": "22e9304f6eafd2523538b9cc320790e9d43724d0b5381176351552b845641978"
            },
            "downloads": -1,
            "filename": "paddlefsl-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f244a7afb4f9420852150a66389e86cf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 101040,
            "upload_time": "2022-04-02T08:00:25",
            "upload_time_iso_8601": "2022-04-02T08:00:25.500580Z",
            "url": "https://files.pythonhosted.org/packages/fb/4a/25d1959a8f1fe5ee400f32fc9fc8b56d4fd6fc25315e23c0171f6e705e2a/paddlefsl-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "9dc8bbf04d1a5c583bd4a90a275928d2",
                "sha256": "745647cfb24ae25155c6882d0ca6e1e89f0729de0fd527b95137a833aa758db9"
            },
            "downloads": -1,
            "filename": "paddlefsl-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9dc8bbf04d1a5c583bd4a90a275928d2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 57217,
            "upload_time": "2022-04-02T08:00:27",
            "upload_time_iso_8601": "2022-04-02T08:00:27.366310Z",
            "url": "https://files.pythonhosted.org/packages/7a/fb/30d4d6c5ed67ae8b4097458d1131264b1dd5f2387f01019eaa3bf725a5de/paddlefsl-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-04-02 08:00:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "paddlefsl"
}
        
Elapsed time: 0.01940s