1-D Cognitive Processing of Collocated Multi-Gradient Sensing through Layered Sensory Fibers using Neural Networks
This repository will host the code and data associated with our paper:
Title: 1-D Cognitive Processing of Collocated Multi-Gradient Sensing through Layered Sensory Fibers using Neural Networks
Authors:
Journal:
DOI:
This work presents a novel framework for cognitive processing of collocated multi-gradient stimuli using a one-dimensional architecture of layered sensory fibers.
Python Version: 3.8+ recommended
pip install torch pandas numpy matplotlib gradio keyboard tqdm pyserialThe training and testing scripts expect CSV files containing sensor resistances (e.g., two columns for two sensors) and a label column (e.g., a key or an action).
Adjust paths in the scripts (e.g., train_test.py, app.py) to point to your local data.
The Gradio app (app.py) references images or sounds for the user interface. These are not included in the repository due to large file sizes.
Ensure the CSV files include at least three columns:
- Inner sensor resistance
- Outer sensor resistance
- A label indicating the action/gesture
Modify file paths in train_test.py to match your dataset.
python train_test.pyLaunches a Gradio web interface for real-time sensor reading and inference.
Connects to a serial port (e.g., COM22 by default) for live sensor data.
Plots the incoming data and performs inference using the trained model.
Displays the predicted label along with a relevant image (if provided).
python app.pyPlease email to yunheumlee@kaist.ac.kr request these assets or additional datasets.