Skip to content

Commit

Permalink
Update run_quant.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Mengni <[email protected]>
  • Loading branch information
mengniwang95 authored Aug 19, 2024
1 parent 68a0614 commit 1e853d4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ function run_tuning {
fi

# Check if the directory exists
if [ ! -d $(dirname "$output_model") ]; then
if [ ! -d "$(dirname "$output_model")" ]; then
# If the directory doesn't exist, create it
mkdir -p $(dirname "$output_model")
echo "Created directory $(dirname $output_model)"
mkdir -p "$(dirname "$output_model")"
echo "Created directory $(dirname "$output_model")"
fi

python main.py \
Expand Down

0 comments on commit 1e853d4

Please sign in to comment.