tencent-ailab / frequency_aug_vae_moesr Goto Github PK
View Code? Open in Web Editor NEWLatent-based SR using MoE and frequency augmented VAE decoder
License: Apache License 2.0
Latent-based SR using MoE and frequency augmented VAE decoder
License: Apache License 2.0
您好,我是Experts Weights Averaging: A New General Training Scheme for Vision Transformers的作者,在看完您的这篇文章后,我发现您文章中提出的SS-MoE与我的EWA框架完全一致,但我并没有在文章中看到对EWA的引用。
Are there any parameters that can be modified and set?
great job! Are there any vae operations on sdxl?
May I ask how to fine-tune the model you provided? After running sh inf_moe_8x.sh, the super resolution of the image has been successfully improved, but I still want to fine-tune training on my own task, what should I do? Thank you!
For image reconstruction with FA_VAE in your readme, which weights ([vq-f4/fa_vae.pth] or [kl-f8/fa_vae.pth]) do you use? And could you provide your code to test image reconstruction? Many thanks.
Hello, I have run the code you provided in Txt2Img with FA_VAE, but I have noticed a discrepancy between the images generated through VAE and the images generated directly from stable diffusion.
Good work! How to inference x4 SR?
During inference, I could not find the files:
File "Frequency_Aug_VAE_MoESR/sr_8x_inf/basicsr/models/video_recurrent_model.py", line 7, in
from basicsr.metrics import calculate_metric
ModuleNotFoundError: No module named 'basicsr.metrics'
[2023-11-20 14:18:38,979] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0 (pid: 938836) of binary
Files are missing from the repository:
Could you upload the files?Thanks.
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:
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
包目录如下:
absl-py 2.0.0
accelerate 0.23.0
addict 2.4.0
aiohttp 3.8.6
aiosignal 1.3.1
albumentations 1.3.0
altair 5.1.2
antlr4-python3-runtime 4.8
appdirs 1.4.4
async-timeout 4.0.3
attrs 23.1.0
basicsr 1.4.2
blinker 1.6.3
braceexpand 0.1.7
Brotli 1.0.9
cachetools 5.3.2
certifi 2023.7.22
cffi 1.15.1
charset-normalizer 2.0.4
click 8.1.7
contourpy 1.1.1
cryptography 41.0.3
cycler 0.12.1
diffusers 0.21.4
docker-pycreds 0.4.0
einops 0.3.0
filelock 3.13.0
fonttools 4.43.1
frozenlist 1.4.0
fsspec 2023.10.0
ftfy 6.1.1
future 0.18.3
gitdb 4.0.11
GitPython 3.1.40
google-auth 2.23.3
google-auth-oauthlib 1.0.0
grpcio 1.59.0
huggingface-hub 0.17.3
idna 3.4
imageio 2.31.6
imageio-ffmpeg 0.4.2
importlib-metadata 6.8.0
importlib-resources 6.1.0
install 1.3.5
invisible-watermark 0.2.0
Jinja2 3.1.2
joblib 1.3.2
jsonschema 4.19.1
jsonschema-specifications 2023.7.1
kiwisolver 1.4.5
kornia 0.6.0
lazy-loader 0.3
lmdb 1.4.1
Markdown 3.5
markdown-it-py 3.0.0
MarkupSafe 2.1.3
matplotlib 3.8.0
mdurl 0.1.2
mkl-fft 1.3.1
mkl-random 1.2.2
mkl-service 2.4.0
multidict 6.0.4
networkx 3.2.1
numpy 1.23.1
oauthlib 3.2.2
omegaconf 2.1.1
open-clip-torch 2.0.2
opencv-python 4.6.0.66
opencv-python-headless 4.8.1.78
packaging 23.2
pandas 2.1.2
pathtools 0.1.2
Pillow 10.0.1
pip 20.3.3
platformdirs 3.11.0
protobuf 3.20.3
psutil 5.9.6
pyarrow 13.0.0
pyasn1 0.5.0
pyasn1-modules 0.3.0
pycparser 2.21
pydeck 0.8.1b0
pyDeprecate 0.3.1
Pygments 2.16.1
Pympler 1.0.1
pyOpenSSL 23.2.0
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
pytorch-lightning 1.4.2
pytz 2023.3.post1
PyWavelets 1.4.1
PyYAML 6.0.1
qudida 0.0.4
referencing 0.30.2
regex 2023.10.3
requests 2.31.0
requests-oauthlib 1.3.1
rich 13.6.0
rpds-py 0.10.6
rsa 4.9
safetensors 0.4.0
scikit-image 0.22.0
scikit-learn 1.3.2
scipy 1.11.3
semver 3.0.2
sentry-sdk 1.32.0
setproctitle 1.3.3
setuptools 68.0.0
six 1.16.0
smmap 5.0.1
streamlit 1.12.1
streamlit-drawable-canvas 0.8.0
taming-transformers 0.0.1 /data/sunys/program/Frequency_Aug_VAE_MoESR/Frequency_Aug_VAE_MoESR/src/taming-transformers
tb-nightly 2.14.0a20230808
tensorboard 2.15.0
tensorboard-data-server 0.7.2
test-tube 0.7.5
threadpoolctl 3.2.0
tifffile 2023.9.26
tokenizers 0.14.1
toml 0.10.2
tomli 2.0.1
toolz 0.12.0
torch 1.12.1
torchmetrics 0.6.0
torchvision 0.13.1
tornado 6.3.3
tqdm 4.66.1
transformers 4.34.1
triton 2.1.0
typing-extensions 4.7.1
tzdata 2023.3
tzlocal 5.2
urllib3 1.26.18
validators 0.22.0
wandb 0.15.12
watchdog 3.0.0
wcwidth 0.2.8
webdataset 0.2.5
werkzeug 3.0.1
wheel 0.41.2
yapf 0.40.2
yarl 1.9.2
zipp 3.17.0
Installed and downloaded everything required. Unable to create process?
$ sh inf_moe_8x.sh
1
failed to create process.
(moe_sr)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.