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

Ask for version information in requirements.txt #33

Open
sam351 opened this issue Aug 21, 2022 · 4 comments
Open

Ask for version information in requirements.txt #33

sam351 opened this issue Aug 21, 2022 · 4 comments

Comments

@sam351
Copy link

sam351 commented Aug 21, 2022

Hi, I'm trying to set the environment in colab.
I cloned this repo & installed packages with requirements.txt
After that, I ran below command as it's mentioned in the README.md.

python main_4n0_3layer_12T_res.py --config config/PEMS04/individual_3layer_12T.json

however, I'm getting AttributeError, which seems to be related with mxnet version issue

Traceback (most recent call last):
File "main_4n0_3layer_12T_res.py", line 27, in
net = construct_model(config)
File "/content/STFGNN/utils_4n0_3layer_12T_res.py", line 41, in construct_model
init=mx.init.Constant(value=adj_mx.tolist()))
File "/usr/local/lib/python3.7/dist-packages/mxnet/symbol/symbol.py", line 2970, in var
init = init.dumps()
File "/usr/local/lib/python3.7/dist-packages/mxnet/initializer.py", line 477, in dumps
self._kwargs['value'] = val.tolist() if isinstance(val, np.ndarray) else val.asnumpy().tolist()
AttributeError: 'list' object has no attribute 'asnumpy'

I think it may be related with mxnet version issue.
Could you clarify specific version information of each required packge you used in the project?
Or do you have any other possible cause for that Error?

Thank you in advance :)

@packer-c
Copy link

I am facing the same problem. Have you solved it?

@sam351
Copy link
Author

sam351 commented Dec 1, 2022

Nope... I'm still waiting for the reply...

@packer-c
Copy link

packer-c commented Dec 4, 2022

I solved it, just change Mxnet version.
My mxnet =1.4.0; Cuda = 10.0; python=3.7 with Windows.

@Jaycon98
Copy link

Jaycon98 commented Jun 5, 2023

I solved it, just change Mxnet version. My mxnet =1.4.0; Cuda = 10.0; python=3.7 with Windows.

Is it mxnet-cu100=1.4.0? Could you provide more detailed version information about other packages? I still can't get it to work... Thanks!
cf32bb0d674e758e031e88ba37db306

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

3 participants