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

This error occurs when I run eval.py #2

Closed
chenjiayi-zxx opened this issue Jul 4, 2023 · 10 comments
Closed

This error occurs when I run eval.py #2

chenjiayi-zxx opened this issue Jul 4, 2023 · 10 comments

Comments

@chenjiayi-zxx
Copy link

I wanted to run eval.py, but this error occurred.

2023-07-04 15:30:38.419021: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2023-07-04 15:30:38.465609: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-07-04 15:30:39.192211: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
MVT Vars: {'training': True, '_parameters': OrderedDict(), '_buffers': OrderedDict(), '_non_persistent_buffers_set': set(), '_backward_pre_hooks': OrderedDict(), '_backward_hooks': OrderedDict(), '_is_full_backward_hook': None, '_forward_hooks': OrderedDict(), '_forward_hooks_with_kwargs': OrderedDict(), '_forward_pre_hooks': OrderedDict(), '_forward_pre_hooks_with_kwargs': OrderedDict(), '_state_dict_hooks': OrderedDict(), '_state_dict_pre_hooks': OrderedDict(), '_load_state_dict_pre_hooks': OrderedDict(), '_load_state_dict_post_hooks': OrderedDict(), '_modules': OrderedDict(), 'depth': 8, 'img_feat_dim': 3, 'img_size': 220, 'add_proprio': True, 'proprio_dim': 4, 'add_lang': True, 'lang_dim': 512, 'lang_len': 77, 'im_channels': 64, 'img_patch_size': 11, 'final_dim': 64, 'attn_dropout': 0.1, 'decoder_dropout': 0.0, 'self_cross_ver': 1, 'add_corr': True, 'add_pixel_loc': True, 'add_depth': True, 'pe_fix': True}
Agent Information
<rvt.models.rvt_agent.RVTAgent object at 0x7f81b1d98100>
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/data/cjy/CoppeliaSim_Edu_V4_1_0_Ubuntu20_04" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb.

@chenjiayi-zxx
Copy link
Author

It should be because I can't use the graphical interface on the server, is there any option to evaluate it without qt.

@imankgoyal
Copy link
Collaborator

imankgoyal commented Jul 4, 2023

Hi,

Thanks for reporting this issue. Yes, from my experinece, it could be because you are trying to evaluate on a headless server on RLBench. Unfortunately, I don't have a very concrete fix for this issue. But, a couple of things that might be helpful (in order)

-- Try to use the --headless flg with eval.py.

-- Try this fix.

-- Try using xvfb-run as discussed here.

-- Try using VirtualGL as discussed here.

Please, let me know what solution works for you.

@imankgoyal
Copy link
Collaborator

@chenjiayi-zxx Were you able to solve this issue? It would be nice to if you can share what solution worked for you.

@lakomchik
Copy link

lakomchik commented Jul 10, 2023

I had the same error while I tried to run eval.py on server. Usage of xvfb-run with --headless flag helped for me.

@imankgoyal
Copy link
Collaborator

Closing because of inactivity. Please feel free to reopen if the issue persists.

@LemonWade
Copy link

After downloading VirtualGL, using xvfb-run works for me

@CA-TT-AC
Copy link

It works! Thanks for your sharing!

After downloading VirtualGL, using xvfb-run works for me

@LogSSim
Copy link

LogSSim commented Sep 14, 2024

'''
t.qpa.plugin: Could not find the Qt platform plugin "xcb" in "code/act3d-chained-diffuser/PyRep/CoppeliaSim_Edu_V4_7_0_rev4_Ubuntu20_04"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
'''

I tried all of these methods, but i still got this problem

@LogSSim
Copy link

LogSSim commented Sep 15, 2024

Oh, I solved this problem. I changed other CoppeliaSim version. It works now.

@pussinmood
Copy link

I inevatiblly bumped into this issue ,and can't solve it through your previous advices,my cloud server has no x config ,is that problem?
Hope you give me some advices.

Hi,

Thanks for reporting this issue. Yes, from my experinece, it could be because you are trying to evaluate on a headless server on RLBench. Unfortunately, I don't have a very concrete fix for this issue. But, a couple of things that might be helpful (in order)

-- Try to use the --headless flg with eval.py.

-- Try this fix.

-- Try using xvfb-run as discussed here.

-- Try using VirtualGL as discussed here.

Please, let me know what solution works for you.

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

7 participants