I really appreciated the examples and well-written package documented at https://pydeep.readthedocs.io/
I am running:
- iMac: Retina 5K, 27-inch, Late 2015
-- OS: macOS BigSur 11.6
-- Processor: 3.2 GHz Quad-Core Intel Core i5
-- Memory: 32 GB 1867 MHz DDR3
-- Graphics: AMD Radeon R9 M390 2 GB
- Anaconda: 4.10.3
- Python 3.8.11
- Jupyter Notebook Server: 4.10.3
I run deep learning codes.
I installed pydeep according to the instructions:
# Download PyDeep from GitHub/MelJan
unzip PyDeep-master.zip
cd PyDeep-master
python setup.py install
but it will not run the unit tests:
python -m unittest discover -s testunits
It rather produced the following output:
Traceback (most recent call last):
File "/Applications/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
...
File "/Applications/anaconda3/lib/python3.8/unittest/loader.py", line 346, in discover
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: 'testunits'
Before attempting the direct code install I had attempted to load PyDeep into my Anaconda environment using
but it is not recognized by conda, so I used pip
but. this created serious compile-time conflicts with pyobjc that took a night of debugging and a complete reinstall of anaconda to solve.
This may have been due to the recent Big Sur upgrade of October 11, 2021 by Apple.
I eventually solved this issue using a beta of pyobjc as follows:
pip install pyobjc-core==8.0b1
pip install pyobjc-framework-Cocoa==8.0b1
pip install pyobjc-framework-Quartz==8.0b1
Anyway I am presenting the obstacles I encountered in reverse order in the hope that your 2017 package can remain viable for its quality construction and clarity.
In the meantime I will use sklearn PCA, which is much less elegant than your streamlined implementation.