VLN-CE
VLN-CE copied to clipboard
n (counts) have to be positive - assertion error
Hi, I'm getting this error when training seq2seq baseline:
miniconda3/envs/vlnce-py3.6/lib/python3.6/site-packages/gym/spaces/discrete.py", line 36, in __init__
assert n > 0, "n (counts) have to be positive"
AssertionError: n (counts) have to be positive
Some info: python: 3.6 habitat-lab & habitat-sim version: 0.1.7 gym.version: '0.26.2'
It seems originating from this line.
Changing the line to self.observation_space = spaces.Discrete(4)
seems to fix the issue, I don't know if it is the right way to proceed though