Hume failed to infer perceptions from sensations because perceptions are automatically integrated by our brains. Sensations are not open to inference which is a conceptual process. Having failed, Hume is stuck at the sensations level which makes it impossible for him to get to concepts. He should have realized that he had made a mistake because, by writing about all this in a book on philosophy, he obviously was working with concepts.