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
Following the usage from HF. When loading the model via net = BriaRMBG.from_pretrained("briaai/RMBG-1.4") it returns a KeyError for 'in_ch' despite the key is available.
Describe the bug
Following the usage from HF. When loading the model via
net = BriaRMBG.from_pretrained("briaai/RMBG-1.4")
it returns a KeyError for'in_ch'
despite the key is available.But the dictionary has the key of 3. How to fix the error?
![image](https://private-user-images.githubusercontent.com/107806531/312885869-73131ad0-1551-4874-ac1e-1b33d3c3f9c2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNjk3NDQsIm5iZiI6MTcxOTI2OTQ0NCwicGF0aCI6Ii8xMDc4MDY1MzEvMzEyODg1ODY5LTczMTMxYWQwLTE1NTEtNDg3NC1hYzFlLTFiMzNkM2MzZjljMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNFQyMjUwNDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNTU2ZjA3NWZiY2E4NjU1MmQ0MmU1OTdiMjhkM2VhYjJkMjhkMDI4NTQ3MzdmNWZjZmQ4MWM1Y2EyYWQ3NzMxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.B1UQAlI4XljnxcNHKXXNsof6Uyd-pPTGFzThniER3wM)
Thanks!
The text was updated successfully, but these errors were encountered: