DeepRank / deeprank

This repository has been integrated in https://github.com/DeepRank/deeprank2
Apache License 2.0
145 stars 27 forks source link

_plot_boxplot_class is missing from NeuralNet.py #27

Closed LilySnow closed 6 years ago

LilySnow commented 6 years ago

When I do classification, I ran into this bug:

Traceback (most recent call last): File "learn.py", line 33, in model = NeuralNet(data_set, model3d.cnn,cuda=True,ngpu=1,plot=True, task='class') File "/home/lixue/deeprank/BM4/xper/all/exp002_2L_Cl/deeprank/learn/NeuralNet.py", line 144, in init self._plot_scatter = self._plot_boxplot_class AttributeError: 'NeuralNet' object has no attribute '_plot_boxplot_class'

NicoRenaud commented 6 years ago

Yup I removed the classification tools at some point to streamline the code. I'll put it back

NicoRenaud commented 6 years ago

I'll have to tweak the box plot definition because the code evolved quite a bit since I removed it ..... Sorry but that would have to wait for tomorrow. Maybe you can hack the code so that it doesn't complain and still run classification ?

LilySnow commented 6 years ago

Not urgent. I turned off the plotting part.

On Wed, Apr 4, 2018 at 5:29 PM, Nicolas Renaud notifications@github.com wrote:

I'll have to tweak the box plot definition because the code evolved quite a bit since I removed it ..... Sorry but that would have to wait for tomorrow. Maybe you can hack the code so that it doesn't complain and still run classification ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DeepRank/deeprank/issues/27#issuecomment-378642373, or mute the thread https://github.com/notifications/unsubscribe-auth/AHokYWgNdxCJCFkJdpFZUtzQml8aNvVVks5tlObcgaJpZM4TG_Xa .

-- Li Xue, Ph.D. Computational Structural Biology group Utrecht University, Faculty of Science - Chemistry Email: L.Xue@uu.nl

NicoRenaud commented 6 years ago

That's done now closing the issue