anonymous47823493 / EagleEye

(ECCV'2020 Oral)EagleEye: Fast Sub-net Evaluation for Efficient Neural Network Pruning
304 stars 68 forks source link

Showing no attribute error #31

Closed ghost closed 3 years ago

ghost commented 3 years ago

What is 'opt' in the search method? searching=search.get_purning_stratergies(opt,num_layers)

Bowenwu1 commented 3 years ago

Hi~ opt is an options object gained from ArgumentParser, as shown in https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py

Ykulkarni-ops commented 3 years ago

where do i get the dataset from?

Bowenwu1 commented 3 years ago

@Ykulkarni-ops Which dataset?

Ykulkarni-ops commented 3 years ago

the one used in the eagle eye pruning using mobilenetV1 50% FlOP's

Ykulkarni-ops commented 3 years ago

Is there no dataset required for the implementation of the code provided in @Bowenwu1 Egaleeye pruning implementation. I am a little confused on how i should do the implementation even after reading the README.txt. i am new to this field and still getting to the edge.

Please help ! I have an assignement to complete with this

Bowenwu1 commented 3 years ago

@Ykulkarni-ops Thanks for your interest in our work.

  1. Our implemented dataset class and dataloader class could be found in https://github.com/anonymous47823493/EagleEye/tree/master/data.
  2. You could download ImageNet Dataset from http://image-net.org/challenges/LSVRC/2012/index#introduction and CIFAR10 dataset from https://www.cs.toronto.edu/~kriz/cifar.html.
  3. Since README only can provide really limited information. You may follow our released code and paper for your own implementation.
ghost commented 3 years ago

Hi~ opt is an options object gained from ArgumentParser, as shown in https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py

I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate'

Ykulkarni-ops commented 3 years ago

i am getting an error for from options.bas_options import BaseOptions

can you help me?

Yash Kulkarni +91 8248147548

On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan notifications@github.com wrote:

Hi~ opt is an options object gained from ArgumentParser, as shown in https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py

I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate'

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744270909, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q .

ghost commented 3 years ago

i am getting an error for from options.bas_options import BaseOptions can you help me? Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan @.***> wrote: Hi~ opt is an options object gained from ArgumentParser, as shown in https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate' — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#31 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q .

try this sys.path.append('/content/EagleEye/options') import base_options

Ykulkarni-ops commented 3 years ago

done that not working

Yash Kulkarni +91 8248147548

On Mon, Dec 14, 2020 at 2:07 PM Shriraj Chauhan notifications@github.com wrote:

i am getting an error for from options.basoptions import BaseOptions can you help me? Yash Kulkarni +91 8248147548 … <#m-1602013129851712633_> On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan @.***> wrote: Hi~ opt is an options object gained from ArgumentParser, as shown in https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate' — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#31 (comment) https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744270909>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q .

try this sys.path.append('/content/EagleEye/options') import base_options

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744275923, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4TRJF73URJETPVDWP3SUXFEVANCNFSM4U2B2K6Q .

Ykulkarni-ops commented 3 years ago

can you tell me if i am doing the implementation of the algorithm correct ??

i used the CNN toolkit and used the CIFAR10.py file to import the data then i used the pretrained mobilenetV1 but i used mobilenetV2 here then i using the search .py to search for pruning networks then using the choose_strategy.py then finetune.py

am i doing it correctly??

Yash Kulkarni +91 8248147548

On Mon, Dec 14, 2020 at 2:10 PM Yash Kulkarni kulkarniyash333@gmail.com wrote:

done that not working

Yash Kulkarni +91 8248147548

On Mon, Dec 14, 2020 at 2:07 PM Shriraj Chauhan notifications@github.com wrote:

i am getting an error for from options.basoptions import BaseOptions can you help me? Yash Kulkarni +91 8248147548 … <#m-1447021343720721695m-1602013129851712633_> On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan @.***> wrote: Hi~ opt is an options object gained from ArgumentParser, as shown in https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate' — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#31 (comment) https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744270909>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q .

try this sys.path.append('/content/EagleEye/options') import base_options

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744275923, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4TRJF73URJETPVDWP3SUXFEVANCNFSM4U2B2K6Q .

Ykulkarni-ops commented 3 years ago

can you tell me if i am doing the implementation of the algorithm correct ??

i used the CNN toolkit and used the CIFAR10.py file to import the data then i used the pretrained mobilenetV1 but i used mobilenetV2 here then i using the search .py to search for pruning networks then using the choose_strategy.py then finetune.py

am i doing it correctly?? Yash Kulkarni +91 8248147548

On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan notifications@github.com wrote:

Hi~ opt is an options object gained from ArgumentParser, as shown in https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py

I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate'

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744270909, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q .

ghost commented 3 years ago

can you tell me if i am doing the implementation of the algorithm correct ?? i used the CNN toolkit and used the CIFAR10.py file to import the data then i used the pretrained mobilenetV1 but i used mobilenetV2 here then i using the search .py to search for pruning networks then using the choose_strategy.py then finetune.py am i doing it correctly?? Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:10 PM Yash Kulkarni kulkarniyash333@gmail.com wrote: done that not working Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:07 PM Shriraj Chauhan @.> wrote: > i am getting an error for from options.bas_options import BaseOptions can > you help me? Yash Kulkarni +91 8248147548 > … <#m_-1447021343720721695m-1602013129851712633_> > On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan @.> wrote: Hi~ opt > is an options object gained from ArgumentParser, as shown in > https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py > I am getting this error AttributeError: type object 'BaseOptions' has no > attribute 'max_rate' — You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub <#31 (comment) > <#31 (comment)>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q > . > > try this > sys.path.append('/content/EagleEye/options') import base_options > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#31 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4TRJF73URJETPVDWP3SUXFEVANCNFSM4U2B2K6Q > . >

I dont know i am unable to search stretergies, i havent gone that far yet.

Ykulkarni-ops commented 3 years ago

Ok, thanks.

On Mon, 14 Dec, 2020, 2:48 PM Shriraj Chauhan, notifications@github.com wrote:

can you tell me if i am doing the implementation of the algorithm correct ?? i used the CNN toolkit and used the CIFAR10.py file to import the data then i used the pretrained mobilenetV1 but i used mobilenetV2 here then i using the search .py to search for pruning networks then using the choose_strategy.py then finetune.py am i doing it correctly?? Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:10 PM Yash Kulkarni kulkarniyash333@gmail.com wrote: … <#m3411692282671698456> done that not working Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:07 PM Shriraj Chauhan @.> wrote: > i am getting an error for from options.basoptions import BaseOptions can > you help me? Yash Kulkarni +91 8248147548 > … <#m-1447021343720721695m-1602013129851712633_> > On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan @.> wrote: Hi~ opt > is an options object gained from ArgumentParser, as shown in > https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py

I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate' — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#31 https://github.com/anonymous47823493/EagleEye/issues/31 (comment) > <#31 (comment) https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744270909>>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q . > > try this > sys.path.append('/content/EagleEye/options') import base_options > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#31 (comment) https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744275923>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4TRJF73URJETPVDWP3SUXFEVANCNFSM4U2B2K6Q . >

I dont know i am unable to search stretergies, i havent gone that far yet.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744300844, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4SONG2GAJAY2ZPAZCTSUXJ6TANCNFSM4U2B2K6Q .

Ykulkarni-ops commented 3 years ago

same here i am still stuck on the same

Yash Kulkarni +91 8248147548

On Mon, Dec 14, 2020 at 2:48 PM Shriraj Chauhan notifications@github.com wrote:

can you tell me if i am doing the implementation of the algorithm correct ?? i used the CNN toolkit and used the CIFAR10.py file to import the data then i used the pretrained mobilenetV1 but i used mobilenetV2 here then i using the search .py to search for pruning networks then using the choose_strategy.py then finetune.py am i doing it correctly?? Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:10 PM Yash Kulkarni kulkarniyash333@gmail.com wrote: … <#m2034456127712929099> done that not working Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:07 PM Shriraj Chauhan @.> wrote: > i am getting an error for from options.basoptions import BaseOptions can > you help me? Yash Kulkarni +91 8248147548 > … <#m-1447021343720721695m-1602013129851712633_> > On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan @.> wrote: Hi~ opt > is an options object gained from ArgumentParser, as shown in > https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py

I am getting this error AttributeError: type object 'BaseOptions' has no attribute 'max_rate' — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#31 https://github.com/anonymous47823493/EagleEye/issues/31 (comment) > <#31 (comment) https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744270909>>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q . > > try this > sys.path.append('/content/EagleEye/options') import base_options > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#31 (comment) https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744275923>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4TRJF73URJETPVDWP3SUXFEVANCNFSM4U2B2K6Q . >

I dont know i am unable to search stretergies, i havent gone that far yet.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anonymous47823493/EagleEye/issues/31#issuecomment-744300844, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4SONG2GAJAY2ZPAZCTSUXJ6TANCNFSM4U2B2K6Q .

ghost commented 3 years ago

same here i am still stuck on the same Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:48 PM Shriraj Chauhan notifications@github.com wrote: can you tell me if i am doing the implementation of the algorithm correct ?? i used the CNN toolkit and used the CIFAR10.py file to import the data then i used the pretrained mobilenetV1 but i used mobilenetV2 here then i using the search .py to search for pruning networks then using the choose_strategy.py then finetune.py am i doing it correctly?? Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:10 PM Yash Kulkarni @.** wrote: … <#m2034456127712929099> done that not working Yash Kulkarni +91 8248147548 On Mon, Dec 14, 2020 at 2:07 PM Shriraj Chauhan @.> wrote: > i am getting an error for from options.basoptions import BaseOptions can > you help me? Yash Kulkarni +91 8248147548 > … <#m-1447021343720721695m-1602013129851712633_> > On Mon, Dec 14, 2020 at 1:59 PM Shriraj Chauhan @.*> wrote: Hi~ opt > is an options object gained from ArgumentParser, as shown in > https://github.com/anonymous47823493/EagleEye/blob/master/options/base_options.py > I am getting this error AttributeError: type object 'BaseOptions' has no > attribute 'max_rate' — You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub <#31 <#31> (comment) > <#31 (comment) <#31 (comment)>>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4W47KGVCSUMMSSHVV3SUXEE5ANCNFSM4U2B2K6Q > . > > try this > sys.path.append('/content/EagleEye/options') import base_options > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#31 (comment) <#31 (comment)>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/APVVQ4TRJF73URJETPVDWP3SUXFEVANCNFSM4U2B2K6Q > . > I dont know i am unable to search stretergies, i havent gone that far yet. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#31 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVVQ4SONG2GAJAY2ZPAZCTSUXJ6TANCNFSM4U2B2K6Q .

try using presearched strategy of mobilenet_v1 on mobilenet_v2. its in search_results.

ghost commented 3 years ago

i am getting this error @Bowenwu1 NameError: name 'prune' is not defined which file i have to import?

Bowenwu1 commented 3 years ago

@ShrirajChauhan Please point out what exactly do you want to do and code context around this error.

ghost commented 3 years ago

Apply this method to other models.

Bowenwu1 commented 3 years ago

@ShrirajChauhan You may need to figure it by yourself. I can not help you with such limited information. Moreover, it's out of the discussion range of this repo's issue.

ghost commented 3 years ago

@ShrirajChauhan You may need to figure it by yourself. I can not help you with such limited information. Moreover, it's out of the discussion range of this repo's issue.

Ok.

ghost commented 3 years ago

Thamks by the way.

@ShrirajChauhan You may need to figure it by yourself. I can not help you with such limited information. Moreover, it's out of the discussion range of this repo's issue.

Thanks by the way.