Sign inSign up

vzhong/alfworld

By vzhong

Updated about 3 years ago

Image
0

1.5K

vzhong/alfworld repository overview

FROM pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime
# Install dependencies
RUN apt update
RUN apt install -y software-properties-common lsb-release && apt clean all
RUN apt install -y build-essential libtool autoconf unzip wget cmake curl

# Install ALFWorld
RUN pip install https://github.com/MarcCote/downward/archive/faster_replan.zip
RUN pip install https://github.com/MarcCote/TextWorld/archive/handcoded_expert_integration.zip

RUN apt install -y git libgl1
ARG ALFWORLD_ROOT=/opt/alfworld
RUN mkdir -p $ALFWORLD_ROOT
WORKDIR $ALFWORLD_ROOT
RUN git clone https://github.com/alfworld/alfworld.git $ALFWORLD_ROOT
RUN cp requirements.txt old.requirements.txt
RUN sed -i '/numpy/d' requirements.txt
RUN sed -i '/gym/d' requirements.txt
RUN sed -i '/torch/d' requirements.txt
RUN sed -i '/tensorboard/d' requirements.txt
RUN pip install -r requirements.txt
RUN pip install .
RUN sed -i '/MRCNN_URL/d' /opt/conda/bin/alfworld-download
RUN ALFWORLD_DATA=$ALFWORLD_ROOT/data alfworld-download

ARG WORK_ROOT=/opt/work
WORKDIR $WORK_ROOT
RUN mkdir -p $WORK_ROOT

Tag summary

Content type

Image

Digest

sha256:c3b9f3df3

Size

3.5 GB

Last updated

about 3 years ago

docker pull vzhong/alfworld