@@ -780,7 +780,7 @@ class Framework(EstimatorBase):
780
780
781
781
def __init__ (self , entry_point , source_dir = None , hyperparameters = None , enable_cloudwatch_metrics = False ,
782
782
container_log_level = logging .INFO , code_location = None , image_name = None , dependencies = None ,
783
- enable_network_isolation = False , ** kwargs ):
783
+ enable_network_isolation = False , git_config = False , ** kwargs ):
784
784
"""Base class initializer. Subclasses which override ``__init__`` should invoke ``super()``
785
785
786
786
Args:
@@ -814,7 +814,6 @@ def __init__(self, entry_point, source_dir=None, hyperparameters=None, enable_cl
814
814
the specified commit.
815
815
source_dir (str): Path (absolute or relative) to a directory with any other training
816
816
source code dependencies aside from the entry point file (default: None). Structure within this
817
- <<<<<<< HEAD
818
817
directory are preserved when training on Amazon SageMaker. If 'git_config' is provided,
819
818
source_dir should be a relative location to a directory in the Git repo.
820
819
Example:
@@ -828,8 +827,6 @@ def __init__(self, entry_point, source_dir=None, hyperparameters=None, enable_cl
828
827
829
828
and you need 'train.py' as entry point and 'test.py' as training source code as well, you can
830
829
assign entry_point='train.py', source_dir='src'.
831
- =======
832
- directory are preserved when training on Amazon SageMaker.
833
830
hyperparameters (dict): Hyperparameters that will be used for training (default: None).
834
831
The hyperparameters are made accessible as a dict[str, str] to the training code on SageMaker.
835
832
For convenience, this accepts other types for keys and values, but ``str()`` will be called
@@ -845,7 +842,6 @@ def __init__(self, entry_point, source_dir=None, hyperparameters=None, enable_cl
845
842
image_name (str): An alternate image name to use instead of the official Sagemaker image
846
843
for the framework. This is useful to run one of the Sagemaker supported frameworks
847
844
with an image containing custom dependencies.
848
- >>>>>>> f1d34ad4073f8d856ef9c596b491f8a4cd8ef31f
849
845
dependencies (list[str]): A list of paths to directories (absolute or relative) with
850
846
any additional libraries that will be exported to the container (default: []).
851
847
The library folders will be copied to SageMaker in the same folder where the entrypoint is copied.
0 commit comments