clean: remove unused URL constants from config
The WEIGHTS_URL and WHL_URL variables are no longer needed since whl package and weights are now placed manually.
This commit is contained in:
@@ -1,16 +1,10 @@
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
# 权重文件地址
|
|
||||||
WEIGHTS_URL = "http://193.112.94.100:9000/SkyLiCoder/Infrared-ai-research-lab/releases/download/v0.1.0/best.pt"
|
|
||||||
|
|
||||||
# 权重本地路径
|
# 权重本地路径
|
||||||
WEIGHTS_DIR = Path(__file__).parent.parent / "weights"
|
WEIGHTS_DIR = Path(__file__).parent.parent / "weights"
|
||||||
WEIGHTS_PATH = WEIGHTS_DIR / "best.pt"
|
WEIGHTS_PATH = WEIGHTS_DIR / "best.pt"
|
||||||
|
|
||||||
# whl 文件地址
|
|
||||||
WHL_URL = "http://193.112.94.100:9000/SkyLiCoder/Infrared-ai-research-lab/releases/download/v0.1.0/infrared_data-0.1.0-py3-none-any.whl"
|
|
||||||
|
|
||||||
# whl 本地路径
|
# whl 本地路径
|
||||||
WHL_DIR = Path(__file__).parent.parent / "lib"
|
WHL_DIR = Path(__file__).parent.parent / "lib"
|
||||||
WHL_PATH = WHL_DIR / "infrared_data-0.1.0-py3-none-any.whl"
|
WHL_PATH = WHL_DIR / "infrared_data-0.1.0-py3-none-any.whl"
|
||||||
|
|||||||
Reference in New Issue
Block a user