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

error of module 'tina' has no attribute 'Scene' #1

Closed
lll-j opened this issue Mar 12, 2022 · 2 comments
Closed

error of module 'tina' has no attribute 'Scene' #1

lll-j opened this issue Mar 12, 2022 · 2 comments

Comments

@lll-j
Copy link

lll-j commented Mar 12, 2022

error of module 'tina' has no attribute 'Scene'

When i follow the usage to the "Running TaichiSLAM octomap demo" ,i got error's as below:

lll@lll-u18:~/test/taichi/TaichiSLAM$ python3 -V
Python 3.6.9
lll@lll-u18:~/test/taichi/TaichiSLAM$ python3 TaichiSLAM_demo.py -b /media/lll/B2/TaichiSLAM/cow_and_lady_dataset.bag
[Taichi] mode=release
[Taichi] preparing sandbox at /tmp/taichi-rfhmiw0f
[Taichi] version 0.7.13, llvm 10.0.0, commit 26bda350, linux, python 3.6.9
[Tina] version 0.1.1
[Tina] Taichi properties hacked
Res [1024x768] GPU False RVIZ False size of map [100, 10] grid 0.05
[Taichi] Starting on arch=x64
Traceback (most recent call last):
  File "TaichiSLAM_demo.py", line 132, in <module>
    scene = tina.Scene(RES_X, RES_Y, bgcolor=(0.1, 0.1, 0.1))
AttributeError: module 'tina' has no attribute 'Scene'
lll@lll-u18:~/test/taichi/TaichiSLAM$ python3
Python 3.6.9 (default, Dec  8 2021, 21:08:43)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tina
[Tina] version 0.1.1
[Taichi] mode=release
[Taichi] preparing sandbox at /tmp/taichi-lvzsn6lt
[Taichi] version 0.7.13, llvm 10.0.0, commit 26bda350, linux, python 3.6.9
[Tina] Taichi properties hacked
>>>

As you see, i setup the taichi package of 0.7.13 version. because i got error by defaut version, when i import tina,and changed to 0.7.13 .
But, i still got error says"AttributeError: module 'tina' has no attribute 'Scene'",even i can import tina.

So, what is the requirements of this repo,or what versions of python, taichi, tina is recommend?

thanks.

@xuhao1
Copy link
Owner

xuhao1 commented Mar 19, 2022

@lll-j Hi there, I haven't updated TaichiSLAM_demo.py to the latest taichi version. WIll finish it later.

@xuhao1
Copy link
Owner

xuhao1 commented Nov 5, 2022

Previous tina supported is deprecated

@xuhao1 xuhao1 closed this as completed Nov 5, 2022
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

2 participants