Code Monkey home page Code Monkey logo

anime-music-quiz's People

Contributors

stephen-huan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

anime-music-quiz's Issues

New scaling method

Apply the ITU-T transformation as described on page 3 of the WaveNet paper to replace the scale() method.

Cosine similarity instead of l2 norm

cos(u, v) = u.dot(v)/(|u||v|), in the context of sliding a vector over a larger vector, measure the distance by the dot product divided by magnitude of v (magnitude of |u| is a constant and can be ignored). Can keep track of magnitude of v with two pointer like l2 norm, but is far conceptually simpler and may be more accurate (if v is a scaled version of u, elegantly accounts for "volume differences").

Error when running amq.py

Traceback (most recent call last):
File "A:\anime-music-quiz-master\anime-music-quiz-master\amq.py", line 11, in
import main
File "A:\anime-music-quiz-master\anime-music-quiz-master\main.py", line 4, in
import db
File "A:\anime-music-quiz-master\anime-music-quiz-master\db.py", line 108, in
db = load_db()
File "A:\anime-music-quiz-master\anime-music-quiz-master\db.py", line 29, in load_db
return json.load(f)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2288.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Process finished with exit code 1

Can't install audio module

A basically know zero Python and there is a problem installing the "audio" module.

Collecting audio
  Using cached audio-1.5.0.tar.gz (2.1 kB)
Collecting audio.bitstream
  Using cached audio.bitstream-2.5.4.tar.gz (1.2 kB)
Collecting bitstream==2.5.4
  Using cached bitstream-2.5.4.tar.gz (168 kB)
Collecting audio.coders
  Using cached audio.coders-4.0.2.tar.gz (682 kB)

    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\mdabr\.virtualenvs\anime-music-quiz-xnUNYISd\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\mdabr\\AppData\\Local\\Temp\\pip-install-5dhrmu9a\\audio-coders_33068b5a02004254924d3ec057050f70\\setup.py'"'"'; __file__='"'"'C:\\Users\\mdabr\\AppData\\Local\\Temp\\pip-install-5dhrmu9a\\audio-coders_33068b5a02004254924d3ec057050f70\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\mdabr\AppData\Local\Temp\pip-pip-egg-info-5lct4ru8'
         cwd: C:\Users\mdabr\AppData\Local\Temp\pip-install-5dhrmu9a\audio-coders_33068b5a02004254924d3ec057050f70\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\mdabr\AppData\Local\Temp\pip-install-5dhrmu9a\audio-coders_33068b5a02004254924d3ec057050f70\setup.py", line 5, in <module>
        import ConfigParser
    ModuleNotFoundError: No module named 'ConfigParser'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.