You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to give the stable diffusion community the ability to trade Textual Inversion embeddings (basically, fine-tuning the model) between each other. When I run fickle against one my embeddings, I see this:
PROTO
EMPTY_DICT
Pushed {}
BINPUT
Memoized 0 -> {}
MARK
Pushed MARK
BINUNICODE
Pushed 'string_to_token'
BINPUT
Memoized 1 -> 'string_to_token'
EMPTY_DICT
Pushed {}
BINPUT
Memoized 2 -> {}
BINUNICODE
Pushed ''
BINPUT
Memoized 3 -> ''
GLOBAL
Traceback (most recent call last):
File "/home/berble/.local/bin/fickling", line 8, in
sys.exit(main())
File "/home/berble/.local/lib/python3.8/site-packages/fickling/cli.py", line 82, in main
print(unparse(trace.run()))
File "/home/berble/.local/lib/python3.8/site-packages/fickling/tracing.py", line 54, in run
self.on_statement(added)
File "/home/berble/.local/lib/python3.8/site-packages/fickling/tracing.py", line 38, in on_statement
print(f"\t{unparse(statement).strip()}")
File "/home/berble/.local/lib/python3.8/site-packages/astunparse/init.py", line 13, in unparse
Unparser(tree, file=v)
File "/home/berble/.local/lib/python3.8/site-packages/astunparse/unparser.py", line 38, in init
self.dispatch(tree)
File "/home/berble/.local/lib/python3.8/site-packages/astunparse/unparser.py", line 66, in dispatch
meth(tree)
File "/home/berble/.local/lib/python3.8/site-packages/astunparse/unparser.py", line 113, in _ImportFrom
interleave(lambda: self.write(", "), self.dispatch, t.names)
File "/home/berble/.local/lib/python3.8/site-packages/astunparse/unparser.py", line 19, in interleave
f(next(seq))
File "/home/berble/.local/lib/python3.8/site-packages/astunparse/unparser.py", line 66, in dispatch
meth(tree)
File "/home/berble/.local/lib/python3.8/site-packages/astunparse/unparser.py", line 856, in _alias
if t.asname:
AttributeError: 'alias' object has no attribute 'asname'
Any idea where I could start looking? We'd really like to be able to share embeddings safely!
This appears to be due to a bug in the astunparse module that wasn't fixed until Python 3.9. I am adding a workaround in Fickling that fixes this problem, but in the mean time the issue should disappear if you upgrade to a newer version of Python.
I'm trying to give the stable diffusion community the ability to trade Textual Inversion embeddings (basically, fine-tuning the model) between each other. When I run fickle against one my embeddings, I see this:
Any idea where I could start looking? We'd really like to be able to share embeddings safely!
Here's a base64-encoded copy of my data.pkl:
The text was updated successfully, but these errors were encountered: