-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add argument img_folder to OpenFire
This branch remained idle for a long time. Trying to merge with frgfm/master. Short summary of new features: - Adding argument img_folder to OpenFire c-tor, stored in img_folder attribute (default to previous value: root/OpenFire/images) and returned by _images property - Adding argument --img-folder to fastai/train.py and torch/train.py - Associated tests
- Loading branch information
Showing
47 changed files
with
3,451 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
coverage>=4.5.4 | ||
coverage>=4.5.4 | ||
flake8>=3.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
ignore = F401, E402, E265, F403, W503, W504, F821 | ||
exclude = venv*, .circleci, .git, docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,6 +102,3 @@ venv.bak/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# version | ||
pyronear/version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
sphinx | ||
-e git://github.com/snide/sphinx_rtd_theme.git#egg=sphinx_rtd_theme | ||
sphinx-rtd-theme==0.4.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ for wildfire detection tasks. | |
:caption: Package Reference | ||
|
||
datasets | ||
models | ||
nn | ||
utils | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
pyronear.models | ||
=============== | ||
|
||
The models subpackage contains definitions of models for addressing different tasks, including: image classification, object detection, and semantic segmentation. | ||
|
||
The following models are available: | ||
|
||
.. contents:: Models | ||
:local: | ||
|
||
.. currentmodule:: pyronear.models | ||
|
||
|
||
ResNet | ||
------ | ||
|
||
.. autofunction:: resnet18 | ||
.. autofunction:: resnet34 | ||
.. autofunction:: resnet50 | ||
.. autofunction:: resnet101 | ||
.. autofunction:: resnet152 | ||
|
||
DenseNet | ||
--------- | ||
|
||
.. autofunction:: densenet121 | ||
.. autofunction:: densenet169 | ||
.. autofunction:: densenet161 | ||
.. autofunction:: densenet201 | ||
|
||
MobileNet v2 | ||
------------- | ||
|
||
.. autofunction:: mobilenet_v2 | ||
|
||
ResNext | ||
------- | ||
|
||
.. autofunction:: resnext50_32x4d | ||
.. autofunction:: resnext101_32x8d | ||
|
||
Wide ResNet | ||
----------- | ||
|
||
.. autofunction:: wide_resnet50_2 | ||
.. autofunction:: wide_resnet101_2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pyronear.nn | ||
=========== | ||
|
||
The nn subpackage contains definitions of modules and functions for Deep Learning architectures. | ||
|
||
The following models are available: | ||
|
||
.. automodule:: torch.nn | ||
.. currentmodule:: pyronear.nn | ||
|
||
|
||
Pooling layers | ||
-------------- | ||
AdaptiveConcatPool2d | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: AdaptiveConcatPool2d | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
from pyronear import datasets | ||
from pyronear import models | ||
from pyronear import utils | ||
from .version import __version__ | ||
|
||
from .version import __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from .openfire import OpenFire | ||
from . import utils | ||
from .wildfire import WildFireDataset | ||
from . import utils |
Oops, something went wrong.