You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OUTPUT_DIR="./checkpoints/eval"
if [ ! -d $OUTPUT_DIR ]; then
mkdir ${OUTPUT_DIR}
fi
python -u main.py
--port=$PORT
--num_workers 4
--resume "./checkpoints/${CONFIG_NAME}/checkpoint.pth"
--output-dir ${OUTPUT_DIR}
--config $CONFIG ${@:3}
--eval
2>&1 | tee -a ${OUTPUT_DIR}/train.log
"""
I have two A100, so set GPUS is 2. All other settings according to ReadME.md
but I got a problem when running eval.sh
"""
File "eval.sh", line 4
export NCCL_LL_THRESHOLD=0
^
SyntaxError: invalid syntax
"""
The text was updated successfully, but these errors were encountered:
"""
#!/usr/bin/env bash
set -x
export NCCL_LL_THRESHOLD=0
CONFIG=$1
GPUS=$1
CPUS=$[GPUS*2]
PORT=${PORT:-8886}
CONFIG_NAME=${CONFIG##/}
CONFIG_NAME=${CONFIG_NAME%.}
OUTPUT_DIR="./checkpoints/eval"
if [ ! -d $OUTPUT_DIR ]; then
mkdir ${OUTPUT_DIR}
fi
python -u main.py$CONFIG $ {@:3}
--port=$PORT
--num_workers 4
--resume "./checkpoints/${CONFIG_NAME}/checkpoint.pth"
--output-dir ${OUTPUT_DIR}
--config
--eval
2>&1 | tee -a ${OUTPUT_DIR}/train.log
"""
I have two A100, so set GPUS is 2. All other settings according to ReadME.md
but I got a problem when running eval.sh
"""
File "eval.sh", line 4
export NCCL_LL_THRESHOLD=0
^
SyntaxError: invalid syntax
"""
The text was updated successfully, but these errors were encountered: