Skip to content

Commit

Permalink
Merge pull request rpautrat#61 from rpautrat/superpoint_v1
Browse files Browse the repository at this point in the history
Small fix in patch generation
  • Loading branch information
rpautrat authored Apr 11, 2019
2 parents 17dfc4b + 3e2731a commit c81eab1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion superpoint/configs/coco_patches_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ homographies:
scaling: true
perspective: true
scaling_amplitude: 0.1
perspective_amplitude: 0.05
perspective_amplitude_x: 0.05
perspective_amplitude_y: 0.05
patch_ratio: 0.8
max_angle: 3.14
preprocessing:
Expand Down
2 changes: 1 addition & 1 deletion superpoint/configs/superpoint_coco.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data:
name: 'coco'
cache_in_memory: true
cache_in_memory: false
validation_size: 96
labels: outputs/mp_synth-v10_ha2-100 # use your own labels here
augmentation:
Expand Down
4 changes: 2 additions & 2 deletions superpoint/generate_coco_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import yaml
from pathlib import Path

from superpoint.models.utils import (sample_homography, flat2mat,
invert_homography)
from superpoint.models.homographies import (sample_homography, flat2mat,
invert_homography)
from superpoint.settings import DATA_PATH


Expand Down

0 comments on commit c81eab1

Please sign in to comment.