jupyter(4)
-
[Kubeflow Notebooks] Submit Kubernetes Resources
노트북에서의 쿠버네티스 리소스 제출 Notebook Pod ServiceAccount Kubeflow는 default-editor 라는 쿠버네티스 ServiceAccount를 노트북 Pods에 할당합니다. 해당 쿠버네티스 default-editor ServiceAccount는 kubeflow-edit ClusterRole에 바운드 되어 있습니다.이 ClusterRole은 많은 쿠버네티스 자원에 권한이 있는 네임스페이스 스코프를 가지고 있습니다. 당신은 ClusterRole/kubeflow-edit 을 위한 RBAC의 모든 리스트를 아래와 같이 조회할 수 있습니다. $ kubectl describe clusterrole kubeflow-edit Kubectl in Notebook Pod 모든 노트북 pod..
2022.12.20 -
[Kubeflow Notebooks] Jupyter TensorFlow Examples
Kubeflow 노트북에서의 Jupyter와 Tensorflow 사용 예제 Mnist Example (tensorflow/tensorflow - mnist_softmax.py 에서 각색) Jupyter와 Tensorflow가 설치된 container image를 선택해서 노트북 서버를 생성하세요. Python 3 노트북 생성을 위해 Jupyter 인터페이스를 사용하세요. 아래 코드를 복사, 붙여넣으세요. from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) import tensorflow as tf x = tf.placeholder(tf.fl..
2022.12.19 -
[Kubeflow Notebooks] Container Images
Kubeflow 노트북은 기본적으로 세 가지 타입(JupyterLab, RStudio, and Visual Studio Code (code-server))의 노트북을 제공합니다. 그러나 어떠한 웹 베이스의 IDE도 동작이 가능합니다. 노트북 서버는 쿠버네티스 Pod의 컨테이너로써 구동됩니다. 그렇다는 것은 IDE 종류는 사용자가 선택한 도커 이미지에 의해 결정된다는 것을 의미합니다. Images 수 많은 예제 이미지 가 준비되어 있습니다. Base Images 이 이미지들은 Kubeflow 노트북 컨테이너를 위한 공통 스타팅 포인트를 제공합니다. 당신의 고유 패키지로 확장하려면 custom images를 참고하세요. Dockerfile Registry Notes base https://gallery.ec..
2022.12.15 -
miniconda로 Jupyter Notebook 설치 및 실행하기
miniconda는 설치되어 있다고 가정했다. 설치는 어렵지 않으니 찾아보면 금방 할 수 있다. (base) $ conda install jupyter notebook 가상환경에 진입 후, conda를 통해 jupyter, notebook 을 설치한다. Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: C:\ProgramData\miniforge3 added / updated specs: - jupyter - notebook The following packages will be downloaded: package | build --..
2022.11.21