728x90
반응형

전체 글 362

Ubuntu 24.04 / Error when running PyQt6 application (xcb-cursor0 or libxcb-cursor0)

[ Error message ]qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" 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, minimalegl, off..

OS/Ubuntu 15:38:34

transformers 5.x AttributeError: BertTokenizer has no attribute _convert_token_to_id. Did you mean: 'convert_tokens_to_ids'?

[ Code ]import nlpaug.augmenter.word as nawtexts = [ "Test message",]aug = naw.ContextualWordEmbsAug(model_path="bert-base-uncased", action="insert")augmented_texts = aug.augment(texts) [ Error message ]Traceback (most recent call last): File "/home/gangserver/devel/python/nlpaug_test.py", line 7, in aug = naw.ContextualWordEmbsAug(model_path="bert-base-uncased", action="insert") ..

개발/Python 2026.03.26
728x90
반응형