peterwittek / qml-rg Goto Github PK
View Code? Open in Web Editor NEWQuantum Machine Learning Reading Group @ ICFO
License: GNU General Public License v3.0
Quantum Machine Learning Reading Group @ ICFO
License: GNU General Public License v3.0
During meeting 2 there was some confusion when interpreting Eq. (1) in the paper Quantum machine learning over infinite dimensions. More precisely, we do not have clear what does the quantity d represents. In the text the definition that appears is
where d is the number of basis state in each mode
We do not understand, however, what this number is, since a CV system (as far as our understanding reaches) has an infinite number of basis states. Any insights are appreciated
Hi,
I tried to install gym_pull (needed to set up the doom environment) on my mac but it failed. It seems that some dependencies are missing. I also tried the second method by installing ppaquette-gym-doom but I get the following error:
Regards,
Alexandre
Collecting ppaquette-gym-doom
Collecting doom-py>=0.0.11 (from ppaquette-gym-doom)
Using cached doom-py-0.0.15.tar.gz
Requirement already satisfied: gym>=0.4.10 in ./anaconda/lib/python3.5/site-packages (from ppaquette-gym-doom)
Requirement already satisfied: numpy in ./anaconda/lib/python3.5/site-packages (from doom-py>=0.0.11->ppaquette-gym-doom)
Requirement already satisfied: requests>=2.0 in ./anaconda/lib/python3.5/site-packages (from gym>=0.4.10->ppaquette-gym-doom)
Requirement already satisfied: six in ./anaconda/lib/python3.5/site-packages (from gym>=0.4.10->ppaquette-gym-doom)
Requirement already satisfied: pyglet>=1.2.0 in ./anaconda/lib/python3.5/site-packages (from gym>=0.4.10->ppaquette-gym-doom)
Building wheels for collected packages: doom-py
Running setup.py bdist_wheel for doom-py ... error
Complete output from command /Users/adauphin/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/tmp257ei8o5pip-wheel- --python-tag cp35:
running bdist_wheel
running build
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
CMake Error at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1793 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:54 (find_package)
-- Found BZip2: /usr/lib/libbz2.dylib (found version "1.0.6")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Could NOT find GME (missing: GME_LIBRARIES GME_INCLUDE_DIR)
-- Using system zlib
-- Using internal jpeg library
-- Using system bzip2 library
-- Using internal gme library
-- Performing Test HAVE_NO_ARRAY_BOUNDS
-- Performing Test HAVE_NO_ARRAY_BOUNDS - Success
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- /usr/include
-- /usr/include
-- /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma/C
-- Looking for itoa
-- Looking for itoa - not found
-- Performing Test DUMB_CAN_USE_SSE
-- Performing Test DUMB_CAN_USE_SSE - Success
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindSDL2.cmake:179 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/vizdoom/src/CMakeLists.txt:206 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/jpeg-6b
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/jpeg-6b
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/jpeg-6b
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu/gme
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu/gme
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu/gme
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/lemon
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/lemon
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/lemon
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/re2c
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/re2c
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/re2c
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/updaterevision
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/updaterevision
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/updaterevision
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/zipdir
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/zipdir
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/zipdir
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/dumb
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/dumb
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/dumb
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/gdtoa
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/gdtoa
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/gdtoa
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/wadsrc
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/wadsrc
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/wadsrc
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/src
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/src
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/CMakeFiles/CMakeError.log".
Could not build doom-py: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DBUILD_JAVA=OFF', '-DPYTHON_EXECUTABLE:FILEPATH=/Users/adauphin/anaconda/bin/python', '-DOSX_COCOA_BACKEND=OFF']' returned non-zero exit status 1. (HINT: are you sure cmake is installed? You might also be missing a library. doom_py requires boost, boost-python, sdl2 on OSX (installable via 'brew install boost boost-python sdl2')
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 88, in <module>
include_package_data=True,
File "/Users/adauphin/anaconda/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/adauphin/anaconda/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/adauphin/anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/adauphin/anaconda/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 179, in run
self.run_command('build')
File "/Users/adauphin/anaconda/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/adauphin/anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 63, in run
build_func()
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 34, in build_osx
build_common('dylib', cmake_arg_list=['-DOSX_COCOA_BACKEND=OFF'])
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 28, in build_common
subprocess.check_call(['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DBUILD_JAVA=OFF', '-DPYTHON_EXECUTABLE:FILEPATH={}'.format(sys.executable)] + cmake_arg_list, cwd='doom_py')
File "/Users/adauphin/anaconda/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DBUILD_JAVA=OFF', '-DPYTHON_EXECUTABLE:FILEPATH=/Users/adauphin/anaconda/bin/python', '-DOSX_COCOA_BACKEND=OFF']' returned non-zero exit status 1
----------------------------------------
Failed building wheel for doom-py
Running setup.py clean for doom-py
Failed to build doom-py
Installing collected packages: doom-py, ppaquette-gym-doom
Running setup.py install for doom-py ... error
Complete output from command /Users/adauphin/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-bwc20hrp-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Warning at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:54 (find_package)
CMake Error at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindBoost.cmake:1793 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:54 (find_package)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find GME (missing: GME_LIBRARIES GME_INCLUDE_DIR)
-- Using system zlib
-- Using internal jpeg library
-- Using system bzip2 library
-- Using internal gme library
-- /usr/include
-- /usr/include
-- /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma/C
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at /Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
Call Stack (most recent call first):
/Users/adauphin/anaconda/lib/python3.5/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindSDL2.cmake:179 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/vizdoom/src/CMakeLists.txt:206 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/jpeg-6b
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/jpeg-6b
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/jpeg-6b
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu/gme
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu/gme
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/game-music-emu/gme
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/lzma
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/lemon
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/lemon
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/lemon
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/re2c
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/re2c
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/re2c
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/updaterevision
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/updaterevision
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/updaterevision
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/zipdir
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/zipdir
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/tools/zipdir
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/dumb
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/dumb
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/dumb
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/gdtoa
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/gdtoa
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/gdtoa
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/wadsrc
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/wadsrc
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/wadsrc
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/src
used as include directory in directory /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/src/vizdoom/src
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/doom_py/CMakeFiles/CMakeError.log".
Could not build doom-py: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DBUILD_JAVA=OFF', '-DPYTHON_EXECUTABLE:FILEPATH=/Users/adauphin/anaconda/bin/python', '-DOSX_COCOA_BACKEND=OFF']' returned non-zero exit status 1. (HINT: are you sure cmake is installed? You might also be missing a library. doom_py requires boost, boost-python, sdl2 on OSX (installable via 'brew install boost boost-python sdl2')
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 88, in <module>
include_package_data=True,
File "/Users/adauphin/anaconda/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/adauphin/anaconda/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/adauphin/anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/adauphin/anaconda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/setuptools/command/install.py", line 61, in run
File "/Users/adauphin/anaconda/lib/python3.5/distutils/command/install.py", line 539, in run
self.run_command('build')
File "/Users/adauphin/anaconda/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/adauphin/anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 63, in run
build_func()
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 34, in build_osx
build_common('dylib', cmake_arg_list=['-DOSX_COCOA_BACKEND=OFF'])
File "/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py", line 28, in build_common
subprocess.check_call(['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DBUILD_JAVA=OFF', '-DPYTHON_EXECUTABLE:FILEPATH={}'.format(sys.executable)] + cmake_arg_list, cwd='doom_py')
File "/Users/adauphin/anaconda/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DBUILD_JAVA=OFF', '-DPYTHON_EXECUTABLE:FILEPATH=/Users/adauphin/anaconda/bin/python', '-DOSX_COCOA_BACKEND=OFF']' returned non-zero exit status 1
----------------------------------------
Command "/Users/adauphin/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-bwc20hrp-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/dn/_yz1p9v905b9pfwz56n1q7bspnbvw6/T/pip-build-tylodmst/doom-py/
In appendix E, section 5 of Quantum Deep Learning, the authors write:
[...] our quantum algorithms [...] can therefore efficiently train full Boltzmann machines given that the mean-field approximation to the Gibbs state has only polynomially small overlap with the true Gibbs state.
However, by reading the rest of the article one is lead to the idea that using mean-field theory is a good enough state (better than a uniform state) to be used as a prior in the network.
Does this phrase therefore have a typo or am I missing something?
As a quick summary, some of us are still doing the homework of meeting 7, which consists on implementing a quantum support vector machine following this paper. The implementation needs of a means of inverting matrices, and a quantum way is described in this paper here. We have implemented the algorithm in this last paper, but the results are not quite what we expected. After working quite a bit on it, I have realized that one of the assumptions in the paper is not (even approximately) always satisfied. The assumption in question appears after the third equation of page 3, and is that phase estimation is perfect. This should of course not to be expected to hold perfectly, but it turns out that usually there is not one, but a few of states whose
When reading this week's quantum paper, I came across something I do not quite understand. In Eq. (16) they define their truly quantum Boltzmann machine Hamiltonian, which has home transverse field, and then they argue that there is one term in the derivative of the error function Eq. (18) that cannot be estimated using sampling. My question is then: does this mean that this QBM would not suppose any improvement over a QBM without the transverse field? It seems like with exact diagonalization they get improvements, so would this be more like some kind of experimental limitation?
I was trying to train a Boltzmann machine in the way they do in Benedettis et al. paper (arXiv:1609.02542). I am wondering how to calculate equations (9) and (10) correctly. My problem comes when calculating the ensemble average with respect to the distribution P(z) (the negative phase).
Does this distribution evolve at the same rate as the coupling parameters J and h change through equations (7) and (8)? In order words, each time I update the couplings, I should apply this changes to the model lattice and calculate a new spin distribution?
According to the question today:
Why is pretraining with RBM necessary and why don't we have to do that anymore today? I have found the following paper:
http://www.jmlr.org/papers/volume11/erhan10a/erhan10a.pdf
Let's use this 'Issue' to figure this out and discuss a bit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.