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

Running error #9

Open
LoveMYChen opened this issue Sep 13, 2024 · 2 comments
Open

Running error #9

LoveMYChen opened this issue Sep 13, 2024 · 2 comments

Comments

@LoveMYChen
Copy link

=> using 'cuda' for computation.
=> checking ckpt dir...
=> creating model and optimizer...
Traceback (most recent call last):
File "main.py", line 238, in
main()
File "main.py", line 126, in main
model = nets.dictargs['arch'] + 'Backbone'.to(device)
File "/home/hdp/EFGH/nets/efghbackbone.py", line 16, in init
self.E = Enet(args)
File "/home/hdp/EFGH/nets/enet.py", line 22, in init
self.generate_data = GenerateData(dim, scales_filter_map, self.device)
File "/home/hdp/EFGH/nets/generate_data.py", line 51, in init
traversal.go(center, hash_table)
File "/home/hdp/EFGH/nets/transforms.py", line 111, in go
self.walk_cuboid(start_key, 0, False, walking_keys, hash_table_list)
File "/home/hdp/EFGH/nets/transforms.py", line 119, in walk_cuboid
self.walk_cuboid(walking_keys[d], d + 1, has_zero or (i == 0), walking_keys, hash_table_list)
File "/home/hdp/EFGH/nets/transforms.py", line 119, in walk_cuboid
self.walk_cuboid(walking_keys[d], d + 1, has_zero or (i == 0), walking_keys, hash_table_list)
File "/home/hdp/EFGH/nets/transforms.py", line 119, in walk_cuboid
self.walk_cuboid(walking_keys[d], d + 1, has_zero or (i == 0), walking_keys, hash_table_list)
File "/home/hdp/EFGH/nets/transforms.py", line 120, in walk_cuboid
walking_keys[d] = advance_in_dimension(self.d + 1, 1, d, walking_keys[d])
TypeError: expected dtype object, got 'numpy.dtype[int64]'

@LoveMYChen
Copy link
Author

I installed numba and encountered the following error
ImportError: cannot import name 'cffi_support' from 'numba' (/home/hdp/anaconda3/envs/efgh/lib/python3.8/site-packages/numba/init.py)
May I ask which version is correct?

@LoveMYChen
Copy link
Author

Have solved. Thanks!

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