[GitHub] [incubator-mxnet] roywei edited a comment on issue #15431: [MXNet 1.5.0.rc2] Issues with asnumpy() method

2019-07-10 Thread GitBox
roywei edited a comment on issue #15431: [MXNet 1.5.0.rc2] Issues with 
asnumpy() method
URL: 
https://github.com/apache/incubator-mxnet/issues/15431#issuecomment-510236197
 
 
   @Wallart your code is running fine on my machine. I'm testing on[ LJ-Speech 
Dataset](https://keithito.com/LJ-Speech-Dataset/)
   
   added a few lines in `main` to format the text files, and everything is 
plotted, and  `asnumpy()` works fine. Could you try without Docker?
   
   ```
   if __name__ == '__main__':
   logging.basicConfig()
   logging.getLogger().setLevel(logging.INFO)
   
   params = {
   'max_wav_value': 32768.0,  # for 16 bits files
   'sampling_rate': 22050,
   'filter_length': 1024,
   'hop_length': 256,
   'win_length': 1024,
   'n_mel_channels': 80,
   'mel_fmin': 0.0,
   'mel_fmax': 8000.0
   }
   with open('~/Downloads/LJSpeech-1.1/metadata.csv', encoding='utf-8') as 
f:
   for line in f:
   record = line.split('|')
   file_name = record[0] + '.txt'
   content = record[2]
   with open('~/Downloads/LJSpeech-1.1/wavs/' + file_name, 'w', 
encoding='utf-8') as text_output:
   text_output.write(content)
   
   french = WavDataset('~/Downloads/LJSpeech-1.1/wavs', text_to_sequence, 
**params)
   assert type(french[0]) == tuple
   ```
   
   ![Screen Shot 2019-07-10 at 2 16 55 
PM](https://user-images.githubusercontent.com/8022184/61006418-24e7de80-a31f-11e9-84aa-a433ab722972.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] roywei edited a comment on issue #15431: [MXNet 1.5.0.rc2] Issues with asnumpy() method

2019-07-03 Thread GitBox
roywei edited a comment on issue #15431: [MXNet 1.5.0.rc2] Issues with 
asnumpy() method
URL: 
https://github.com/apache/incubator-mxnet/issues/15431#issuecomment-508164704
 
 
   Hi @Wallart running the two faulty lines you provided alone does not throw 
any errors. 
   Are these lines all in your dataloader code? Could you provide a minimum 
reproduciable code? 
   
   Maybe the probelms is when running with dataloader with multiple workers? 
I'm still not able to reprdudce your error with your two lines


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] roywei edited a comment on issue #15431: [MXNet 1.5.0.rc2] Issues with asnumpy() method

2019-07-03 Thread GitBox
roywei edited a comment on issue #15431: [MXNet 1.5.0.rc2] Issues with 
asnumpy() method
URL: 
https://github.com/apache/incubator-mxnet/issues/15431#issuecomment-508164704
 
 
   Hi @Wallart running the two faulty lines you provided alone does not throw 
any errors. 
   Are these lines all in your dataloader code? Could you provide a minimum 
reproduciable code? 
   
   Maybe the probelms is when running above code with dataloader & multiple 
workers? I'm still not able to reprdudce your error with your two lines


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services