google-research / recsim

A Configurable Recommender Systems Simulation Platform
https://github.com/google-research/recsim
Apache License 2.0
732 stars 127 forks source link

“from recsim.agents import full_slate_q_agent” gets some problems #5

Closed joetag closed 4 years ago

joetag commented 4 years ago

Thanks for your great works and tutorial. There is something wrong when I follow the RecSim: Overview. The reason might be the code from recsim.agents import full_slate_q_agent.

mmladenov-google commented 4 years ago

Hey! Thanks for trying out RecSim! In order to provide some help, we'll need to be able to reproduce the issue on our end. Could you provide some further details (like what is the actual error message, what environment are you running this on, etc...)?

joetag commented 4 years ago

I paste the error information here image The last line means the specified module cannot be found

cwhsu-google commented 4 years ago

Looks like you are seeing the same problem as the one described in https://github.com/google-research/recsim/issues/1 You can manually download atari-py and ale_c.dll using the following link https://files.pythonhosted.org/packages/df/c3/f70777c0a66fa8a26cbf471c4d96e304f5cf79718ea734880b4b36bc95fd/atari_py-0.2.6-cp37-cp37m-win_amd64.whl or just remove the line import atari_py in atarri_lib.py.

On Wed, Dec 4, 2019 at 7:33 PM joetag notifications@github.com wrote:

I paste the error information here [image: image] https://user-images.githubusercontent.com/34538506/70201866-cfd7b980-1752-11ea-85a6-a21d3c5056df.png The last line means the specified module cannot be found

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google-research/recsim/issues/5?email_source=notifications&email_token=ALVSYDXDKS5IOZNKXCV7VPLQXBZBNA5CNFSM4JUSJW7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF7LOWI#issuecomment-561952601, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALVSYDQPDATMJHBAYUH3RULQXBZBNANCNFSM4JUSJW7A .

TobyGE commented 4 years ago

I had maybe a new error on Linux...

Screen Shot 2019-12-10 at 9 31 52 PM
cwhsu-google commented 4 years ago

Let's discuss RMSPropOptimizer in https://github.com/google-research/recsim/issues/7 and close this issue.

xiaoxiangfengyi commented 4 years ago

Has this problem been resolved? How to solve it?

xiaoxiangfengyi commented 4 years ago

我在此处粘贴错误信息 最后一行表示找不到指定的模块 图片

Has this problem been resolved? How to solve it?

TobyGE commented 4 years ago

我在此处粘贴错误信息 最后一行表示找不到指定的模块 图片

Has this problem been resolved? How to solve it?

Following their link, you can solve this one by finding atari_lib.py, and remove the line "import atari_py" in that .py file.

xiaoxiangfengyi commented 4 years ago

我在此处粘贴错误信息 最后一行表示找不到指定的模块 图片

Has this problem been resolved? How to solve it?

Following their link, you can solve this one by finding atari_lib.py, and remove the line "import atari_py" in that .py file.

Why did I still get the same error after I remove it?

TobyGE commented 4 years ago

我在此处粘贴错误信息 最后一行表示找不到指定的模块 图片

Has this problem been resolved? How to solve it?

Following their link, you can solve this one by finding atari_lib.py, and remove the line "import atari_py" in that .py file.

Why did I still get the same error after I remove it?

Can you attach an image here about your error?

xiaoxiangfengyi commented 4 years ago

我在此处粘贴错误信息 最后一行表示找不到指定的模块 图片

Has this problem been resolved? How to solve it?

Following their link, you can solve this one by finding atari_lib.py, and remove the line "import atari_py" in that .py file.

Why did I still get the same error after I remove it?

Can you attach an image here about your error?

image

xiaoxiangfengyi commented 4 years ago

我在此处粘贴错误信息 最后一行表示找不到指定的模块 图片

Has this problem been resolved? How to solve it?

Following their link, you can solve this one by finding atari_lib.py, and remove the line "import atari_py" in that .py file.

Why did I still get the same error after I remove it?

Can you attach an image here about your error?

image

Seems a little different from yours

TobyGE commented 4 years ago

我在此处粘贴错误信息 最后一行表示找不到指定的模块 图片

Has this problem been resolved? How to solve it?

Following their link, you can solve this one by finding atari_lib.py, and remove the line "import atari_py" in that .py file.

Why did I still get the same error after I remove it?

Can you attach an image here about your error?

image

Seems a little different from yours

Based on the above figure, I don't think these two have the same solution. Actually, I've met another issue after solving the atari one; right now, I still cannot import full_slate_q_agent as well.

xiaoxiangfengyi commented 4 years ago

我在此处标题错误信息最后一行表示找不到指定的模块 图片

这个问题解决了吗?怎么解决呢?

通过他们的链接,您可以通过找到atari_lib.py解决此问题,并在该.py文件中删除“ import atari_py”行。

删除错误后,为什么仍然出现相同的错误?

您可以在此处附上有关您的错误的图片吗?

图片

似乎与您的有所不同

基于上图,我认为这两个没有相同的解决方案。实际上,在解决了atari问题之后,我遇到了另一个问题。现在,我仍然无法导入full_slate_q_agent。

Ok, thank you

cwhsu-google commented 4 years ago

Hi

xiaoxiangfengyi@, if you delete line 47 in atari_lib.py "import atari_py", you sholdn't execute atari_py/init.py and trigger the error.

On Sun, Dec 15, 2019 at 2:11 PM xiaoxiangfengyi notifications@github.com wrote:

我在此处标题错误信息最后一行表示找不到指定的模块 [image: 图片] https://user-images.githubusercontent.com/34538506/70201866-cfd7b980-1752-11ea-85a6-a21d3c5056df.png

这个问题解决了吗?怎么解决呢?

通过他们的链接,您可以通过找到atari_lib.py解决此问题,并在该.py文件中删除“ import atari_py”行。

删除错误后,为什么仍然出现相同的错误?

您可以在此处附上有关您的错误的图片吗?

[image: 图片] https://user-images.githubusercontent.com/26082573/70869960-0b7f4880-1fc9-11ea-80d5-545c7eb60d6f.png

似乎与您的有所不同

基于上图,我认为这两个没有相同的解决方案。实际上,在解决了atari问题之后,我遇到了另一个问题。现在,我仍然无法导入full_slate_q_agent。

Ok, thank you

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/google-research/recsim/issues/5?email_source=notifications&email_token=ALVSYDS3SEDSSW4SW2LVMWTQY2TQ5A5CNFSM4JUSJW7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG5DPXA#issuecomment-565852124, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALVSYDT3VL2DN47RXVCJIO3QY2TQ5ANCNFSM4JUSJW7A .

xiaoxiangfengyi commented 4 years ago

Hi xiaoxiangfengyi@, if you delete line 47 in atari_lib.py "import atari_py", you sholdn't execute atari_py/init.py and trigger the error. On Sun, Dec 15, 2019 at 2:11 PM xiaoxiangfengyi @.***> wrote: 我在此处标题错误信息最后一行表示找不到指定的模块 [image: 图片] https://user-images.githubusercontent.com/34538506/70201866-cfd7b980-1752-11ea-85a6-a21d3c5056df.png 这个问题解决了吗?怎么解决呢? 通过他们的链接,您可以通过找到atari_lib.py解决此问题,并在该.py文件中删除“ import atari_py”行。 删除错误后,为什么仍然出现相同的错误? 您可以在此处附上有关您的错误的图片吗? [image: 图片] https://user-images.githubusercontent.com/26082573/70869960-0b7f4880-1fc9-11ea-80d5-545c7eb60d6f.png 似乎与您的有所不同 基于上图,我认为这两个没有相同的解决方案。实际上,在解决了atari问题之后,我遇到了另一个问题。现在,我仍然无法导入full_slate_q_agent。 Ok, thank you — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=ALVSYDS3SEDSSW4SW2LVMWTQY2TQ5A5CNFSM4JUSJW7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG5DPXA#issuecomment-565852124>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALVSYDT3VL2DN47RXVCJIO3QY2TQ5ANCNFSM4JUSJW7A .

OK, I'll try,thanks.