GriffinLiang / vrd-dsr

Code for Visual Relationship Detection with Deep Structural Ranking (AAAI2018)
121 stars 32 forks source link

There is no function, called "res_detections" #26

Closed SeunghoHan closed 5 years ago

SeunghoHan commented 5 years ago

Hello, Thank you for sharing this code.

While I tried to run the pre_demo in demo.py, I found an error, which is "cannot import name res_detections"

I already imported the Faster R-CNN following your instructions, and other functions in faster r-cnn are working well. There is only no res_detection function.. in faster-rcnn/lib/model/util/net_utils

How can i solve it?

GriffinLiang commented 5 years ago

Sorry for the late reply. https://github.com/GriffinLiang/faster-rcnn.pytorch/blob/773184a60635918e43b320eb1a0e8881779b90c8/lib/model/utils/net_utils.py#L63

SeunghoHan commented 5 years ago

@GriffinLiang Thank you!

Actually, I tried to run these command to clone your repo $ git clone git@github.com:GriffinLiang/vrd-dsr.git $ git submodule update --recursive

But, it did not work for me. So, it tried to run again, changing some part like this. $ git clone --recursive git@github.com:GriffinLiang/vrd-dsr.git

It is working now!

GriffinLiang commented 5 years ago

Good. I will add this to README.