SPIDERMAN
SPIDERMAN copied to clipboard
'module' object has no attribute 'ModelParams'
I have installed and can successfully import the module. But I get error on the first next line: spider_params = sp.ModelParams(brightness_model="zhang").
Hi Prajwal, can you please describe the error in more detail?
Hi Laura, oops, I forgot to mention the exact error. I pip installed spiderman, and have following two lines of code:
import spiderman as sp spider_params = sp.ModelParams(brightness_model='zhang')
I can import the library successfully but the next line gives me an error: spider_params = sp.ModelParams(brightness_model='zhang') AttributeError: 'module' object has no attribute 'ModelParams'
Hi Prajwal, the pip version is currently quite a long way behind the git version - sorry about that, I plan to do another "official" release on there shortly. In the meantime, could you try with the current github version? Cheers, Tom
Thanks for the response.