I am trying to publish my Object detection model but when i run this code to publish it
model.save('Building_footprint_10epochs', publish=True)
i get this error
@JayantaPoddar @DanPatterson @jcarlson @Tim_McGinnes @JoeBorgione @TimOrmsby @ShaunWalbridge @lamyaaghadiry1
Did you login to ArcGIS online account before publishing the .dlpk ?
from arcgis.gis import GIS
gis = GIS("https://portalname.domain.com/webadapter_name", "sharinguser", "password")
Once you execute the above command, this account will be used by the {model}.save method to publish the model.
Guide page here https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/
Yes, I did.
I used my organization portal url then entered my username and password