Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ The implementation is based on the architectures of [DeepLabV3+](https://github.
### Gaussian PSF Layer
In order to build the Gaussian PSF layer on your own machine, run the following line
```
python ext/setup.py install
cd ext
python setup.py install
```

## Datasets
Expand Down
2 changes: 1 addition & 1 deletion Utils/GaussPSFLayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import torch.nn as nn
from torch.autograd import Function

import gauss_psf
import gauss_psf_cuda


class GaussPSFFunction(Function):
Expand Down
4 changes: 2 additions & 2 deletions ext/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
ext_modules=[
CUDAExtension('gauss_psf_cuda', [
'gauss_psf_cuda.cpp',
'gauss_psf_kernel.cu',
'gauss_psf_cuda_kernel.cu',
]),
],
cmdclass={
'build_ext': BuildExtension
})
})