e2crawfo / auto_yolo

Original implementation of Spatially Invariant Attend, Infer, Repeat (SPAIR) in TensorFlow.
MIT License
51 stars 17 forks source link

Cannot load 'cfg' from dps #6

Open erlebach opened 4 years ago

erlebach commented 4 years ago

Hi,

Running on a Macbook Pro with no GPU with CUDA, I ran the test with dps and got an error. Any ideas?

dps erlebach$ dps-run simple_addition a2c Traceback (most recent call last): File "/Users/erlebach/anaconda3/envs/tensorflow/bin/dps-run", line 11, in load_entry_point('dps', 'console_scripts', 'dps-run')() File "/Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/pkg_resources/init.py", line 2843, in load_entry_point return ep.load() File "/Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/pkg_resources/init.py", line 2434, in load return self.resolve() File "/Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/pkg_resources/init.py", line 2440, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/Users/erlebach/Documents/src/2019/auto_yolo/dps/dps/init.py", line 7, in from .config import DEFAULT_CONFIG File "/Users/erlebach/Documents/src/2019/auto_yolo/dps/dps/config.py", line 3, in from dps.utils import Config, load_system_config File "/Users/erlebach/Documents/src/2019/auto_yolo/dps/dps/utils/init.py", line 1, in from .base import * File "/Users/erlebach/Documents/src/2019/auto_yolo/dps/dps/utils/base.py", line 13, in import psutil File "/Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/psutil/init.py", line 156, in from . import _psosx as _psplatform File "/Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/psutil/_psosx.py", line 15, in from . import _psutil_osx as cext ImportError: dlopen(/Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/psutil/_psutil_osx.cpython-37m-darwin.so, 2): Symbol not found: ___CFConstantStringClassReference Referenced from: /Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/psutil/_psutil_osx.cpython-37m-darwin.so Expected in: flat namespace in /Users/erlebach/anaconda3/envs/tensorflow/lib/python3.7/site-packages/psutil/_psutil_osx.cpython-37m-darwin.so

erlebach commented 4 years ago

Hi,

I tried to download the data using dps, and it did not work. Perhaps i could download the data manually?

Question: Is there a Pytorch implementation of your auto_yolo software? Thanks.

(tensorflow) Gordons-MBP-2:scripts erlebach$ python download.py emnist --shape=14,14 [TerminalIPythonApp] WARNING | Unrecognized alias: '--shape=14,14', it will probably have no effect.

ImportError Traceback (most recent call last) ~/Documents/src/2019/auto_yolo/dps/scripts/download.py in 11 12 from dps import cfg ---> 13 from dps.datasets.load import _validate_emnist 14 from dps.utils import image_to_string, cd, process_path 15 from dps.datasets.load import convert_emnist_and_store

ImportError: cannot import name '_validate_emnist' from 'dps.datasets.load' (/Users/erlebach/Documents/src/2019/auto_yolo/dps/dps/datasets/load/init.py) (tensorflow) Gordons-MBP-2:scripts erlebach$ python download.py emnist --------------------------------------------------------------------------- ImportError Traceback (most recent call last) ~/Documents/src/2019/auto_yolo/dps/scripts/download.py in 11 12 from dps import cfg ---> 13 from dps.datasets.load import _validate_emnist 14 from dps.utils import image_to_string, cd, process_path 15 from dps.datasets.load import convert_emnist_and_store

ImportError: cannot import name '_validate_emnist' from 'dps.datasets.load' (/Users/erlebach/Documents/src/2019/auto_yolo/dps/dps/datasets/load/init.py)