ikuinen99 commited on
Commit
4b856c8
·
1 Parent(s): 76139c0
groundingdino/models/GroundingDINO/ms_deform_attn.py CHANGED
@@ -31,8 +31,8 @@ try:
31
  #
32
  # _C = ext_loader.load_ext(
33
  # '_ext', ['ms_deform_attn_backward', 'ms_deform_attn_forward'])
34
- except:
35
- print("Failed to load custom C++ ops. Running on CPU mode Only!")
36
 
37
 
38
  # helpers
 
31
  #
32
  # _C = ext_loader.load_ext(
33
  # '_ext', ['ms_deform_attn_backward', 'ms_deform_attn_forward'])
34
+ except BaseException as e:
35
+ print("Failed to load custom C++ ops. Running on CPU mode Only! - {}".format(e))
36
 
37
 
38
  # helpers