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
The cast() classmethod in colbert.data.Collection has uses the following to test the type of the obj argument:
iftype(obj) iscls:
returnobj
This fails when the collection object passed to colbert.Searcher is a subclass of Collection. Perhaps a better implementation for the type check in cast would be:
ifisinstance(obj, cls):
returnobj
The text was updated successfully, but these errors were encountered:
I don't have permission to push a new branch with this change. How should I
do a PR?
ERROR: Permission to stanford-futuredata/ColBERT.git denied to bagchisu.
Regards,
Sugato
The
cast()
classmethod incolbert.data.Collection
has uses the following to test the type of theobj
argument:This fails when the collection object passed to
colbert.Searcher
is a subclass ofCollection
. Perhaps a better implementation for the type check incast
would be:The text was updated successfully, but these errors were encountered: