You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/04 13:45:15 UTC
[GitHub] dokechin opened a new issue #7334: cannot use ImageIter in Perl package
dokechin opened a new issue #7334: cannot use ImageIter in Perl package
URL: https://github.com/apache/incubator-mxnet/issues/7334
## Environment info
Operating System:
Mac OS
Package used (Python/R/Scala/Julia):
Perl
MXNet version:
0.10.0
## Error Message:
loading image list...
Use of uninitialized value $fname in concatenation (.) or string at /Users/user/perl5/lib/perl5/AI/MXNet/Image.pm line 866.
## Minimum reproducible example
use AI::MXNet qw('mx');
my $ite = mx->img->ImageIter(
{ batch_size => 1, data_shape=> [3,224,224],label_width = >1, path_imglist => "data/custom.lst"});
for $data (@{$ite}){
print $data->[0];
}
custom.lst is separated by tab
1 1 data/test.jpg
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services