Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LAION-AI/CLAP
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: usc-sail/CLAP
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 21, 2023

  1. update hook import

    Tiantian Feng committed Apr 21, 2023
    Copy the full SHA
    ff3b390 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/laion_clap/hook.py
4 changes: 2 additions & 2 deletions src/laion_clap/hook.py
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@
import torch
import librosa
from clap_module import create_model
from training.data import get_audio_features
from training.data import int16_to_float32, float32_to_int16
from .training.data import get_audio_features
from .training.data import int16_to_float32, float32_to_int16

from transformers import RobertaTokenizer
import wget