Use test mode arg in ch07 (#713)

This commit is contained in:
Sebastian Raschka 2025-06-27 19:28:56 -05:00 committed by GitHub
parent 9c666a4d94
commit 8c8ff24118

View File

@ -175,7 +175,7 @@ def main(test_mode=False):
val_data = data[train_portion + test_portion:]
# Use very small subset for testing purposes
if args.test_mode:
if test_mode:
train_data = train_data[:10]
val_data = val_data[:10]
test_data = test_data[:10]