Skip to content

Commit 596b21d

Browse files
committed
fix merge conflicts after rebase
1 parent 85adeec commit 596b21d

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

autoPyTorch/api/base_task.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,7 @@ def _get_dataset_input_validator(
300300
y_train: Union[List, pd.DataFrame, np.ndarray],
301301
X_test: Optional[Union[List, pd.DataFrame, np.ndarray]] = None,
302302
y_test: Optional[Union[List, pd.DataFrame, np.ndarray]] = None,
303-
<<<<<<< HEAD
304303
resampling_strategy: Optional[ResamplingStrategies] = None,
305-
=======
306-
resampling_strategy: Optional[Union[
307-
CrossValTypes,
308-
HoldoutValTypes,
309-
NoResamplingStrategyTypes]] = None,
310-
>>>>>>> rebase and fix flake
311304
resampling_strategy_args: Optional[Dict[str, Any]] = None,
312305
dataset_name: Optional[str] = None,
313306
dataset_compression: Optional[DatasetCompressionSpec] = None,
@@ -353,14 +346,7 @@ def get_dataset(
353346
y_train: Union[List, pd.DataFrame, np.ndarray],
354347
X_test: Optional[Union[List, pd.DataFrame, np.ndarray]] = None,
355348
y_test: Optional[Union[List, pd.DataFrame, np.ndarray]] = None,
356-
<<<<<<< HEAD
357349
resampling_strategy: Optional[ResamplingStrategies] = None,
358-
=======
359-
resampling_strategy: Optional[Union[
360-
CrossValTypes,
361-
HoldoutValTypes,
362-
NoResamplingStrategyTypes]] = None,
363-
>>>>>>> rebase and fix flake
364350
resampling_strategy_args: Optional[Dict[str, Any]] = None,
365351
dataset_name: Optional[str] = None,
366352
dataset_compression: Optional[DatasetCompressionSpec] = None,
@@ -1444,14 +1430,7 @@ def fit_pipeline(
14441430
X_test: Optional[Union[List, pd.DataFrame, np.ndarray]] = None,
14451431
y_test: Optional[Union[List, pd.DataFrame, np.ndarray]] = None,
14461432
dataset_name: Optional[str] = None,
1447-
<<<<<<< HEAD
14481433
resampling_strategy: Optional[Union[HoldoutValTypes, CrossValTypes, NoResamplingStrategyTypes]] = None,
1449-
=======
1450-
resampling_strategy: Optional[Union[
1451-
CrossValTypes,
1452-
HoldoutValTypes,
1453-
NoResamplingStrategyTypes]] = None,
1454-
>>>>>>> rebase and fix flake
14551434
resampling_strategy_args: Optional[Dict[str, Any]] = None,
14561435
run_time_limit_secs: int = 60,
14571436
memory_limit: Optional[int] = None,

autoPyTorch/pipeline/components/training/trainer/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,13 +534,9 @@ def early_stop_handler(self, X: Dict[str, Any]) -> bool:
534534
if self.checkpoint_dir is None:
535535
self.checkpoint_dir = tempfile.mkdtemp(dir=X['backend'].temporary_directory)
536536

537-
<<<<<<< HEAD
538537
last_epoch = self.run_summary.get_last_epoch()
539538
best_epoch = self.run_summary.get_best_epoch(split_type=self.early_stopping_split_type)
540539
epochs_since_best = last_epoch - best_epoch
541-
=======
542-
epochs_since_best = self.run_summary.get_last_epoch() - self.run_summary.get_best_epoch()
543-
>>>>>>> [FIX] Tests after rebase of `reg_cocktails` (#359)
544540

545541
# Save the checkpoint if there is a new best epoch
546542
best_path = os.path.join(self.checkpoint_dir, 'best.pth')

0 commit comments

Comments
 (0)