Update fixed shapes in evaluation to use aggressive padding for consistency and error elimination
This commit is contained in:
@@ -92,10 +92,10 @@ class BrainToTextEvaluatorTF:
|
||||
self.config['dataset']['data_transforms'],
|
||||
training=False,
|
||||
fixed_shapes={
|
||||
'max_time_steps': 3200, # Safe margin above observed 3092
|
||||
'max_phone_seq_len': 150, # Safe margin above observed 137
|
||||
'max_transcription_len': 650 # Safe margin above observed 625
|
||||
} # Use safe fixed shapes for evaluation consistency
|
||||
'max_time_steps': 6400, # 2× aggressive padding
|
||||
'max_phone_seq_len': 300, # 2× aggressive padding
|
||||
'max_transcription_len': 1300 # 2× aggressive padding
|
||||
} # Use aggressive fixed shapes to eliminate padding errors
|
||||
)
|
||||
|
||||
# Distribute dataset
|
||||
|
||||
Reference in New Issue
Block a user