{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 実験を実行する" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 1. 実験名を入力する" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "experiment_title = ''" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 2. パッケージを研究用フォルダに複製する" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "%%sh\n", "cp -r /home/jovyan/PACKAGE/* /home/jovyan/[project_title]/[experiment_title]" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 3. 複製したパッケージを書き戻す" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%%sh\n", "papermill ../util/datalad_save_push.ipynb ./init_research_repo_output.ipynb -f ../../params.yaml -p SAVE_MESSAGE = '実験を作成'" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 4. 複製したパッケージのコンテナを立ち上げて、ソースコードのJupyterNotebookに遷移する\n", "※下のリンクは未完成" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "[![Binder](https://binder.cs.rcos.nii.ac.jp/badge_logo.svg)](https://binder.cs.rcos.nii.ac.jp/v2/gh/[ユーザー名]/['/home/jovyan/[project-title]/[wxperiment-title]']/main)" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.8" } }, "nbformat": 4, "nbformat_minor": 4 }