CODAIT / magicat

🧙😺 magicat - Deep learning magic.. with the convenience of cat!
Apache License 2.0
26 stars 5 forks source link

Error: The dtype of dict['ImageTensor'] provided in model.execute(dict) must be int32, but was float32 #10

Closed patrickelectric closed 4 years ago

patrickelectric commented 4 years ago

Error: The dtype of dict['ImageTensor'] provided in model.execute(dict) must be int32, but was float32

vabarbosa commented 4 years ago

@patrickelectric thanks for catching the issue. one of the dependencies fell a little behind. i have submitted the updates. if you re-install with the latest should hopefully be all set. let me know if you have any questions or run into further issues

patrickelectric commented 4 years ago

Everything is working fine now, thanks! image

vabarbosa commented 4 years ago

@patrickelectric just wanted to give you a head's up.

i have just pushed some long overdue updates. the biggest change is the magicat NPM module has been replaced with @codait/magicat NPM module. you can continue using magicat module but when you get the opportunity you should consider switching to the @codait/magicat module.

in addition, the CLI got some refactoring (e.g., --show renamed to --preview). you can check out the updated README to see some of the changes or just run magicat --help in the updated CLI.

any comments or feedback is welcomed.