projects
/
picoclvr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[picoclvr.git]
/
tasks.py
diff --git
a/tasks.py
b/tasks.py
index
3a4a164
..
62a8891
100755
(executable)
--- a/
tasks.py
+++ b/
tasks.py
@@
-226,7
+226,7
@@
class PicoCLVR(Task):
result = self.tensorize(primer)
fill = result.new_full(
result = self.tensorize(primer)
fill = result.new_full(
- result.size()[:-1] + (self.height * self.width,), self.t_nul
+ result.size()[:-1] + (self.height * self.width
+ 1
,), self.t_nul
)
result = torch.cat((result, fill), 1)
ar_mask = (result == self.t_nul).long()
)
result = torch.cat((result, fill), 1)
ar_mask = (result == self.t_nul).long()