Atcold / NYU-DLSP20

NYU Deep Learning Spring 2020
https://atcold.github.io/NYU-DLSP20/
Other
6.66k stars 2.22k forks source link

README suggestion #840

Open webdevserv opened 1 year ago

webdevserv commented 1 year ago

When using the notebooks in google colab environment.

when using and importing the rep local libraries (resources for example) it bombs since the folder contains hyphens and it needs to be changed for it to work.

Reference: res.plot_lib error #674

I had the same issue that I have fixed on my end and now it works. can I please make a suggestion for the README file and send it? can you open and assign to me.

thanks.

nowitworks

Atcold commented 1 year ago

How did you fix it? What is that you'd like to add to the README.md?

webdevserv commented 1 year ago

Ciao Alfredo,

For google colab to work the folder has to be renamed from hyphen to underscore. By importing the resources folder like this it all works smoothly.

Eskarrikasko. Idoia L.

Set default plots

from pytorch_Deep_Learning.res.plot_lib import set_default from matplotlib import pyplot as plt set_default()

On Fri, Mar 3, 2023 at 5:38 PM Alfredo Canziani @.***> wrote:

How did you fix it? What is that you'd like to add to the README.md?

— Reply to this email directly, view it on GitHub https://github.com/Atcold/pytorch-Deep-Learning/issues/840#issuecomment-1454220153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPRIELNUSRY4CGQQLHJJSTW2JXFNANCNFSM6AAAAAAUPQAFAM . You are receiving this because you authored the thread.Message ID: @.***>

Atcold commented 1 year ago

Currently, it's only from res.plot_lib right? You're suggesting that pytorch_Deep_Learning. should be prepended to res, correct?