Skip to content

Commit

Permalink
Adjust default values of parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Algy committed Aug 30, 2019
1 parent b847800 commit 1c50ad6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fast_slic/base_slic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ class BaseSlic(object):
def __init__(self,
num_components=400,
slic_model=None,
compactness=20,
min_size_factor=0.05,
compactness=10,
min_size_factor=0.25,
subsample_stride=3,
convert_to_lab=True,
preemptive=False,
preemptive_thres=0.05,
manhattan_spatial_dist=True,
manhattan_spatial_dist=False,
num_threads=-1):
self.compactness = compactness
self.subsample_stride = subsample_stride
Expand Down

0 comments on commit 1c50ad6

Please sign in to comment.