Skip to content

fix: val directory may not be created - #86

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:masterfrom
andrewwhitecdw:bugfix/prepare-market-9a1b5f8c
Open

fix: val directory may not be created#86
andrewwhitecdw wants to merge 1 commit into
NVlabs:masterfrom
andrewwhitecdw:bugfix/prepare-market-9a1b5f8c

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 27, 2026

Copy link
Copy Markdown

Problem

fix: val directory may not be created

Fix

Replace:

if not os.path.isdir(train_save_path):
    os.mkdir(train_save_path)
    os.mkdir(val_save_path)

with:

if not os.path.isdir(train_save_path):
    os.mkdir(train_save_path)
if not os.path.isdir(val_save_path):
    os.mkdir(val_save_path)

Files changed

  • prepare-market.py

@andrewwhitecdw
andrewwhitecdw marked this pull request as ready for review August 3, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant