正在获取_pickle.UnpicklingError:无效的加载密钥,运行craftassist的代理时为“ v”

时间:2019-12-29 13:17:31

标签: python pickle minecraft

我正在尝试运行https://github.com/facebookresearch/craftassist,并且在运行代理时,我得到

  File "./python/craftassist/craftassist_agent.py", line 27, in <module>
    import memory
  File "/root/craftassist/python/craftassist/memory.py", line 23, in <module>
    import dance
  File "/root/craftassist/python/craftassist/dance.py", line 9, in <module>
    import tasks
  File "/root/craftassist/python/craftassist/tasks.py", line 18, in <module>
    from perception import ground_height
  File "/root/craftassist/python/craftassist/perception.py", line 24, in <module>
    BLOCK_DATA = minecraft_specs.get_block_data()
  File "/root/craftassist/python/craftassist/minecraft_specs.py", line 24, in get_block_data
    _BLOCK_DATA = _pickle_load("block_images/block_data")
  File "/root/craftassist/python/craftassist/minecraft_specs.py", line 68, in _pickle_load
    return pickle.load(f)
_pickle.UnpicklingError: invalid load key, 'v'

我该如何解决这个问题?

谢谢

1 个答案:

答案 0 :(得分:0)

facebook团队已修复它,问题已解决