lama icon indicating copy to clipboard operation
lama copied to clipboard

ckpt to pt model format

Open yumianhuli1 opened this issue 1 year ago • 2 comments

I use set PYTHONPATH=%cd% python bin\to_jit.py model.path=%cd%\big-lama +save_path=%cd%\big-lama\big-lama.jit in the root directory of lama under windows os in order to convert ckpt format to pt format,

but An error occurred: handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler)) ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ValueError: invalid signal value

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

yumianhuli1 avatar Jan 24 '24 08:01 yumianhuli1

Just comment this out

windj007 avatar Jan 25 '24 15:01 windj007

I wrote a simple ckpt to pt model convertor, in case you need it

https://github.com/advimman/lama/issues/306

jiaxue-ai avatar Mar 30 '24 23:03 jiaxue-ai