Open MufanColin opened 6 months ago
I guess config.XXL
model initialized the model from scratch. Maybe try
preprocessor = UnifiedIOPreprocessor.from_pretrained("allenai/uio2-preprocessor", tokenizer="/path/to/tokenizer")
model = UnifiedIOModel.from_pretrained("allenai/uio2-large")
We are running the XXL Unified IO 2 model (pytorch version) on a NVIDIA GeForce RTX 4090. The demo.py file is shown below:
something.jpg
file is actually a picture of cat.The output is shown below:
Are we doing anything wrong?