일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- IVI
- airflow
- 사회조사분석사2급
- cocre
- HookNet
- Jupyter notebook
- docker
- 코크리
- 프로그래머스
- ssh
- WSSS
- CellPin
- AIFFEL
- docker attach
- cs231n
- GIT
- Decision Boundary
- Pull Request
- logistic regression
- aiffel exploration
- docker exec
- 티스토리챌린지
- 도커
- 기초확률론
- vscode
- 오블완
- 백신후원
- 히비스서커스
- Multi-Resolution Networks for Semantic Segmentation in Whole Slide Images
- numpy
Archives
- Today
- Total
목록To use CUDA with multiprocessing you must use the 'spawn' start method (1)
히비스서커스의 블로그

상황 airflow의 GPU를 사용하는 DAG 코드를 작성하다가 다음과 같은 에러를 마주쳤다. 코드 from airflow import DAG from airflow.operators.python import PythonOperator from datetime import datetime from models import our_model import torch test = DAG( dag_id = 'test', start_date = datetime(2022,5,5), catchup = False, schedule = '@once' ) train = PythonOperator( task_id = 'train', python_callable = train, dag = test ) def train(): ..
Programming/Python
2023. 6. 1. 23:23