skip to Main Content

I am struggling like hell to make old python scripts work, and it is driving me crazy.

I truly thought scripts from 4 years ago wouldn’t be so hard to run today…

So I am trying to run this project : https://github.com/jthsieh/DDPAE-video-prediction

For which there are these recommendations :
All code was developed and tested on Python 3.6, PyTorch 0.3.1, and Pyro 0.2.
To view results, you need to install tensorflow and tensorbaordX.

So first things first, I installed python3.6, which already is a little tricky.

But module PyTorch0.3.1 does not exist and it seems really difficult to find out.

I don’t understand why there isn’t a way to go back in time with python in a virtual machin.

Is here a simple way to do this ?

Do I have to do all dependencies, roll back and everything by hand ?

Please folks, I am so tired of trying to make old scientific projects work….

I tried to download the package from Pytorch website, but didn’t find any Linux version…
I tried to use the pip version in the python 3.6 folder, and surprisingly it didn’t change the output of
pip install torch==0.3.1 or pip install pytorch==0.3.1

2

Answers


  1. The simplest would be to go to pytorch whl, download the pytorch version you want (in your case 0.31) and install pytorch with pip and the file.

    Login or Signup to reply.
  2. Or as an alternative to install old versions of pytorch, try to use a Docker image.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search