-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notebook doesn't run #25
Comments
Can you help build such a notebook? |
Sure once I can figure out how to get run_fresco.py to work -- see separate issue |
A notebook would be great Im trying to run it on google colab now and getting multiple errors. Edit: ok got it working out the box on colab just had to change a few things.. The style transfer is super crisp! Batch size 4 in config Requirements !pip install diffusers !python /content/FRESCO/install.py To use webui.py change line 358 to this Change to this in src/freelunchutils from typing import Any, Dict, Optional, Tuple import torch Change /usr/local/lib/python3.10/dist-packages/diffusers/models/init.py to this #@title replace above with Copyright 2024 The HuggingFace Team. All rights reserved.Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.from typing import TYPE_CHECKING from ..utils import ( _import_structure = {} if is_torch_available(): if is_flax_available(): if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
else:
|
Notebooks are a great tool to help people walk through a demo of something step by step. The notebook provided has some prerequisites listed at the top that have to be manually figured out. It'd be great if the notebook was standalone and had cells for all the steps required to run.
The text was updated successfully, but these errors were encountered: