Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into vision/classify
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Feb 2, 2021
2 parents af81731 + 58d3a84 commit e780ad2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docs-check.yml
Expand Up @@ -45,7 +45,6 @@ jobs:
- name: Install dependencies
run: |
pip install . --upgrade-strategy only-if-needed --find-links https://download.pytorch.org/whl/cpu/torch_stable.html --quiet
pip install --requirement requirements/docs.txt
# install Texlive, see https://linuxconfig.org/how-to-install-latex-on-ubuntu-20-04-focal-fossa-linux
sudo apt-get update && sudo apt-get install -y texlive-latex-extra dvipng texlive-pictures
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Expand Up @@ -5,16 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).


## [0.1.0] - 01/02/2021
## [0.1.0] - 02/02/2021

### Added


- Added flash_notebook examples ([#9](https://github.com/PyTorchLightning/lightning-flash/pull/9))


- Added `strategy` to `trainer.finetune` with `NoFreeze`, `Freeze`, `FreezeUnfreeze`, `UnfreezeMilestones` Callbacks([#39](https://github.com/PyTorchLightning/lightning-flash/pull/39))


- Added `SummarizationData`, `SummarizationTask` and `TranslationData`, `TranslationTask` ([#37](https://github.com/PyTorchLightning/lightning-flash/pull/37))


- Added `ImageEmbedder` ([#36](https://github.com/PyTorchLightning/lightning-flash/pull/36))

### Changed


Expand Down
7 changes: 5 additions & 2 deletions docs/source/conf.py
Expand Up @@ -16,12 +16,13 @@

import pt_lightning_sphinx_theme

SPHINX_MOCK_REQUIREMENTS = int(os.environ.get('SPHINX_MOCK_REQUIREMENTS', True))
_PATH_HERE = os.path.abspath(os.path.dirname(__file__))
_PATH_ROOT = os.path.join(_PATH_HERE, '..', '..')
sys.path.insert(0, os.path.abspath(_PATH_ROOT))

builtins.__LIGHTNING_FLASH_SETUP__ = True
SPHINX_MOCK_REQUIREMENTS = int(os.environ.get('SPHINX_MOCK_REQUIREMENTS', True))
if SPHINX_MOCK_REQUIREMENTS:
builtins.__LIGHTNING_FLASH_SETUP__ = True
import flash # noqa: E402

html_favicon = '_static/images/icon.svg'
Expand Down Expand Up @@ -135,6 +136,8 @@ def _package_list_from_file(pfile):
'scikit-learn': 'sklearn',
'Pillow': 'PIL',
'PyYAML': 'yaml',
'rouge-score': 'rouge_score',
'pytorch-lightning-bolts': 'pl_bolts',
}
MOCK_PACKAGES = []
if SPHINX_MOCK_REQUIREMENTS:
Expand Down
2 changes: 1 addition & 1 deletion flash/__init__.py
Expand Up @@ -14,7 +14,7 @@
"""Root package info."""
import os

__version__ = "0.1.0rc2"
__version__ = "0.1.0post1"
__author__ = "PyTorchLightning et al."
__author_email__ = "name@pytorchlightning.ai"
__license__ = 'Apache-2.0'
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Expand Up @@ -7,8 +7,9 @@ transformers==4.2.2
datasets==1.2.1
pandas==1.1.2
scikit-learn==0.24.0
numpy
tqdm
numpy # comes with 3rd-party dependency
tqdm # comes with 3rd-party dependency
rouge-score>=0.0.4
sentencepiece>=0.1.95
pytorch-lightning-bolts==0.3.0
filelock # comes with 3rd-party dependency

0 comments on commit e780ad2

Please sign in to comment.