diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e9992af --- /dev/null +++ b/.dockerignore @@ -0,0 +1,75 @@ +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +*.egg-info/ +.eggs/ +dist/ +build/ +*.egg + +# Virtual environments +.venv/ +venv/ +ENV/ +env/ +.pixi/ + +# IDE +.idea/ +.vscode/ +*.swp +*.swo +.cursor/ + +# Git +.git/ +.gitignore + +# Data (不需要打包到镜像) +data/ +!data/.gitkeep + +# Notebooks +notebooks/ +*.ipynb + +# Documentation +docs/ + +# Reports +reports/ + +# References +references/ + +# Scripts (训练脚本不需要) +scripts/ + +# Lock files +pixi.lock + +# Tests +tests/ +.pytest_cache/ + +# Logs +*.log +logs/ + +# Temporary files +*.tmp +*.temp +.DS_Store + +# Models (will be mounted as volume or copied explicitly) +# Note: models/final/ is copied in Dockerfile +models/finetune_cv/ +models/pretrain_cv/ +models/mpnn/ +models/*.pt +models/*.json +!models/final/ + diff --git a/requirements.txt b/requirements.txt index 130ef26..ee8553a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,4 +18,4 @@ fastapi>=0.124.4,<0.125 streamlit>=1.40.1,<2 httpx>=0.28.1,<0.29 uvicorn>=0.33.0,<0.34 -optuna>=4.5.0,<5 \ No newline at end of file +optuna>=4.5.0,<5