Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

a bug~

Open wangsouc opened this issue 9 years ago • 1 comments

https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/trainer/PyDataProvider2.py

assert len(each, input_type.dim)

    @staticmethod
    def loop_callback(input_type, each):
        assert isinstance(input_type, InputType)
        if input_type.type == DataType.Dense:
            assert isinstance(each, collections.Sequence)
            for d in each:
                assert isinstance(d, float)
            assert len(each, input_type.dim)

wangsouc avatar May 08 '17 13:05 wangsouc

The error was: 83b93d2217a5bbaa99b969cec

typhoonzero avatar May 09 '17 01:05 typhoonzero