Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ model:
simcc_split_ratio: 2.0
sigma: [5.66, 5.66]
decode_beta: 150.0
apply_softmax: true
normalize_outputs: false
input_size: [256, 256]
in_channels: 768
out_channels: "num_bodyparts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ model:
simcc_split_ratio: 2.0
sigma: [5.66, 5.66]
decode_beta: 150.0
apply_softmax: true
normalize_outputs: false
input_size: [256, 256]
in_channels: 512
out_channels: "num_bodyparts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ model:
simcc_split_ratio: 2.0
sigma: [6.93, 6.93]
decode_beta: 150.0
apply_softmax: true
normalize_outputs: false
input_size: [384, 384]
in_channels: 1280
out_channels: "num_bodyparts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def get_simcc_maximum(
mask = max_val_x > max_val_y
max_val_x[mask] = max_val_y[mask]
vals = max_val_x
locs[vals <= 0.0] = -1
threshold = 1.0 / simcc_x.shape[-1] if apply_softmax else 0.0
Comment thread
deruyter92 marked this conversation as resolved.
locs[vals <= threshold] = -1

if N:
locs = locs.reshape(N, K, 2)
Expand Down
Loading