Skip to content
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

Fix local repo paths #2571

Open
wants to merge 2 commits into
base: latest
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
" hf_hub_download(repo_id=REPO_ID, filename=\"model.ckpt\", local_dir=\"./checkpoints/dynamicrafter_256_v1/\", local_dir_use_symlinks=False)\n",
"\n",
" ckpt_path = \"checkpoints/dynamicrafter_256_v1/model.ckpt\"\n",
" config_file = \"dynamicrafter/configs/inference_256_v1.0.yaml\"\n",
" config_file = \"DynamiCrafter/configs/inference_256_v1.0.yaml\"\n",
" config = OmegaConf.load(config_file)\n",
" model_config = config.pop(\"model\", OmegaConf.create())\n",
" model_config[\"params\"][\"unet_config\"][\"params\"][\"use_checkpoint\"] = False\n",
Expand Down Expand Up @@ -875,7 +875,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": null,
"id": "e9a0137a",
"metadata": {},
"outputs": [
Expand All @@ -898,7 +898,7 @@
}
],
"source": [
"image_path = \"dynamicrafter/prompts/256/art.png\"\n",
"image_path = \"DynamiCrafter/prompts/256/art.png\"\n",
"prompt = \"man fishing in a boat at sunset\"\n",
"seed = 234\n",
"image = Image.open(image_path)\n",
Expand Down Expand Up @@ -1629,7 +1629,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": null,
"id": "1e77da42",
"metadata": {},
"outputs": [
Expand All @@ -1652,7 +1652,7 @@
"source": [
"%%skip not $to_quantize.value\n",
"\n",
"image_path = \"dynamicrafter/prompts/256/art.png\"\n",
"image_path = \"DynamiCrafter/prompts/256/art.png\"\n",
"prompt = \"man fishing in a boat at sunset\"\n",
"seed = 234\n",
"image = Image.open(image_path)\n",
Expand Down
10 changes: 5 additions & 5 deletions notebooks/dynamicrafter-animating-images/gradio_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
css = """#input_img {max-width: 256px !important} #output_vid {max-width: 256px; max-height: 256px}"""

i2v_examples_256 = [
["dynamicrafter/prompts/256/art.png", "man fishing in a boat at sunset", 50, 7.5, 1.0, 3, 234],
["dynamicrafter/prompts/256/boy.png", "boy walking on the street", 50, 7.5, 1.0, 3, 125],
["dynamicrafter/prompts/256/dance1.jpeg", "two people dancing", 50, 7.5, 1.0, 3, 116],
["dynamicrafter/prompts/256/fire_and_beach.jpg", "a campfire on the beach and the ocean waves in the background", 50, 7.5, 1.0, 3, 111],
["dynamicrafter/prompts/256/guitar0.jpeg", "bear playing guitar happily, snowing", 50, 7.5, 1.0, 3, 122],
["DynamiCrafter/prompts/256/art.png", "man fishing in a boat at sunset", 50, 7.5, 1.0, 3, 234],
["DynamiCrafter/prompts/256/boy.png", "boy walking on the street", 50, 7.5, 1.0, 3, 125],
["DynamiCrafter/prompts/256/dance1.jpeg", "two people dancing", 50, 7.5, 1.0, 3, 116],
["DynamiCrafter/prompts/256/fire_and_beach.jpg", "a campfire on the beach and the ocean waves in the background", 50, 7.5, 1.0, 3, 111],
["DynamiCrafter/prompts/256/guitar0.jpeg", "bear playing guitar happily, snowing", 50, 7.5, 1.0, 3, 122],
]


Expand Down
Loading