Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
from fastai.tabular.all import * | |
path = untar_data(URLs.ADULT_SAMPLE) | |
df = pd.read_csv(path/'adult.csv') | |
dls = TabularDataLoaders.from_csv(path/'adult.csv', path=path, y_names="salary", | |
cat_names = ['workclass', 'education', 'marital-status', 'occupation', 'relationship', 'race'], | |
cont_names = ['age', 'fnlwgt', 'education-num'], | |
procs = [Categorify, FillMissing, Normalize]) | |
splits = RandomSplitter(valid_pct=0.2)(range_of(df)) | |
to = TabularPandas(df, procs=[Categorify, FillMissing,Normalize], |
This file contains 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
from fastai.vision.all import * | |
path = untar_data(URLs.PETS) | |
files = get_image_files(path/"images") | |
def label_func(f): return f[0].isupper() | |
dls = ImageDataLoaders.from_name_func(path, files, label_func, item_tfms=Resize(224)) | |
learn = vision_learner(dls, resnet34, metrics=error_rate) | |
learn.fine_tune(1) |
This file contains 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
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Restrict Youtube</title> | |
<script type="text/javascript"> | |
function load_video(){ | |
var youtube_frame = document.getElementById("youtube_frame"); | |
var youtube_id = document.getElementById("youtube_id"); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.