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

extract features fails #47

Open
vickerse1 opened this issue Oct 7, 2021 · 0 comments
Open

extract features fails #47

vickerse1 opened this issue Oct 7, 2021 · 0 comments

Comments

@vickerse1
Copy link

this happens while running streamlit over port forwarding. i get the following error:


Failed on feature embedding. Try again by unchecking sidebar and rerunning extract features.

UnboundLocalError: local variable 'learned_embeddings' referenced before assignment
Traceback:
File "/usr/local/anaconda3/envs/streamlit/lib/python3.9/site-packages/streamlit/script_runner.py", line 354, in run_script
exec(code, module.dict)
File "/disk/B-SOID/bsoid_app.py", line 46, in
extractor.main()
File "/disk/B-SOID/bsoid_app/extract_features.py", line 192, in main
self.compute()
File "/disk/B-SOID/bsoid_app/extract_features.py", line 137, in compute
self.learn_embeddings()
File "/disk/B-SOID/bsoid_app/extract_features.py", line 172, in learn_embeddings
self.sampled_embeddings = learned_embeddings.embedding

when initializing bsoid on these sessions, i get get the following (possibly related?) runtime / non-fatal error:


2021-10-06 10:27:59.806 Examining the path of widgets raised: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (/usr/local/zmq/backend/cython/init.py)
2021-10-06 10:28:18.806 Examining the path of widgets raised: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (/usr/local/zmq/backend/cython/init.py)
2021-10-06 10:28:24.747 Examining the path of widgets raised: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (/usr/local/zmq/backend/cython/init.py)
2021-10-06 12:53:45.410 Traceback (most recent call last):

Do you have any ideas about what could be causing these problems?

Thanks,

Evan

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