I want to train a CV network with MXNet and I created a custom Dataset class (works well) but I'd now like this class to return the name of the image file (a string).
Problem is MXNet refuses to batch strings.
So I tried to create a NDArray from my string but NDArray won't take strings as dtype. What should I do?
>>> import numpy as np
>>> import mxnet.ndarray as nd
>>> nd.array(["blabla"])
ValueError: could not convert string to float: blabla