Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'caffe' has no attribute 'set_random_seed' #22

Open
Infinality opened this issue Jan 22, 2019 · 0 comments
Open

Comments

@Infinality
Copy link

I successfully compiled NVCaffe, however I'm getting this error when I run style_transfer.py:

Run 190122_141358 started.
Initializing vgg19.caffemodel.

Watch the progress at: http://127.0.0.1:8000/

Starting 1 worker process(es).
======== Running on http://0.0.0.0:8000 ========
(Press CTRL+C to quit)

Scale 1, image size 256x256.

Preprocessing the style image(s)...
Process ForkProcess-1:
Traceback (most recent call last):
File ".../style_transfer/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File ".../style_transfer/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "style_transfer.py", line 185, in run
caffe.set_random_seed(0)
AttributeError: module 'caffe' has no attribute 'set_random_seed'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant