tensorflow / lucid

A collection of infrastructure and tools for research in neural network interpretability.
Apache License 2.0
4.65k stars 655 forks source link

no model.layers when loaded inceptionv1 #227

Open segalinc opened 4 years ago

segalinc commented 4 years ago

Trying to run infinite_patterns tutorial on lucid but when loading inceptionV1 and not inceptionv1_caffe as it also gives error, there is no layer attribute in the model

AttributeError                            Traceback (most recent call last)
 in 
----> 1 model.layers

AttributeError: 'InceptionV1' object has no attribute 'layers'
colah commented 4 years ago

Hi Cristina,

Is it possible you're using an out of date version of lucid?

Chris

On Thu, Feb 13, 2020 at 11:17 AM Cristina Segalin notifications@github.com wrote:

Trying to run infinite_patterns tutorial on lucid but when loading inceptionV1 and not inceptionv1_caffe as it also gives error, there is no layer attribute in the model

AttributeError Traceback (most recent call last) in ----> 1 model.layers

AttributeError: 'InceptionV1' object has no attribute 'layers'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tensorflow/lucid/issues/227?email_source=notifications&email_token=AAAPBWR2L3JHQ6HQ55ZN3PLRCWMC5A5CNFSM4KUZFKY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INLUCQQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPBWTU3OZXR7S4O465MP3RCWMC5ANCNFSM4KUZFKYQ .

segalinc commented 4 years ago

Hi i have installed both the latest (not specifying version when installing with pip) and 0.2.3 but both given me the same error.

Cristina

Sent from my OnePlus

On Thu, Feb 13, 2020, 12:14 Christopher Olah notifications@github.com wrote:

Hi Cristina,

Is it possible you're using an out of date version of lucid?

Chris

On Thu, Feb 13, 2020 at 11:17 AM Cristina Segalin < notifications@github.com> wrote:

Trying to run infinite_patterns tutorial on lucid but when loading inceptionV1 and not inceptionv1_caffe as it also gives error, there is no layer attribute in the model

AttributeError Traceback (most recent call last) in ----> 1 model.layers

AttributeError: 'InceptionV1' object has no attribute 'layers'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/tensorflow/lucid/issues/227?email_source=notifications&email_token=AAAPBWR2L3JHQ6HQ55ZN3PLRCWMC5A5CNFSM4KUZFKY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INLUCQQ , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAAPBWTU3OZXR7S4O465MP3RCWMC5ANCNFSM4KUZFKYQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tensorflow/lucid/issues/227?email_source=notifications&email_token=ACHLPESA5HHYKIHYMH7MT43RCWS3RA5CNFSM4KUZFKY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELWONNI#issuecomment-585950901, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHLPEWOXUNB65WPJCNCJULRCWS3RANCNFSM4KUZFKYQ .

eddiem3 commented 3 years ago

Anyone have any luck on this?