add the sys.path way to help finding the dinov2 in using VSCODE with linux_x64

pull/421/head
JW 2024-05-24 18:05:27 +08:00
parent e1277af2ba
commit 479acef8f1
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import logging
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../../..')
from dinov2.logging import setup_logging
from dinov2.train import get_args_parser as get_train_args_parser
from dinov2.run.submit import get_args_parser, submit_jobs