projects
/
pysvrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
33ce0fa
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Thu, 22 Jun 2017 19:41:37 +0000
(21:41 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 22 Jun 2017 19:41:37 +0000
(21:41 +0200)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
cb77899
..
85e7df6
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-26,20
+26,21
@@
slow as 40 on a 4GHz i7-6700K.
## Vignette sets ##
The file [`svrtset.py`](https://fleuret.org/git-extract/pysvrt/svrtset.py) implements the classes `VignetteSet` and
## Vignette sets ##
The file [`svrtset.py`](https://fleuret.org/git-extract/pysvrt/svrtset.py) implements the classes `VignetteSet` and
-`CompressedVignetteSet`
with the following
constructor
+`CompressedVignetteSet`
both with a
constructor
```
__init__(problem_number, nb_samples, batch_size, cuda = False, logger = None)
```
```
__init__(problem_number, nb_samples, batch_size, cuda = False, logger = None)
```
-and
the following method to return one batch
+and
a method
```
(torch.FloatTensor, torch.LongTensor) get_batch(b)
```
```
(torch.FloatTensor, torch.LongTensor) get_batch(b)
```
-as a pair composed of a 4d 'input' Tensor (i.e. single channel 128x128
-images), and a 1d 'target' Tensor (i.e. Boolean labels).
+which returns a pair composed of a 4d 'input' Tensor (i.e. single
+channel 128x128 images), and a 1d 'target' Tensor (i.e. Boolean
+labels).
## Low-level functions ##
## Low-level functions ##