wenhui0206 / neurogpt Goto Github PK
View Code? Open in Web Editor NEWCode for the paper "Neuro-GPT: Towards a Foundation Model for EEG"
License: GNU General Public License v3.0
Code for the paper "Neuro-GPT: Towards a Foundation Model for EEG"
License: GNU General Public License v3.0
Hello, thanks for sharing the code.
Could you tell us more about how to prepare the input tensor files?
Hi! I love this project, thanks for all of your foundational work.
I am trying to run on an M1 mac, and am getting this error:
/workspaces/vscode-remote-try-python/scripts/../src/train_gpt.py:40: DeprecationWarning:
Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
(to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
but was not found to be installed on your system.
If this would cause problems for you,
please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466
import pandas as pd
/home/vscode/.local/lib/python3.11/site-packages/transformers/deepspeed.py:23: FutureWarning: transformers.deepspeed module is deprecated and will be removed in a future version. Please import deepspeed modules directly from transformers.integrations
warnings.warn(
Number of subjects loaded: 0
Number of subjects loaded: 0
Traceback (most recent call last):
File "/workspaces/vscode-remote-try-python/scripts/../src/train_gpt.py", line 997, in <module>
trainer = train()
^^^^^^^
File "/workspaces/vscode-remote-try-python/scripts/../src/train_gpt.py", line 192, in train
trainer = make_trainer(
^^^^^^^^^^^^^
File "/workspaces/vscode-remote-try-python/src/trainer/make.py", line 164, in make_trainer
trainer_args = TrainingArguments(
^^^^^^^^^^^^^^^^^^
File "<string>", line 123, in __init__
File "/home/vscode/.local/lib/python3.11/site-packages/transformers/training_args.py", line 1534, in __post_init__
raise ValueError(
ValueError: FP16 Mixed precision training with AMP or APEX (`--fp16`) and FP16 half precision evaluation (`--fp16_full_eval`) can only be used on CUDA or NPU devices or certain XPU devices (with IPEX).
Should I change over to an NVIDIA device that runs CUDA? How do I point the project to another location to read the files? I saw a file called train_config.json
but don't see an example in the repo.
From what I can gather, it's at least:
{
"log_dir": "/path/to/log/directory"
}
Thanks!
AJ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.