Skip to content
Snippets Groups Projects
Commit a81dae75 authored by shibo19's avatar shibo19
Browse files

修复权限问题,不要用777权限

parent 5cb90a0b
No related branches found
No related tags found
No related merge requests found
......@@ -322,5 +322,5 @@ if __name__ == "__main__":
print('==========end training===============')
print('==========start exporting============')
os.system("chmod -R 777 /cache/train")
os.system("chmod -R 750 /cache/train")
freeze_model()
......@@ -169,7 +169,7 @@ def freeze_model():
def main():
train_deepfm()
os.system("chmod -R 777 /cache/train")
os.system("chmod -R 750 /cache/train")
freeze_model()
......
......@@ -132,7 +132,7 @@ def freeze_model():
def main():
"""main function"""
train_wide_and_deep()
os.system("chmod -R 777 /cache/train")
os.system("chmod -R 750 /cache/train")
freeze_model()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment