C2W1_Assignment AttributeError: 'NoneType' object has no attribute 'datasets'

Please Reply

In 3 - Generate and Visualize Training Data Statistics

Exercise 1: Generate Training Statistics


AttributeError Traceback (most recent call last)
in
2
3 # get the number of features used to compute statistics
----> 4 print(f"Number of features used: {len(train_stats.datasets[0].features)}")
5
6 # check the number of examples used

AttributeError: ‘NoneType’ object has no attribute ‘datasets’

Hi @Parag360,

From which course does this query belongs to ?

Mubsi