Skip to content

Instantly share code, notes, and snippets.

View mur6's full-sized avatar

MURAKI Taichi mur6

View GitHub Profile
from matplotlib import pyplot as plt
fig, ax = plt.subplots()
ax.imshow(c, cmap="gray")
plt.show()
if __name__ == '__main__':
main()
{
"images": [
{
"id": 48,
"dataset_id": 16,
"category_ids": [
1
],
"path": "/datasets/mathand/train/IMG_3100.jpeg",
"width": 512,
import os
import pathlib
import json
import numpy as np
import cv2
from detectron2.structures import BoxMode
from detectron2.data import MetadataCatalog, DatasetCatalog
import torch
from torch import nn
from torch.utils.data import DataLoader
from torchvision import datasets
import torchvision
from torchvision.transforms import ToTensor
import torchvision.transforms as transforms
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],
import torch
from torch import nn
from torch.utils.data import DataLoader
from torchvision import datasets
from torchvision.transforms import ToTensor, Lambda
training_data = datasets.FashionMNIST(
root="data",
train=True,
download=True,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

emscripten/c++/wasmハンズオン事前資料

1. emscriptenのインストール

所要時間: 10分

git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
@mur6
mur6 / 環境構築.md
Last active January 15, 2021 08:24
新品macの環境構築手順

ソフト

下記をインストールする。

  • Docker desktop
  • vscode
  • homebrew
  • chrome
  • slack
  • iterm2

フォント