@wafa_ath I have no experience with Edge Impulse but maybe you can try to reduce your input size of your sample. Are you working with raw data as an input or do you use features? In both cases you can try to reduce the sampling rate and/or the time interval. This can have an effect on the accuracy but you need to find an optimum.