You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importceleb_detector# on running for the first time, this will download vggface model# img_path = 'sample_image.jpg' # this supports both local path and web url like https://sample/sample_image_url.jpgimg_path='Alia_Bhatt_promoting_Kalank.jpg'# this supports both local path and web url like https://sample/sample_image_url.jpgceleb_detector.celeb_recognition(img_path) # on running for the first time, 2 files (celeb_mapping.json and celeb_index_60.ann) will downloaded to your home directory
This is the error I am getting:
---------------------------------------------------------------------------AttributeErrorTraceback (mostrecentcalllast)
[<ipython-input-17-d0e4e36cb43e>](https://localhost:8080/#) in <cell line: 4>()2# img_path = 'sample_image.jpg' # this supports both local path and web url like https://sample/sample_image_url.jpg3img_path='Alia_Bhatt_promoting_Kalank.jpg'# this supports both local path and web url like https://sample/sample_image_url.jpg---->4celeb_detector.celeb_recognition(img_path) # on running for the first time, 2 files (celeb_mapping.json and celeb_index_60.ann) will downloaded to your home directoryAttributeError: module'celeb_detector'hasnoattribute'celeb_recognition'
The text was updated successfully, but these errors were encountered:
This is the code as shown in the documentation: https://pypi.org/project/celeb-detector/
This is the error I am getting:
The text was updated successfully, but these errors were encountered: