IntelLabs / nlp-architect

A model library for exploring state-of-the-art deep learning topologies and techniques for optimizing Natural Language Processing neural networks
https://intellabs.github.io/nlp-architect
Apache License 2.0
2.94k stars 448 forks source link

bug: [Memory error while training the absa solution model] #206

Open chetanniradwar opened 3 years ago

chetanniradwar commented 3 years ago
  1. My vs code is getting crashed when I choose the dataset given in the folder and start training the model
  2. The command prompt says it is memory error
  3. please solve this issue

Environment setup:

peteriz commented 3 years ago

I'm sorry @chetannirdwar you need to provide us more details of what you're trying to run

chetanniradwar commented 3 years ago

In the application . We can select our own train dataset (.csv) file and test dataset (.csv) . When we use pretrained model .it is running and showing output( as shown in video) but when I select the training dataset provided in the folder itself causes to crash the whole vs code( it says VS code is not responding) I have to restart it. It may be due to memory error. As I have only 6gb memory. Can we write a code to consume specific resources from the computer so that computer will not crash.

danielkorat commented 3 years ago

Hi @chetannirdwar, What is the size of you train and test datasets? Can you share the files? Also, please try running from the command prompt instead of VS code. If it works, try increasing the memory quota in VS code and then run in VS code.