일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- KAKAO
- file
- Paper
- list
- Container
- CUDA
- docker
- TORCH
- format
- Linux
- Converting
- Python
- Laravel
- judge
- LLM
- Flask
- DB
- PostgreSQL
- pytorch
- GitLab
- Mac
- Package
- Windows
- numpy
- pandas
- enV
- evaluation
- git
- AI
- Database
- Today
- Total
목록Python (35)
Daily Develope
설치# macOS or Linuxcurl -LsSf https://astral.sh/uv/install.sh | sh 프로젝트 / 패키지# 프로젝트 생성uv init# 패키지 추가uv add {package_name}# 패키지 삭제uv remove {package_name}# 패키지 조회uv tree 가상환경 생성 및 활성화# python 3.12 가상환경 생성uv venv --python 3.12# 생성된 가상환경 shell 명령어에 추가 (macOS/Linux)source .venv/bin/actiavte# 가상환경 비활성화deactivate 스크립트# 실행uv run# 의존성 추가uv add --script# 의존성 제거uv remove --script Tools(ruff, black와 같은) Py..
ㅇ 설치curl -LsSf https://astral.sh/uv/install.sh | sh ㅇ 프로젝트 생성 (초기화)> uv init {project_name} ㅇ 가상 환경 생성 & 실행> uv venv> source .venv/bin/activate ㅇ 패키지 추가> uv add {package_name}
Hosting1. 서빙mlflow server --host 127.0.0.1 --port 9090 2. 추적 서버 설정import mlflow# Set our tracking server uri for loggingmlflow.set_tracking_uri(uri="http://127.0.0.1:9090")# Create a new MLflow Experimentmlflow.set_experiment("MLflow Quickstart")# with mlflow.start_run(): # 내부 기입되는 mlflow에 대한 로깅 # Log the hyperparameters mlflow.log_params(params) # Log the loss metric mlflow.log_..
설치ㅇ poetry 직접 설치- python 설치- 설치된 python 기반으로 poetry 설치curl -sSL https://install.python-poetry.org | python3 - ㅇ 환경설정- poetry binary 경로 추가- 설치 후 설치된 경로 확인하고, 해당 경로를 PATH에 추가# 설치경로 = "Users/username/.local/bin"export PATH="Users/username/.local/bin:$PATH" - Zsh 명령에 추가 (Zsh을 재시작 하는 경우에도 명령어 사용 가능)vim ~/.zshrcPATH="/Users/username/.local/bin:$PATH" 구조ㅇ toml 파일 : 설치 또는 사용자 정의에 의한 간략한 의존성 정보 표현ㅇ poetr..