Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'top_pool' #11

Closed
THEFASHIONGEEK opened this issue Mar 9, 2020 · 4 comments
Closed

No module named 'top_pool' #11

THEFASHIONGEEK opened this issue Mar 9, 2020 · 4 comments

Comments

@THEFASHIONGEEK
Copy link
Contributor

I am running CornerNet-lite Example in colab. While running
from train_detector import Detector I got this error

image

@abhi-kumar
Copy link
Contributor

That error is because you might be using a certain older version of monk object detection. It happened because the older version had precompiled binary (.so) files from my system pushed into the commit, which restricted the re-compiling of the binaries as per your system configurations.

Please clone the library again and reinstall as per the instructions.

If the error still persists, drop a comment here.

Happy coding!!

@THEFASHIONGEEK
Copy link
Contributor Author

I have cloned the latest version itself. But, I still get the same error.

@abhi-kumar
Copy link
Contributor

abhi-kumar commented Mar 9, 2020

If you are running it on colab, follow these steps,

#clone library
! git clone https://github.com/Tessellate-Imaging/Monk_Object_Detection.git

#install
cd Monk_Object_Detection/6_cornernet_lite/installation
! chmod +x install.sh
! ./install.sh

#move back to root dir
cd ../../../
#this should take you back to /content

#Very important, restart the runtime (using "Runtime" drop down menu in tool bar)

#import
import os
import sys
sys.path.append("Monk_Object_Detection/6_cornernet_lite/lib/")
from train_detector import Detector

@abhi-kumar
Copy link
Contributor

Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants