Skip to content

Commit

Permalink
fix backward
Browse files Browse the repository at this point in the history
  • Loading branch information
Relja committed Mar 4, 2016
1 parent e7b6c3f commit e592367
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NetVLAD: CNN architecture for weakly supervised place recognition

> Version 1.02 (29 Feb 2016)
> Version 1.03 (04 Mar 2016)
>
>- If you used NetVLAD v1.01 or below, you need to upgrade your models using `relja_simplenn_tidy`
Expand Down Expand Up @@ -155,6 +155,9 @@ More information is available `README_more.md` and in comments in the code itsel

# Changes

- **1.03** (04 Mar 2016)
- Fixed a bug in NetVLAD backprop

- **1.02** (29 Feb 2016)
- Adapts the code to account for major changes in matconvnet-1.0-beta17's SimpleNN
- Removed the use of the redundant `relja_simplenn` since `vl_simplenn` has sufficient functionality now (from matconvnet-1.0-beta18)
Expand Down
3 changes: 1 addition & 2 deletions layerVLAD.m
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@
repmat( ...
reshape( sum(sum(assgn,1),2), [l.K, 1, batchSize] ), ...
[1, l.D, 1] ), ...
3 ), [1, 1, l.D, l.K] );

3 )', [1, 1, l.D, l.K] );
end

function objStruct= saveobj(obj)
Expand Down
2 changes: 1 addition & 1 deletion layerVLADv2.m
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
repmat( ...
reshape( sum(sum(assgn,1),2), [l.K, 1, batchSize] ), ...
[1, l.D, 1] ), ...
3 ), [1, 1, l.D, l.K] );
3 )', [1, 1, l.D, l.K] );

end

Expand Down

0 comments on commit e592367

Please sign in to comment.