commit cae439fbb240be414d3bde9fcf780589177a1fad
parent 95a84d0a551ada57df6720be042c01387350b968
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Fri, 10 Mar 2023 14:16:20 +0000
Prepare devcontainer and model.ipynb
Diffstat:
2 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
@@ -0,0 +1,17 @@
+{
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "ms-python.python",
+ "ms-toolsai.jupyter",
+ "ms-python.isort"
+ ]
+ }
+ },
+ "features": {
+ "ghcr.io/devcontainers/features/nvidia-cuda:1": {
+ "installCudnn": true,
+ "cudaVersion": "11.7"
+ }
+ }
+}
+\ No newline at end of file
diff --git a/model.ipynb b/model.ipynb
@@ -0,0 +1,35 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import fastai.callback.tensorboard\n",
+ "from fastai.text.all import *\n",
+ "import os\n",
+ "os.environ[\"CUDA_VISIBLE_DEVICES\"] = \"\"\n"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "name": "python",
+ "version": "3.10.4"
+ },
+ "orig_nbformat": 4,
+ "vscode": {
+ "interpreter": {
+ "hash": "3ad933181bd8a04b432d3370b9dc3b0662ad032c4dfaa4e4f1596c548f763858"
+ }
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}