Commit
•
72c6202
1
Parent(s):
dd7d688
Update densify.py
Browse files- densify.py +1 -1
densify.py
CHANGED
@@ -30,7 +30,7 @@ def main():
|
|
30 |
with open("config.json", "r") as read_conf_file:
|
31 |
conf = json.load(read_conf_file)
|
32 |
with open("config.json.old", "w") as conf_file:
|
33 |
-
json.dump(conf, conf_file)
|
34 |
|
35 |
if 'num_local_experts' in conf:
|
36 |
del conf['num_local_experts']
|
|
|
30 |
with open("config.json", "r") as read_conf_file:
|
31 |
conf = json.load(read_conf_file)
|
32 |
with open("config.json.old", "w") as conf_file:
|
33 |
+
json.dump(conf, conf_file, indent=4)
|
34 |
|
35 |
if 'num_local_experts' in conf:
|
36 |
del conf['num_local_experts']
|