{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "以下是自动学习框架autogluon的实践。" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%matplotlib inline\n", "from autogluon.vision import ImagePredictor, ImageDataset" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "train # 50000 test # 10000\n" ] }, { "data": { "text/html": [ "
| \n", " | image | \n", "label | \n", "
|---|---|---|
| 0 | \n", "/home/fangga/dachuang/AI/data/cifar/train/airp... | \n", "0 | \n", "
| 1 | \n", "/home/fangga/dachuang/AI/data/cifar/train/airp... | \n", "0 | \n", "
| 2 | \n", "/home/fangga/dachuang/AI/data/cifar/train/airp... | \n", "0 | \n", "
| 3 | \n", "/home/fangga/dachuang/AI/data/cifar/train/airp... | \n", "0 | \n", "
| 4 | \n", "/home/fangga/dachuang/AI/data/cifar/train/airp... | \n", "0 | \n", "