Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dian xt ms #29

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix error
  • Loading branch information
AmiyaSX committed Aug 24, 2023
commit 57c537efa5c248f65bf4b9ed87540dc791ef495c
4 changes: 2 additions & 2 deletions xt/model/muzero/muzero_model_ms.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from zeus.common.util.register import Registers
from mindspore import set_context
from xt.model.dqn.dqn_cnn_ms import MyTrainOneStepCell
set_context(runtime_num_threads=3mode=0)
set_context(runtime_num_threads=3, mode=0)

# pylint: disable=W0201

Expand Down Expand Up @@ -367,4 +367,4 @@ def dnet(self):
return self.dynamic_network
@property
def pnet(self):
return self.policy_network
return self.policy_network