-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unable to run demo #9
Comments
are you able to load the pretrained model? @swetha-sree |
@swetha-sree @dev-srikanth I am hurry for preparing another paper these days, you probably need to provide more detail information? And I will answer you in about 1 month layer. You can fix the bug by yourself. Alternatively, you can use |
@dev-srikanth i was able to load the pretrained model correctly "ResNet-101-model.npz" |
you should use int in Everywhere in list of code for example config.AU_SQUEEZE[int(class_idx)] instead of config.AU_SQUEEZE[class_idx] /////////////////////////////////////////////////////////////////////////////////////////////// import argparse from AU_rcnn.links.model.faster_rcnn.faster_rcnn_vgg import FasterRCNNVGG16from dataset_toolkit.compress_utils import get_zip_ROI_AU, get_AU_couple_child class HeatMapGenerator(chainer.Chain):
def main():
if name == "main": |
Hi all, Thanks for helping each other, I will convert this code to a clean pytorch version. |
Traceback (most recent call last):
File "demo_AU_rcnn.py", line 255, in
main()
File "demo_AU_rcnn.py", line 171, in main
roi_image = orig_face[:, y_min:y_max+1, x_min:x_max+1] # N, 3, roi_H, roi_W
TypeError: slice indices must be integers or None or have an index method
The text was updated successfully, but these errors were encountered: