Skip to content

Commit

Permalink
[silero_vad_ros] fix version and update chunk size
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 14, 2024
1 parent 5c09ccf commit 82e13cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions silero_vad_ros/node_scripts/vad.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ class SileroVADROS(VADBaseNode):
def __init__(self):

model_vad, _ = torch.hub.load(
repo_or_dir="snakers4/silero-vad", model="silero_vad", force_reload=True
repo_or_dir="snakers4/silero-vad:v5.0", model="silero_vad", force_reload=True
)
self.model_vad = model_vad

super(SileroVADROS, self).__init__(chunk_size=1536)
super(SileroVADROS, self).__init__(chunk_size=512)

rospy.loginfo("Initialized.")

Expand Down

0 comments on commit 82e13cf

Please sign in to comment.