Closed WHBSpeiser closed 8 months ago
Hi Will, I'll try to take a look at this early next week (I have a number of doodleverse maintenance tasks).
If 'MODEL' is specified in the config, then it will be parsed as a variable with this code block
for k in config.keys():
exec(k+'=config["'+k+'"]')
which reads all config lines and assigns them to in-memory variables
Thanks Dan! Yeah, for some reason MODEL doesn't seem to be specified in the configs.
Hi @dbuscombe-usgs, Re-downloaded the models and the weights again and the problem fixed itself... odd! Thanks for the response nonetheless.
Hey, trying to use the SDSmodels notebook. When I get to the "RGB / 2-class" cells, specifically the third cell where you define M C and T, the cell starting with:
I get the error:
I suspect this would be because the MODEL variable is not being defined in the line
Maybe there was a change in how the weights file were structured after the notebook was published? If I print out config.keys() for the first RGB weights file in the notebook the dictionary keys I get are
dict_keys(['key', 'storage_class', 'checksum', 'size', 'created', 'updated', 'status', 'metadata', 'mimetype', 'version_id', 'file_id', 'bucket_id', 'links'])
But I could be wrong... thank you for any help!