Skip to content

Commit 817e758

Browse files
Update README.md
1 parent 674f80b commit 817e758

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,14 @@ Navigate (```cd```) to the root of the toolbox ```[YOUR_CIRTORCH_ROOT]```.
215215
```
216216
for `ResNet50`, `ResNet101`, or `ResNet152`, respectively.
217217

218-
<details>
219-
<summary>Implementation details:</summary><br/>
218+
Implementation details:
220219

221220
- Whitening FC layer is initialized in a supervised manner using our training data and off-the-shelf features.
222221
- Whitening FC layer is precomputed for popular architectures and pooling methods, see [imageretrievalnet.py#L50](https://github.com/filipradenovic/cnnimageretrieval-pytorch/blob/474b1fe61ff0e8a6f076ef58f7334cf33d7a3773/cirtorch/networks/imageretrievalnet.py#L50) for the full list of precomputed FC layers.
223222
- When whitening is added in the fine-tuning procedure, we notice that the performance is highest if the images are with a similar high-resolution at train and test time.
224223
- When whitening is added, the distribution of pairwise distances changes significantly, so roughly twice larger margin should be used for contrastive loss. In this scenario, triplet loss performs slightly better.
225224
- Additional tunning of hyper-parameters can be performed to achieve higher performance or faster training. Note that, in this example, `--neg-num` and `--image-size` hyper-parameters are chosen such that the training can be performed on a single GPU with `16 GB` of memory.
226225

227-
</details>
228-
229226
</details>
230227

231228
<details>

0 commit comments

Comments
 (0)