Skip to content
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
2 changes: 1 addition & 1 deletion data/testing_data/impulses/create_impulses.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np
from pydub import AudioSegment
from pydub.generators import Sine
from wam import IMPULSE_DIR, CODA_DIR
from wham import IMPULSE_DIR, CODA_DIR

MIN_NUM_CLICKS = 4
MAX_NUM_CLICKS = 8
Expand Down
2 changes: 1 addition & 1 deletion wham/embedding/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from wam import VAMPNET_DIR
from wham import VAMPNET_DIR
from pathlib import Path

VAMPNET_MDL_PATH = VAMPNET_DIR / "models"
Expand Down
5 changes: 3 additions & 2 deletions wham/embedding/generate_embeddings.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from collections import Counter
from pathlib import Path
import pandas as pd
from wam import VAMPNET_DIR, EMBEDDING_PLOTS_DIR, SNIPPETS_DIR, DENOISED_DATA_DIR, CSV_PATH
from wam.utils import pathify
from codatools.codatools import SNIPPETS_DIR
from wham import VAMPNET_DIR, EMBEDDING_PLOTS_DIR, DENOISED_DATA_DIR, CSV_PATH
from wham.utils import pathify
import argparse
import logging
from shutil import rmtree
Expand Down
2 changes: 1 addition & 1 deletion wham/embedding/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from preprocessing import preprocess_audio
from audiotools import AudioSignal
from vampnet.interface import Interface
from wam import VAMPNET_DIR
from wham import VAMPNET_DIR
import wandb
from pathlib import Path

Expand Down
2 changes: 1 addition & 1 deletion wham/generation/eval/calculate_custom_fad.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import numpy as np
from scipy.linalg import sqrtm
from wam import CODA_EMBEDDING_DIR, EVALUATE_EMBEDDING_DIR
from wham import CODA_EMBEDDING_DIR, EVALUATE_EMBEDDING_DIR
import argparse

"""
Expand Down
2 changes: 1 addition & 1 deletion wham/generation/eval/mse_error_by_freq.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import scipy.signal as signal
from collections import defaultdict

from wam import CODA_DIR, REGEN_CODA_DIR
from wham import CODA_DIR, REGEN_CODA_DIR

TARGET_SAMPLERATE = 44100

Expand Down
4 changes: 2 additions & 2 deletions wham/generation/generate_output_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
from vampnet.interface import Interface
from vampnet import mask as pmask
from prompt_configs import CONFIGS
from wam.utils import move_wav_files
from wham.utils import move_wav_files
import torch

from wam import GENERATED_MARINE_PATH, GENERATED_MARINE_PATH_TEMP, MARINE_TEST_DIR, VAMPNET_DIR
from wham import GENERATED_MARINE_PATH, GENERATED_MARINE_PATH_TEMP, MARINE_TEST_DIR, VAMPNET_DIR

import os

Expand Down
4 changes: 2 additions & 2 deletions wham/generation/tokenizer_only_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
from vampnet.interface import Interface
from vampnet import mask as pmask
from prompt_configs import CONFIGS
from wam.utils import move_wav_files
from wham.utils import move_wav_files

from wam import GENERATED_MARINE_PATH_TEMP, MARINE_TEST_DIR, VAMPNET_DIR, REGEN_CODA_DIR
from wham import GENERATED_MARINE_PATH_TEMP, MARINE_TEST_DIR, VAMPNET_DIR, REGEN_CODA_DIR

import os

Expand Down