huggingface / huggingface/open-muse

Stage 2 training

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
359
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Once the pr for maxvit is done, I'm thinking of adding the below super res conditioning part

![following part](https://github.com/huggingface/open-muse/assets/23430101/f0c46c0a-722f-43e4-a6e5-be402cd00172)

Some steps needed I think are

- [ ] In train_muse.py's prepare_inputs_and_labels function, interpolate pixel values to 256x256 and get tokens using f16 vqgan for low resolutions and 512x512 and f8 for high resolutions. We can use precomputed embeddings here
- [ ] Then, we might want a SuperResTransformer class which takes as an attribute
- [ ] the TransformerLayers for low resolution
- [x] the MaxVitTransformerLayers for high resolution
- [ ] and projection layer and concatenating layer between the low res+text embeddings

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.