Shortcuts

caer.data

Standard Test Images

audio_mixer

caer.data.audio_mixer(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of an audio mixer.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.audio_mixer()
>> tens.shape
(427, 640, 3)

bear

caer.data.bear(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a bear.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.bear()
>> tens.shape
(427, 640, 3)

beverages

caer.data.beverages(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of beverages.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.beverages()
>> tens.shape
(427, 640, 3)

black_cat

caer.data.black_cat(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a black cat.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.black_cat()
>> tens.shape
(427, 640, 3)

blue_tang

caer.data.blue_tang(target_size=None, rgb=True)[source]

Returns a standard 640x414 image Tensor (RGB, by default) of a blue tang (a type of fish).

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.audio_mixer()
>> tens.shape
(414, 640, 3)

camera

caer.data.camera(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a camera.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.camera()
>> tens.shape
(427, 640, 3)

controller

caer.data.controller(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a game controller.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.controller()
>> tens.shape
(427, 640, 3)

drone

caer.data.drone(target_size=None, rgb=True)[source]

Returns a standard 640x358 image Tensor (RGB, by default) of a robotic drone.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.drone()
>> tens.shape
(358, 640, 3)

dusk

caer.data.dusk(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a dusk landscape.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.dusk()
>> tens.shape
(427, 640, 3)

fighter_fish

caer.data.fighter_fish(target_size=None, rgb=True)[source]

Returns a standard 640x640 image Tensor (RGB, by default) of a fighter fish.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.fighter_fish()
>> tens.shape
(640, 640, 3)

gold_fish

caer.data.gold_fish(target_size=None, rgb=True)[source]

Returns a standard 640x901 image Tensor (RGB, by default) of a gold fish.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.gold_fish()
>> tens.shape
(901, 640, 3)

green_controller

caer.data.green_controller(target_size=None, rgb=True)[source]

Returns a standard 640x512 image Tensor (RGB, by default) of a green game controller.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.green_controller()
>> tens.shape
(512, 640, 3)

green_fish

caer.data.green_fish(target_size=None, rgb=True)[source]

Returns a standard 640x430 image Tensor (RGB, by default) of a green fish.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.green_fish()
>> tens.shape
(430, 640, 3)

guitar

caer.data.guitar(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a guitar.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.guitar()
>> tens.shape
(427, 640, 3)

island

caer.data.island(target_size=None, rgb=True)[source]

Returns a standard 640x426 image Tensor (RGB, by default) of an island.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.island()
>> tens.shape
(426, 640, 3)

jellyfish

caer.data.jellyfish(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a jellyfish.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.jellyfish()
>> tens.shape
(427, 640, 3)

laptop

caer.data.laptop(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a laptop.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.laptop()
>> tens.shape
(427, 640, 3)

mountain

caer.data.mountain(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a mountain.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.mountain()
>> tens.shape
(427, 640, 3)

night

caer.data.night(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a night landscape.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.night()
>> tens.shape
(427, 640, 3)

puppies

caer.data.puppies(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a litter of puppies.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.puppies()
>> tens.shape
(427, 640, 3)

puppy

caer.data.puppy(target_size=None, rgb=True)[source]

Returns a standard 640x512 image Tensor (RGB, by default) of a puppy.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.puppy()
>> tens.shape
(512, 640, 3)

red_fish

caer.data.red_fish(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a red fish.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.red_fish()
>> tens.shape
(427, 640, 3)

phone

caer.data.phone(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a rotary phone.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.phone()
>> tens.shape
(427, 640, 3)

sea_turtle

caer.data.sea_turtle(target_size=None, rgb=True)[source]

Returns a standard 640x400 image Tensor (RGB, by default) of a sea turtle.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.sea_turtle()
>> tens.shape
(400, 640, 3)

snow

caer.data.snow(target_size=None, rgb=True)[source]

Returns a standard 640x360 image Tensor (RGB, by default) of snow.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.snow()
>> tens.shape
(360, 640, 3)

sunrise

caer.data.sunrise(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a sunrise landscape.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.sunrise()
>> tens.shape
(427, 640, 3)

tent

caer.data.tent(target_size=None, rgb=True)[source]

Returns a standard 640x427 image Tensor (RGB, by default) of a tent.

Parameters
  • target_size (Optional[Tuple[int, int]]) – Intended target size (follows the (width, height) format). If None, the unaltered tensor will be returned.

  • rgb (bool) – Boolean whether to return an RGB Tensor (default is True).

Return type

Tensor

Returns

Tensor of shape (height, width, channels).

Examples:

>> tens = caer.data.tent()
>> tens.shape
(427, 640, 3)
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.