Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP,NotImplementedError: reshaping is not supported for Index objects #38

Open
lin-huai-huai opened this issue Oct 7, 2023 · 0 comments

Comments

@lin-huai-huai
Copy link

Traceback (most recent call last):
File "D:/GitHub源代码/GMAN-master/GMAN-master/METR/train.py", line 55, in
mean, std) = utils.loadData(args)
File "D:\GitHub源代码\GMAN-master\GMAN-master\METR\utils.py", line 72, in loadData
dayofweek = np.reshape(Time.weekday, newshape = (-1, 1))
File "D:\Software\Anaconda3\envs\tensorflow\lib\site-packages\numpy\core\fromnumeric.py", line 232, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
File "D:\Software\Anaconda3\envs\tensorflow\lib\site-packages\numpy\core\fromnumeric.py", line 57, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
File "D:\Software\Anaconda3\envs\tensorflow\lib\site-packages\pandas\core\indexes\base.py", line 1149, in reshape
raise NotImplementedError("reshaping is not supported "
NotImplementedError: reshaping is not supported for Index objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant