# FNet setup issues due to outdated dependencies – any updated version or Docker?

**URL:** <https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792>\
**Category:** Software & Code\
**Tags:** getting-started\
**Created:** [March 20, 2026, 5:00pm UTC](https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792 "2026-03-20T17:00:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ines\_varona](https://avatars.discourse-cdn.com/v4/letter/i/ed8c4c/32.png) [@ines\_varona](https://forum.allencell.org/u/ines_varona)\
**Post date:** [March 20, 2026, 5:00pm UTC](https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792/1 "2026-03-20T17:00:27Z")

</div>

Hi everyone,

I am currently running some experiments and would like to compare my results with outputs obtained using the FNet architecture.

However, while setting up the environment and installing the required dependencies, I am encountering several compatibility issues due to outdated library versions.

I was wondering if there is an updated version of the code available, or perhaps a Docker container or environment specification that works with more recent library versions.

Any guidance would be greatly appreciated, as it would really help ensure a fair and consistent comparison in my experiments.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jessicasyu](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jessicasyu](https://forum.allencell.org/u/jessicasyu)\
**Post date:** [March 20, 2026, 10:30pm UTC](https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792/2 "2026-03-20T22:30:13Z")

</div>

Hi, can you share which specific repository you are trying to set up? Thanks!

– Jess

---

<div class="post-metadata">

**Author:** ![ines\_varona](https://avatars.discourse-cdn.com/v4/letter/i/ed8c4c/32.png) [@ines\_varona](https://forum.allencell.org/u/ines_varona)\
**Post date:** [March 23, 2026, 4:05pm UTC](https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792/3 "2026-03-23T16:05:41Z")

</div>

Hi,

I’m working with this repository:

[icon-lab/ResViT: Official Implementation of ResViT: Residual Vision Transformers for Multi-modal Medical Image Synthesis](https://github.com/icon-lab/ResViT) : (main branch)

Thanks!

-Inés

---

<div class="post-metadata">

**Author:** ![jessicasyu](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jessicasyu](https://forum.allencell.org/u/jessicasyu)\
**Post date:** [March 23, 2026, 6:24pm UTC](https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792/4 "2026-03-23T18:24:38Z")

</div>

Thanks @ines_varona! We are not (to my knowledge) involved with the development of the code base you shared. Let me know if there is an Allen Institute for Cell Science repository that you are trying to use.

– Jess

---

<div class="post-metadata">

**Author:** ![ines\_varona](https://avatars.discourse-cdn.com/v4/letter/i/ed8c4c/32.png) [@ines\_varona](https://forum.allencell.org/u/ines_varona)\
**Post date:** [March 24, 2026, 9:02am UTC](https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792/5 "2026-03-24T09:02:21Z")

</div>

Hi Jess,

Apologies for the confusion — that was completely my mistake.

I realised I shared the wrong repository earlier. The one I actually meant to refer to is the Allen Institute repository for FNet:

> **[GitHub - AllenCellModeling/pytorch\_fnet: Three dimensional cross-modal image inference](https://github.com/AllenCellModeling/pytorch_fnet)**
>
> Three dimensional cross-modal image inference

Thanks again, and sorry for the mix-up.

- Inés

---

<div class="post-metadata">

**Author:** ![jessicasyu](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jessicasyu](https://forum.allencell.org/u/jessicasyu)\
**Post date:** [March 25, 2026, 11:31pm UTC](https://forum.allencell.org/t/fnet-setup-issues-due-to-outdated-dependencies-any-updated-version-or-docker/792/6 "2026-03-25T23:31:18Z")

</div>

Hi, Inés! This repo is no longer being actively maintained, but hopefully the following will be a useful starting point:

Clone the repository and add a `Dockerfile` with the below content. This uses an Ubuntu 20.04 base image with Python 3.8.10. Note the additional `quilt3` dependency for downloading our data; you may be able to drop this if you are using your own data.

```Dockerfile
FROM ubuntu:20.04

RUN apt update && apt install -y python3-pip

COPY . /root/projects/pytorch_fnet
WORKDIR "/root/projects/pytorch_fnet"

RUN pip install --upgrade pip
RUN pip install .
RUN pip install quilt3

```

Then you should be able to build the image and use it to run the code:

```bash
# build the Docker image
docker build -t pytorch_fnet:latest . 

# call the Docker image to run code (see README for examples)
docker run --rm -it pytorch_fnet:latest python3 examples/download_and_train.py
docker run --rm -it pytorch_fnet:latest fnet -h

```
