config
This commit is contained in:
1 parent
f6b8c73fb2
commit
033cf29a25
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -9,7 +9,7 @@
|
||||
* Install Python using [Homebrew](https://brew.sh/) by executing `brew install python3`
|
||||
* Alternatively download and install [Python 3.7.5](https://www.python.org/downloads/release/python-375/)
|
||||
* Install Katago using [Homebrew](https://brew.sh/) by executing `brew install katago`
|
||||
* You can also follow instructions [here](https://github.com/lightvector/KataGo) to compile KataGo yourself.
|
||||
* You can also follow instructions [here](https://github.com/lightvector/KataGo) to compile KataGo yourself.
|
||||
|
||||
## Installation and running KaTrain from PyPi
|
||||
* Run `pip3 install katrain`
|
||||
|
||||
@@ -69,7 +69,7 @@ class KaTrainBase:
|
||||
print(message)
|
||||
|
||||
def _load_config(self, force_package_config):
|
||||
if len(sys.argv) > 1 and sys.argv[1].endswith(".json"):
|
||||
if len(sys.argv) > 1 and sys.argv[1].endswith("config.json"):
|
||||
config_file = os.path.abspath(sys.argv[1])
|
||||
self.log(f"Using command line config file {config_file}", OUTPUT_INFO)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user