You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to confirm the processing I am doing correct or not. after running process_data.py by passing xBD directory and it generates train.csv and polygons. I looked at train.csv format and error are below when passing it to python damage_classification.py --train_data
File "/damage_classifier/xView2_baseline/model/damage_classification.py", line 156, in train_model
class_weights = compute_class_weight('balanced', np.unique(df['labels'].to_list()), df['labels'].to_list());
TypeError: compute_class_weight() takes 1 positional argument but 3 were given
can you please confirm the format of train.csv and cause of the error?
The text was updated successfully, but these errors were encountered:
I would like to confirm the processing I am doing correct or not. after running
process_data.py
by passing xBD directory and it generatestrain.csv
and polygons. I looked attrain.csv
format and error are below when passing it topython damage_classification.py --train_data
can you please confirm the format of train.csv and cause of the error?
The text was updated successfully, but these errors were encountered: