richardrl / rlkit-relational

Codebase for ICRA 2020 paper "Towards Practical Multi-object Manipulation using Relational Reinforcement Learning"
MIT License
97 stars 10 forks source link

cannot run #5

Closed ChenyangRan closed 4 years ago

ChenyangRan commented 4 years ago

Hi, your work is insteresting, but I meet some error when testing. Could you please help me? I don't know how to fix it.

Thanks. image

richardrl commented 4 years ago
  1. Are you using Python3?
  2. Did you install the fetch block construction package here? https://github.com/richardrl/fetch-block-construction
ChenyangRan commented 4 years ago
  1. Are you using Python3?
  2. Did you install the fetch block construction package here? https://github.com/richardrl/fetch-block-construction

Yes, I'm using the python3.5 and have installed this pkg. But it still not work. Should I change the config? I think the model should be 'here_no_dooad'?

richardrl commented 4 years ago

@ChenyangRan I would assume invalid syntax is because I am using the python3 style of formatting strings.

Yes, try changing the config file, "here_no_doodad" is for running on your local machine.

Also, try running this script and share the output: https://github.com/richardrl/fetch-block-construction/blob/master/random_test.py

ChenyangRan commented 4 years ago

I have tested the random_test.py, the result is as: 图片 And I find my version is 3.5, should I change update the version of python?

richardrl commented 4 years ago

@ChenyangRan Yes, that is your problem, python version 3.6 is the first version that supports f-strings. Try upgrading and report back.

ChenyangRan commented 4 years ago

@ChenyangRan Yes, that is your problem, python version 3.6 is the first version that supports f-strings. Try upgrading and report back.

Thanks, I'll update.