Skip to content

ERROR: GLEW initalization error: Missing GL version #75

@hanhanlixianji

Description

@hanhanlixianji

The whole wrong is below:
$python scripts/train.py --dataset halfcheetah-medium-expert-v2
/home/hxh/diffuser/diffuser/utils/config.py:21: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
class Config(collections.Mapping):
pybullet build time: May 20 2022 19:44:17
[ utils/setup ] Reading config: config.locomotion:halfcheetah_medium_expert_v2
[ utils/setup ] Using overrides | config: config.locomotion | dataset: halfcheetah_medium_expert_v2
[ utils/setup ] Setting exp_name to: diffusion/defaults_H4_T20
[ utils/setup ] Saved args to logs/halfcheetah-medium-expert-v2/diffusion/defaults_H4_T20/args.json
[ utils/setup ] WARNING: did not save git diff
[ utils/config ] Imported diffuser.datasets:SequenceDataset

[utils/config ] Config: <class 'diffuser.datasets.sequence.SequenceDataset'>
env: halfcheetah-medium-expert-v2
horizon: 4
max_path_length: 1000
normalizer: GaussianNormalizer
preprocess_fns: []
use_padding: True

[ utils/config ] Saved config to: logs/halfcheetah-medium-expert-v2/diffusion/defaults_H4_T20/dataset_config.pkl

[ utils/config ] Imported diffuser.utils:MuJoCoRenderer

[utils/config ] Config: <class 'diffuser.utils.rendering.MuJoCoRenderer'>
env: halfcheetah-medium-expert-v2

[ utils/config ] Saved config to: logs/halfcheetah-medium-expert-v2/diffusion/defaults_H4_T20/render_config.pkl

/home/hxh/anaconda3/envs/diffuser/lib/python3.8/site-packages/gym/core.py:172: DeprecationWarning: WARN: Function env.seed(seed) is marked as deprecated and will be removed in the future. Please use `env.reset(seed=seed) instead.
deprecation(
load datafile: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9/9 [00:02<00:00, 3.85it/s]
[ datasets/buffer ] Finalized replay buffer | 2000 episodes
[ datasets/buffer ] Fields:
actions: (2000, 1000, 6)
infos/action_log_probs: (2000, 1000, 1)
infos/qpos: (2000, 1000, 9)
infos/qvel: (2000, 1000, 9)
next_observations: (2000, 1000, 17)
observations: (2000, 1000, 17)
rewards: (2000, 1000, 1)
terminals: (2000, 1000, 1)
timeouts: (2000, 1000, 1)
normed_observations: (2000, 1000, 17)
normed_actions: (2000, 1000, 6)
ERROR: GLEW initalization error: Missing GL version

Press Enter to exit ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions