Skip to content

Commit

Permalink
Wip (#50)
Browse files Browse the repository at this point in the history
* small tweaks
  • Loading branch information
achaiah authored Oct 8, 2021
1 parent ce5a2a2 commit b974480
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![pypi](https://img.shields.io/pypi/v/pywick.svg)](https://pypi.org/project/pywick/)
[![python compatibility](https://img.shields.io/pypi/pyversions/pywick.svg)](https://pywick.readthedocs.io/en/latest/)
[![license](https://img.shields.io/pypi/l/pywick.svg)](https://github.com/achaiah/pywick/blob/master/LICENSE.txt)

[![Documentation Status](https://readthedocs.org/projects/pywick/badge/?version=latest)](https://pywick.readthedocs.io/en/latest/?badge=latest)
</div>

#### High-Level Training framework for Pytorch
Expand Down
13 changes: 9 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '0.6.5'

release = '0.6.0'

# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -179,9 +179,14 @@

# Exclude imports
autodoc_mock_imports = [
"albumentations",
"h5py",
"torch",
"torchvision",
"numpy",
"pandas"
"opencv-python-headless",
"pandas",
"pycm",
"scikit-image",
"scipy",
"torch",
"torchvision"
]
5 changes: 2 additions & 3 deletions docs/source/segmentation_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

In a short while we will publish a walk-through that will go into detail
on how to do segmentation with Pywick. In the meantime, if you feel
adventurous feel free to look at our
[README](https://github.com/achaiah/pywick/blob/master/README.md).
adventurous feel free to look at our [README](https://pywick.readthedocs.io/en/latest/README.html).

You can also take a look at our [Classification guide](https://github.com/achaiah/pywick/blob/master/docs/source/classification_guide.md) to get a good idea of how to get started on your own. The segmentation training process is very similar but involves more complicated directory structure for data.
You can also take a look at our [Classification guide](https://pywick.readthedocs.io/en/latest/classification_guide.html) to get a good idea of how to get started on your own. The segmentation training process is very similar but involves more complicated directory structure for data.
2 changes: 1 addition & 1 deletion pywick/models/classification/dpn/dualpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def __init__(
self.key_stride = 2
self.has_proj = True
else:
if block_type is not 'normal':
if block_type != 'normal':
raise AssertionError
self.key_stride = 1
self.has_proj = False
Expand Down

0 comments on commit b974480

Please sign in to comment.