Running with:
python3 ./recall2imagine/train.py /
--logdir /logdir/$(date +%Y%m%d-%H%M%S) /
--configs atari100k tiny
--task atari_pong
--jax.platform=cpu
Fails with:
AttributeError: 'function' object has no attribute 'serializer'
Traceback:
Traceback (most recent call last):
File "./recall2imagine/train.py", line 241, in <module>
main()
File "./recall2imagine/train.py", line 81, in main
embodied.run.train_eval(
File "/code/recall2imagine/embodied/run/train_eval.py", line 74, in train_eval
dataset_train = agent.dataset(train_replay.dataset)
File "/code/recall2imagine/jaxagent.py", line 104, in dataset
batcher = embodied.BatcherSM(
File "/code/recall2imagine/embodied/core/batcher.py", line 123, in __init__
self._serializer = self._replay.serializer
AttributeError: 'function' object has no attribute 'serializer'
NOTE:
on train_eval.py one can change:
dataset_train = agent.dataset(train_replay.dataset)
to:
dataset_train = agent.dataset(train_replay)
which make sense since the LFS_FIFO object has serializer attribute, but then the same errors goes on the next line:
dataset_train = agent.dataset(train_replay)
dataset_eval = agent.dataset(eval_replay.dataset) <-------------
which is of Uniform and does not have serializer.
Running with:
python3 ./recall2imagine/train.py / --logdir /logdir/$(date +%Y%m%d-%H%M%S) / --configs atari100k tiny --task atari_pong --jax.platform=cpuFails with:
Traceback:
NOTE:
on train_eval.py one can change:
to:
which make sense since the LFS_FIFO object has serializer attribute, but then the same errors goes on the next line:
which is of Uniform and does not have serializer.