KTH-RPL / DeFlow

[ICRA'24] DeFlow: Decoder of Scene Flow Network in Autonomous Driving
BSD 3-Clause "New" or "Revised" License
102 stars 4 forks source link

When I run visualization command, an error occured. #9

Open having-salt opened 20 hours ago

having-salt commented 20 hours ago

I first ran: python save.py checkpoint=/home/qzh/DeFlow/checkpoints/deflow_best.ckpt dataset_path=/home/qzh/DeFlow/data/av2/preprocess_v2/sensor/val and it showed: We already write the flow_est into the dataset, please run following commend to visualize the flow. Copy and paste it to your terminal: python tools/visualization.py --res_name 'deflow_best' --data_dir /home/qzh/DeFlow/data/av2/preprocess_v2/sensor/val Enjoy! ^v^ ------ so I ran this command, then, an error occured. File "tools/visualization.py", line 114, in fire.Fire(vis) File "/home/qzh/anaconda3/envs/deflow/lib/python3.8/site-packages/fire/core.py", line 135, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "/home/qzh/anaconda3/envs/deflow/lib/python3.8/site-packages/fire/core.py", line 468, in _Fire component, remaining_args = _CallAndUpdateTrace( File "/home/qzh/anaconda3/envs/deflow/lib/python3.8/site-packages/fire/core.py", line 684, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "tools/visualization.py", line 73, in vis opt.background_color = np.asarray([80/255, 90/255, 110/255]) AttributeError: 'NoneType' object has no attribute 'background_color'

Kin-Zhang commented 16 hours ago

Could you check your open3d version, it must >=0.18.0

having-salt commented 15 hours ago

import open3d open3d.version '0.18.0' Thanks for your reply, I have checked.

having-salt commented 15 hours ago

but the error still exists

Kin-Zhang commented 14 hours ago

I don’t think it’s model or data problem but open3d didn’t work on your platform. Could you please check in open3d repo issue if someone have same issue?

On Thu, Nov 7, 2024 at 11:26 Zihan Qin @.***> wrote:

but the error still exists

— Reply to this email directly, view it on GitHub https://github.com/KTH-RPL/DeFlow/issues/9#issuecomment-2461861681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIN2HBB6NHNDO7JNTUIXMHLZ7M56LAVCNFSM6AAAAABRKL4NYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRRHA3DCNRYGE . You are receiving this because you commented.Message ID: @.***>