This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {useState, useEffect} from 'react'; | |
import { Redirect, useLocation } from 'react-router' | |
function App() { | |
return ( | |
<BrowserRouter> | |
<div> | |
<Switch> | |
<Route exact path="/"> | |
<Home /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
M5CameraでGoogle DriveにJPEGファイルをアップロードするテスト | |
*/ | |
#include "esp_camera.h" | |
#include <WiFi.h> | |
#include <WiFiClientSecure.h> | |
#include <DNSServer.h> | |
#include <WebServer.h> | |
#include <FS.h> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- Fine-tuning with DAGM2007 dataset. 109 Epochs was enough. It took 8 hours with a Tesla K80 (12GB Memory, 61GB RAM, 100GB SSD)
https://resources.mpi-inf.mpg.de/conference/dagm/2007/prizes.html
- python heatmap.py image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
from keras.datasets import mnist | |
from keras.models import Sequential | |
from keras.layers import Dense, Dropout, Flatten, BatchNormalization | |
from keras.layers.advanced_activations import LeakyReLU | |
from keras.layers import Conv2D, MaxPooling2D, Reshape, UpSampling2D, InputLayer | |
from keras.optimizers import Adam | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var CHANNEL_ACCESS_TOKEN = 'xxx='; | |
var line_endpoint = 'https://api.line.me/v2/bot/message/reply'; | |
function doGet(e) { | |
return ContentService.createTextOutput(UrlFetchApp.fetch("http://ip-api.com/json")); | |
} | |
function doPost(e) { | |
var contents = JSON.parse(e.postData.contents); |