showsamples

function defined in module FastAI


			showsample([backend], task, sample)

Show a vector of unprocessed samples for LearningTask task to backend:: ShowBackend.

Examples


			
			
			
			
			data
			,
			 
			blocks
			 
			=
			 
			
			loaddataset
			(
			
			"
			imagenette2-160
			"
			,
			 
			
			(

	
			Image
			,
			 

	
			Label
			)
			)
			

			
			task
			 
			=
			 
			

	
			ImageClassificationSingle
			(
			data
			)
			

			
			samples
			 
			=
			 
			
			[
			
			
			data
			[
			i
			]
			 
			for
			
			 
			i
			 
			in
			
			 
			1
			:
			4
			]
			

			

			showsamples
			(
			task
			,
			 
			samples
			)
			  
			# select backend automatically
			

			

			showsamples
			(
			

	
			ShowText
			(
			)
			,
			 
			task
			,
			 
			samples
			)
Methods

There are 2 methods for FastAI.showsamples: