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