You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used qwen mode, this error has been proposed. How to solve this? Thx, plz.
Traceback (most recent call last):
File "main.py", line 398, in <module>
updated_intent) = GenerateMotion(obs_images, obs_ego_traj_world, obs_ego_velocities,
File "main.py", line 204, in GenerateMotion
scene_description = SceneDescription(obs_images, processor=processor, model=model, tokenizer=tokenizer, args=args)
File "main.py", line 168, in SceneDescription
result = vlm_inference(text=prompt, images=obs_images, processor=processor, model=model, tokenizer=tokenizer, args=args)
File "main.py", line 86, in vlm_inference
generated_ids = model.generate(**inputs, max_new_tokens=128)
File "/data/winter25/guoyc/miniconda3/envs/openemma/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/data/winter25/guoyc/miniconda3/envs/openemma/lib/python3.8/site-packages/transformers/generation/utils.py", line 2215, in generate
result = self._sample(
File "/data/winter25/guoyc/miniconda3/envs/openemma/lib/python3.8/site-packages/transformers/generation/utils.py", line 3249, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either inf, nan or element < 0
The text was updated successfully, but these errors were encountered:
When I used qwen mode, this error has been proposed. How to solve this? Thx, plz.
The text was updated successfully, but these errors were encountered: