We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the function visualize_and_dump in p3i\utils\vis.py instead of generating the output folder with: os.system(f'mkdir -p {args.output_dir}')
visualize_and_dump
p3i\utils\vis.py
os.system(f'mkdir -p {args.output_dir}')
try to use the available dedicated function os.mkdirs: os.makedirs(args.output_dir, exist_ok=True)
os.mkdirs
os.makedirs(args.output_dir, exist_ok=True)
On my Windows 10 machine the former command had the side effect of generating a folder named '-p', as I think on Windows the command mkdir does not accept any parameter (https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mkdir).
mkdir
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the function
visualize_and_dump
inp3i\utils\vis.py
instead of generating the output folder with:os.system(f'mkdir -p {args.output_dir}')
try to use the available dedicated function
os.mkdirs
:os.makedirs(args.output_dir, exist_ok=True)
On my Windows 10 machine the former command had the side effect of generating a folder named '-p', as I think on Windows the command
mkdir
does not accept any parameter (https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mkdir).The text was updated successfully, but these errors were encountered: