amiratag / ACE

Towards Automatic Concept-based Explanations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A spelling error in the source code

numb89757 opened this issue · comments

if model_to_run == 'InceptionV3':
    mymodel = model.InceptionV3Wrapper_public(
        sess, model_saved_path=model_path, labels_path=labels_path)
elif model_to_run == 'GoogleNet':
    # common_typos_disable
    mymodel = model.GoolgeNetWrapper_public(
        sess, model_saved_path=model_path, labels_path=labels_path)

in ace_helpers.py line 38, mymodel = model.GoolgeNetWrapper_public
should be mymodel = model.GoogleNetWrapper_public, notice the spelling of Google

or you may meet error like :
AttributeError: module 'tcav.model' has no attribute 'GoolgeNetWrapper_public'