lil-lab / cerealbar

Cereal Bar is a two-player web game designed for studying language understanding agents in collaborative interactions. This repository contains code for the game, a webapp hosting the game, the agent implementation, and recorded interactions in the game. http://lil.nlp.cornell.edu/cerealbar/
MIT License
28 stars 4 forks source link

sh agent/scripts/replay.sh error #11

Closed hlzhang109 closed 8 months ago

hlzhang109 commented 1 year ago

File "hlzhang109/cerealbar/agent/data/partial_observation.py", line 14, in VISIBILITY_MAP: Dict[Tuple[position.Position, rotation.Rotation], List[position.Position]] = pickle.load(infile) _pickle.UnpicklingError: invalid load key, 'v'.

alsuhr-c commented 1 year ago

Apologies for the delay. You are loading this file, correct? https://github.com/lil-lab/cerealbar/blob/master/agent/preprocessed/position_visibility.pkl

It's stored via Git LFS, so you likely need to directly pull the file. It could be the case that the file on your machine is only a pointer to the file on Git LFS, without the actual data.

By the way, there is a new version of the CerealBar game available here: https://github.com/lil-lab/cb2