No module named 'model.roi_crop._ext.roi_crop._roi_crop'
See original GitHub issueI am getting this error.
(C:\Users\User\Anaconda3) C:\Users\User\Documents\UMass Amherst\Semester 3\Independent Study\Code\Multimodal_Influenza_Detection\faster-rcnn.pytorch>python trainval_net.py --dataset='kaist'
Traceback (most recent call last):
File "trainval_net.py", line 30, in <module>
from model.utils.net_utils import weights_normal_init, save_net, load_net, adjust_learning_rate, save_checkpoint, clip_gradient
File "C:\Users\User\Documents\UMass Amherst\Semester 3\Independent Study\Code\Multimodal_Influenza_Detection\faster-rcnn.pytorch\lib\model\utils\net_utils.py", line 8, in <module>
from model.roi_crop.functions.roi_crop import RoICropFunction
File "C:\Users\User\Documents\UMass Amherst\Semester 3\Independent Study\Code\Multimodal_Influenza_Detection\faster-rcnn.pytorch\lib\model\roi_crop\functions\roi_crop.py", line 4, in <module>
from .._ext import roi_crop
File "C:\Users\User\Documents\UMass Amherst\Semester 3\Independent Study\Code\Multimodal_Influenza_Detection\faster-rcnn.pytorch\lib\model\roi_crop\_ext\roi_crop\__init__.py", line 3, in <module>
from ._roi_crop import lib as _lib, ffi as _ffi
ModuleNotFoundError: No module named 'model.roi_crop._ext.roi_crop._roi_crop'
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'model'
Append your script/module path with sys module then import your sub modules. sys.path.append('/path/to/your/model/modules/').
Read more >5. Results Plugins — GDSC SMLM 1.1 documentation
When the plugin is run it presents a selection of the current results that are held in memory. If no results are available...
Read more >RPi Camera (I) - Waveshare Wiki
The libcamera driver of the Raspberry Pi will call a tuning file for different camera modules. The tuning file provides various parameters.
Read more >Deep level set method for optic disc and cup segmentation on ...
We preprocess the images with RoI crop for all automatic methods. The evaluation results are reported as average ± standard deviation. From the...
Read more >User Guide 2022b - OriginLab
The Origin upgrade installs into a new program folder - it does not update a ... Clip graph image to ROI, Crop image...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi,I get the same problem,too.I have installed python2.7,pytorch0.4.1(there is no cuda for this version)and I have only cpu inside my computer ,what should I do? any suggestion would be grated! thanks!
I try to do this on google colab but face the same problem. CUDA8.0, Pytorch1.0.0,python3.7. I could run the setup.py successfully. But when I start training, this happens: My CUDA:
Update: Seems like the setup.py didn’t run properly, but I didn’t know how to fix it.