Giter Club home page Giter Club logo

emg-gan's Issues

Is the data file required by the "generate.py" available?

Hi,
I am interested in this project and wanted to try it out myself. Although the Ninapro dataset is open to download, they are not in the csv format which the function "load_timeseries" requires.
I wonder if you can provide the following one file so I know what format I need to provide for the script?
"No such file or directory: './data/pd_patient_1_emg.csv'

The Parkinson’s Disease EMG Dataset

Dear author:

Hello, I am reproducing the DCGANs part of this paper(Parkinson’s Disease EMG Data Augmentation and Simulation with DCGANs and Style Transfer) and code(EMG-GAN), using NinaPro DB2 data because I do not have the private dataset used in the paper.

Since my graphics card is RTX 3090 and the system is ubuntu 20.04, I was never able to run the code successfully in your environment, so I ended up having to use TensorFlow-gpu2.5 to train DCGANs and generate my signal. Still, the trained network and generated signals did not work as expected.

After that, I used the network model provided on GitHub and used the DB2 data as the reference signal, and the final generated signal was similar to the sEMG data of the Parkinson's patient used in the paper, so I don't know if the training part of the DCGANs is different from the paper due to environmental issues. Therefore, I hope I can get the data of the Parkinson's patient used in the paper, just the one used in the paper The EMG data of one patient.

Thank you for considering my request. I'm looking forward to your response.

AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'

When executing the generate.py file it throws the following error:

Traceback (most recent call last): File "generate.py", line 7, in <module> from models.dcgan import DCGAN File "/Users/carlosoliver/EMG-GAN/models/dcgan.py", line 30, in <module> from keras.optimizers import RMSprop, Adam File "/opt/anaconda3/envs/emg_gan/lib/python3.8/site-packages/keras/__init__.py", line 20, in <module> from . import initializers File "/opt/anaconda3/envs/emg_gan/lib/python3.8/site-packages/keras/initializers/__init__.py", line 124, in <module> populate_deserializable_objects() File "/opt/anaconda3/envs/emg_gan/lib/python3.8/site-packages/keras/initializers/__init__.py", line 82, in populate_deserializable_objects generic_utils.populate_dict_with_module_objects( AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'
Captura de Pantalla 2021-07-13 a la(s) 12 58 01

No data folder

Inside folder "data" you can find an extract from NinaPro DB2 already pre-processed for this work. But in your REPO is not this folder (((

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.