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

Bug反馈 #13

Open
free001a opened this issue Apr 7, 2023 · 4 comments
Open

Bug反馈 #13

free001a opened this issue Apr 7, 2023 · 4 comments

Comments

@free001a
Copy link

free001a commented Apr 7, 2023

作者您好,很荣幸能读到您的论文。我注意到您在FJSP_RealWorld文件中将环境文件FJSP_env的FJSP类的输入改为"def [init(self,n_j,n_m,EachJob_num_operation):",但是在训练文件中输入依然为n_j和n_m,代码段如下所示。我一开始没有注意到这个问题,直到运行该文件报错。请问您是如何训练的呢?
` for epoch in range(epochs):
memory = Memory()
ppo.policy_old_job.train()
ppo.policy_old_mch.train()

    times, losses, rewards2, critic_rewards = [], [], [], []
    start = time.time()

    costs = []
    losses, rewards, critic_loss = [], [], []
    for batch_idx, batch in enumerate(data_loader):
        env = FJSP(configs.n_j, configs.n_m)`
@miemiedexiaoyang
Copy link

Is it solved?

@free001a
Copy link
Author

free001a commented Mar 26, 2024 via email

@miemiedexiaoyang
Copy link

Can you give me a working code? I haven't debugged it yet. thank you so much. email:[email protected]

@free001a
Copy link
Author

free001a commented Apr 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants