DeepRobust icon indicating copy to clipboard operation
DeepRobust copied to clipboard

A source code error when using deeprobust.graph.data.Dataset under windows (have solved)

Open breakices opened this issue 1 year ago • 3 comments

eb713f99b7db5eb248a5f365f21411e

If you use deeprobust.graph.data.Dataset in windows, here comes a problem that the object would not initial its attribute "root", which leads to an AttributeError: 'Dataset' object has no attribute 'root' It can be easyly solved by add "self." in the front of the first "root", as following.

image

breakices avatar Jul 25 '23 03:07 breakices

I'm not true if the same problem will occur while using the code in github because I download the package by pip install.

breakices avatar Jul 25 '23 03:07 breakices

Thanks for reporting the problem. The code at Github has already fixed this issue while we haven't updated it to the pypi source. We will update pip version soon.

ChandlerBang avatar Jul 25 '23 04:07 ChandlerBang

Thanks for replying!

breakices avatar Jul 25 '23 06:07 breakices