Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying the network type in include #78

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,4 @@ def check_requirements(self, X: Dict[str, Any], y: Any = None) -> None:
def __str__(self) -> str:
""" Allow a nice understanding of what components where used """
string = self.__class__.__name__
info = vars(self)
# Remove unwanted info
info.pop('random_state', None)
string += " (" + str(info) + ")"
return string
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,4 @@ def get_preprocessor_dict(self) -> Dict[str, BaseEstimator]:
def __str__(self) -> str:
""" Allow a nice understanding of what components where used """
string = self.__class__.__name__
info = vars(self)
# Remove unwanted info
info.pop('early_preprocessor', None)
info.pop('column_transformer', None)
info.pop('random_state', None)
info.pop('_fit_requirements', None)
if len(info.keys()) != 0:
string += " (" + str(info) + ")"
return string
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,4 @@ def get_properties(dataset_properties: Optional[Dict[str, str]] = None
def __str__(self) -> str:
""" Allow a nice understanding of what components where used """
string = self.__class__.__name__
info = vars(self)
augmenters = list()
for augmenter in info['augmenter']:
augmenters.append(augmenter.name)
info['augmenters'] = augmenters
# Remove unwanted info
info.pop('random_state', None)
info.pop('available_augmenters', None)
info.pop('augmenter', None)
string += " (" + str(info) + ")"
return string
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,4 @@ def get_properties(dataset_properties: Optional[Dict[str, Any]] = None) -> Dict[
def __str__(self) -> str:
""" Allow a nice understanding of what components where used """
string = self.__class__.__name__
info = vars(self)
# Remove unwanted info
info.pop('random_state', None)
string += " (" + str(info) + ")"
return string
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,4 @@ def get_scheduler(self) -> _LRScheduler:
def __str__(self) -> str:
""" Allow a nice understanding of what components where used """
string = self.scheduler.__class__.__name__
info = vars(self)
# Remove unwanted info
info.pop('scheduler', None)
info.pop('random_state', None)
string += " (" + str(info) + ")"
return string
112 changes: 0 additions & 112 deletions autoPyTorch/pipeline/components/setup/network/BackboneHeadNet.py

This file was deleted.

32 changes: 0 additions & 32 deletions autoPyTorch/pipeline/components/setup/network/backbone/__init__.py

This file was deleted.