{ "cells": [ { "cell_type": "markdown", "metadata": { "hide_input": false }, "source": [ "## Computer Vision Interpret" ] }, { "cell_type": "markdown", "metadata": { "hide_input": false }, "source": [ "[`vision.interpret`](/vision.interpret.html#vision.interpret) is the module that implements custom [`Interpretation`](/train.html#Interpretation) classes for different vision tasks by inheriting from it." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [], "source": [ "from fastai.gen_doc.nbdoc import *\n", "from fastai.vision import *\n", "from fastai.vision.interpret import *" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "
class
SegmentationInterpretation
[source][test]SegmentationInterpretation
(**`learn`**:[`Learner`](/basic_train.html#Learner), **`preds`**:`Tensor`, **`y_true`**:`Tensor`, **`losses`**:`Tensor`, **`ds_type`**:[`DatasetType`](/basic_data.html#DatasetType)=***`No tests found for SegmentationInterpretation
. To contribute a test please refer to this guide and this discussion.
top_losses
[source][test]top_losses
(**`sizes`**:`Tuple`, **`k`**:`int`=***`None`***, **`largest`**=***`True`***)\n",
"\n",
"No tests found for top_losses
. To contribute a test please refer to this guide and this discussion.
_interp_show
[source][test]_interp_show
(**`ims`**:[`ImageSegment`](/vision.image.html#ImageSegment), **`classes`**:`Collection`\\[`T_co`\\]=***`None`***, **`sz`**:`int`=***`20`***, **`cmap`**=***`'tab20'`***, **`title_suffix`**:`str`=***`None`***)\n",
"\n",
"No tests found for _interp_show
. To contribute a test please refer to this guide and this discussion.
show_xyz
[source][test]show_xyz
(**`i`**, **`classes`**:`list`=***`None`***, **`sz`**=***`10`***)\n",
"\n",
"No tests found for show_xyz
. To contribute a test please refer to this guide and this discussion.
_generate_confusion
[source][test]_generate_confusion
()\n",
"\n",
"No tests found for _generate_confusion
. To contribute a test please refer to this guide and this discussion.
_plot_intersect_cm
[source][test]_plot_intersect_cm
(**`cm`**, **`title`**=***`'Intersection with Predict given True'`***)\n",
"\n",
"No tests found for _plot_intersect_cm
. To contribute a test please refer to this guide and this discussion.
epoch | \n", "train_loss | \n", "valid_loss | \n", "time | \n", "
---|---|---|---|
0 | \n", "10.024513 | \n", "3.442348 | \n", "00:15 | \n", "
1 | \n", "6.325253 | \n", "2.343699 | \n", "00:03 | \n", "
2 | \n", "4.759998 | \n", "2.108100 | \n", "00:02 | \n", "
label | \n", "score | \n", "
---|---|
Road | \n", "0.999367 | \n", "
Sky | \n", "0.405882 | \n", "
Building | \n", "0.0479275 | \n", "
Tree | \n", "0.00365813 | \n", "
Bicyclist | \n", "0 | \n", "
Void | \n", "0 | \n", "
TrafficLight | \n", "0 | \n", "
SUVPickupTruck | \n", "0 | \n", "
Sidewalk | \n", "0 | \n", "
Pedestrian | \n", "0 | \n", "
OtherMoving | \n", "0 | \n", "
Misc_Text | \n", "0 | \n", "
LaneMkgsDriv | \n", "0 | \n", "
Column_Pole | \n", "0 | \n", "
CartLuggagePram | \n", "0 | \n", "
Car | \n", "0 | \n", "
Wall | \n", "0 | \n", "
Animal | \n", "NaN | \n", "
Archway | \n", "NaN | \n", "
Bridge | \n", "NaN | \n", "
Child | \n", "NaN | \n", "
Fence | \n", "NaN | \n", "
LaneMkgsNonDriv | \n", "NaN | \n", "
MotorcycleScooter | \n", "NaN | \n", "
ParkingBlock | \n", "NaN | \n", "
RoadShoulder | \n", "NaN | \n", "
SignSymbol | \n", "NaN | \n", "
TrafficCone | \n", "NaN | \n", "
Train | \n", "NaN | \n", "
Truck_Bus | \n", "NaN | \n", "
Tunnel | \n", "NaN | \n", "
VegetationMisc | \n", "NaN | \n", "