tencent-ailab / Frequency_Aug_VAE_MoESR

Latent-based SR using MoE and frequency augmented VAE decoder
Apache License 2.0
149 stars 4 forks source link

Installation: transformers #9

Open Phhofm opened 1 year ago

Phhofm commented 1 year ago

I am a little bit confused, I had just tried to install this but in the provided conda environment file in this repo, there are two different transformers versions listed to install that seem incompatible, and I am not sure why (should I only keep the higher version and delete the 4.19.2 line out of the file)?

This is the output I got:

Pip subprocess output:

The conflict is caused by:
The user requested transformers==4.19.2
The user requested transformers==4.34.1

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

Pip subprocess error: ERROR: Cannot install transformers==4.19.2 and transformers==4.34.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

amandaluof commented 1 year ago

I am a little bit confused, I had just tried to install this but in the provided conda environment file in this repo, there are two different transformers versions listed to install that seem incompatible, and I am not sure why (should I only keep the higher version and delete the 4.19.2 line out of the file)?

This is the output I got:

Pip subprocess output:

The conflict is caused by: The user requested transformers==4.19.2 The user requested transformers==4.34.1

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

Pip subprocess error: ERROR: Cannot install transformers==4.19.2 and transformers==4.34.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Thanks for your issue! we have updated environment.yaml, you can try it again.

Phhofm commented 11 months ago

Thank you, I was able to install everything locally successfully :)

PS when installing taming, 'pip install -e .' as in your current readme instructions would understandably throw the error that setup.py was missing, since that file is not in the root but will be under src/taming-transformers, or at least was in my case.

When running the sr command, my ubuntu would freeze up (maybe my system is not powerful enough, its a rtx 3060. Left your single small lr image in there), this is the output I got after just letting it be for a while: image