beignet.datasets
beignet.datasets.FASTADataset
Bases: SizedSequenceDataset
Source code in src/beignet/datasets/_fasta_dataset.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
|
beignet.datasets.RandomEulerAngleDataset
Bases: RandomRotationDataset
Source code in src/beignet/datasets/_random_euler_angle_dataset.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|
__init__
__init__(size, axes, degrees=False, *, device=None, dtype=None, generator=None, layout=torch.strided, pin_memory=False, requires_grad=False, transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
size |
int
|
Output size. |
required |
axes |
str
|
Axes. 1-3 characters belonging to the set {‘X’, ‘Y’, ‘Z’} for intrinsic rotations, or {‘x’, ‘y’, ‘z’} for extrinsic rotations. Extrinsic and intrinsic rotations cannot be mixed. |
required |
degrees |
bool
|
If |
False
|
generator |
Generator
|
Psuedo-random number generator. Default, |
None
|
dtype |
dtype
|
Type of the returned tensor. Default, global default. |
None
|
layout |
layout
|
Layout of the returned tensor. Default, |
strided
|
device |
device
|
Device of the returned tensor. Default, current device for the default tensor type. |
None
|
requires_grad |
bool
|
Whether autograd records operations on the returned tensor.
Default, |
False
|
pin_memory |
bool
|
If |
False
|
Source code in src/beignet/datasets/_random_euler_angle_dataset.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|
beignet.datasets.RandomQuaternionDataset
Bases: RandomRotationDataset
Source code in src/beignet/datasets/_random_quaternion_dataset.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|
__init__
__init__(size, canonical=False, *, device=None, dtype=None, generator=None, layout=torch.strided, pin_memory=False, requires_grad=False, transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
size |
int
|
Output size. |
required |
canonical |
bool
|
Whether to map the redundant double cover of rotation space to a
unique canonical single cover. If |
False
|
generator |
Generator
|
Psuedo-random number generator. Default, |
None
|
dtype |
dtype
|
Type of the returned tensor. Default, global default. |
None
|
layout |
layout
|
Layout of the returned tensor. Default, |
strided
|
device |
device
|
Device of the returned tensor. Default, current device for the default tensor type. |
None
|
requires_grad |
bool
|
Whether autograd records operations on the returned tensor.
Default, |
False
|
pin_memory |
bool
|
If |
False
|
Source code in src/beignet/datasets/_random_quaternion_dataset.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|
beignet.datasets.RandomRotationMatrixDataset
Bases: RandomRotationDataset
Source code in src/beignet/datasets/_random_rotation_matrix_dataset.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
__init__
__init__(size, *, device=None, dtype=None, generator=None, layout=torch.strided, pin_memory=False, requires_grad=False, transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
size |
int
|
Output size. |
required |
generator |
Generator
|
Psuedo-random number generator. Default, |
None
|
dtype |
dtype
|
Type of the returned tensor. Default, global default. |
None
|
layout |
layout
|
Layout of the returned tensor. Default, |
strided
|
device |
device
|
Device of the returned tensor. Default, current device for the default tensor type. |
None
|
requires_grad |
bool
|
Whether autograd records operations on the returned tensor.
Default, |
False
|
pin_memory |
bool
|
If |
False
|
Source code in src/beignet/datasets/_random_rotation_matrix_dataset.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
beignet.datasets.RandomRotationVectorDataset
Bases: RandomRotationDataset
Source code in src/beignet/datasets/_random_rotation_vector_dataset.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
__init__
__init__(size, degrees=False, *, device=None, dtype=None, generator=None, layout=torch.strided, pin_memory=False, requires_grad=False, transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
size |
int
|
Output size. |
required |
degrees |
bool
|
If |
False
|
generator |
Generator
|
Psuedo-random number generator. Default, |
None
|
dtype |
dtype
|
Type of the returned tensor. Default, global default. |
None
|
layout |
layout
|
Layout of the returned tensor. Default, |
strided
|
device |
device
|
Device of the returned tensor. Default, current device for the default tensor type. |
None
|
requires_grad |
bool
|
Whether autograd records operations on the returned tensor.
Default, |
False
|
pin_memory |
bool
|
If |
False
|
Source code in src/beignet/datasets/_random_rotation_vector_dataset.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
beignet.datasets.SequenceDataset
Bases: Dataset
Source code in src/beignet/datasets/_sequence_dataset.py
7 8 9 10 11 12 |
|
beignet.datasets.SizedSequenceDataset
Bases: SequenceDataset
Source code in src/beignet/datasets/_sized_sequence_dataset.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
beignet.datasets.SwissProtDataset
Bases: UniProtDataset
Source code in src/beignet/datasets/_swissprot_dataset.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
__init__
__init__(root=None, *, transform=None, target_transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root |
str | PathLike
|
Root directory where the dataset subdirectory exists or, if
|
None
|
transform |
Callable
|
A |
None
|
target_transform |
Callable
|
A |
None
|
Source code in src/beignet/datasets/_swissprot_dataset.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
beignet.datasets.TrEMBLDataset
Bases: UniProtDataset
Source code in src/beignet/datasets/_trembl_dataset.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
__init__
__init__(root=None, *, transform=None, target_transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root |
str | PathLike
|
Root directory where the dataset subdirectory exists or, if
|
None
|
transform |
Callable
|
A |
None
|
target_transform |
Callable
|
A |
None
|
Source code in src/beignet/datasets/_trembl_dataset.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
beignet.datasets.UniProtDataset
Bases: FASTADataset
Source code in src/beignet/datasets/_uniprot_dataset.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
|
__init__
__init__(url, root=None, known_hash=None, *, transform=None, target_transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url |
str
|
URL to the file that needs to be downloaded. Ideally, the URL
should end with a file name (e.g., |
required |
root |
str | PathLike
|
Root directory where the dataset subdirectory exists or, if
|
None
|
transform |
Callable | Transform
|
A |
None
|
target_transform |
Callable | Transform
|
A |
None
|
Source code in src/beignet/datasets/_uniprot_dataset.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
|
beignet.datasets.UniRef50Dataset
Bases: UniProtDataset
Source code in src/beignet/datasets/_uniref50_dataset.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
__init__
__init__(root=None, *, transform=None, target_transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root |
str | PathLike
|
Root directory where the dataset subdirectory exists or, if
|
None
|
transform |
Callable
|
A |
None
|
target_transform |
Callable
|
A |
None
|
Source code in src/beignet/datasets/_uniref50_dataset.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
beignet.datasets.UniRef90Dataset
Bases: UniProtDataset
Source code in src/beignet/datasets/_uniref90_dataset.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
__init__
__init__(root, *, transform=None, target_transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root |
str | Path
|
Root directory where the dataset subdirectory exists or, if
|
required |
transform |
Callable
|
A |
None
|
target_transform |
Callable
|
A |
None
|
Source code in src/beignet/datasets/_uniref90_dataset.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
beignet.datasets.UniRef100Dataset
Bases: UniProtDataset
Source code in src/beignet/datasets/_uniref100_dataset.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
__init__
__init__(root, *, transform=None, target_transform=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root |
str | Path
|
Root directory where the dataset subdirectory exists or, if
|
required |
transform |
Callable
|
A |
None
|
target_transform |
Callable
|
A |
None
|
Source code in src/beignet/datasets/_uniref100_dataset.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|