Skip to content

Commit

Permalink
Merge pull request the-full-stack#21 from full-stack-deep-learning:fixes
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
sergeyk authored Mar 25, 2021
2 parents 2c5c616 + e8bb4e2 commit c4e5985
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lab2/text_recognizer/data/emnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import toml
import torch

from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info, split_dataset
from text_recognizer.data.util import BaseDataset
from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info
from text_recognizer.data.util import BaseDataset, split_dataset

NUM_SPECIAL_TOKENS = 4
SAMPLE_TO_BALANCE = True # If true, take at most the mean number of instances per class.
Expand Down
4 changes: 2 additions & 2 deletions lab3/text_recognizer/data/emnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import toml
import torch

from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info, split_dataset
from text_recognizer.data.util import BaseDataset
from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info
from text_recognizer.data.util import BaseDataset, split_dataset

NUM_SPECIAL_TOKENS = 4
SAMPLE_TO_BALANCE = True # If true, take at most the mean number of instances per class.
Expand Down
4 changes: 2 additions & 2 deletions lab4/text_recognizer/data/emnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import toml
import torch

from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info, split_dataset
from text_recognizer.data.util import BaseDataset
from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info
from text_recognizer.data.util import BaseDataset, split_dataset

NUM_SPECIAL_TOKENS = 4
SAMPLE_TO_BALANCE = True # If true, take at most the mean number of instances per class.
Expand Down
4 changes: 2 additions & 2 deletions lab5/text_recognizer/data/emnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import toml
import torch

from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info, split_dataset
from text_recognizer.data.util import BaseDataset
from text_recognizer.data.base_data_module import _download_raw_dataset, BaseDataModule, load_and_print_info
from text_recognizer.data.util import BaseDataset, split_dataset

NUM_SPECIAL_TOKENS = 4
SAMPLE_TO_BALANCE = True # If true, take at most the mean number of instances per class.
Expand Down
4 changes: 2 additions & 2 deletions lab5/text_recognizer/data/iam_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import torch
from torchvision import transforms

from text_recognizer.data.util import BaseDataset, convert_strings_to_labels
from text_recognizer.data.base_data_module import BaseDataModule, load_and_print_info, split_dataset
from text_recognizer.data.util import BaseDataset, convert_strings_to_labels, split_dataset
from text_recognizer.data.base_data_module import BaseDataModule, load_and_print_info
from text_recognizer.data.emnist import EMNIST
from text_recognizer.data.iam import IAM
from text_recognizer import util
Expand Down

0 comments on commit c4e5985

Please sign in to comment.