Download model weights for roboflow logistics dataset

Recent blogpost has some code for local training custom dataset using the the checkpoint from the logistics dataset model:

from roboflow import Roboflow
rf = Roboflow(api_key="api_key")
project = rf.workspace().project("logistics-sz9jr")
model = project.version(1).model

I used my api key and get the error:

HTTPError: 404 Client Error: Not Found for url:<api key ...>

Have I missed something or is something missing in the blogpost?


Thank you for your question! Can you try using this snippet:

rf = Roboflow(api_key="api_key")
project = rf.workspace("large-benchmark-datasets").project("logistics-sz9jr")
model = project.version(1).model

Thanks James!

Alexander, I updated the post to simplify the process and made it much easier to download the weight, it is a button now :slight_smile: Please let me know if you run into other issues.

Still problem

/usr/local/lib/python3.10/dist-packages/requests/ in raise_for_status(self)
   1020         if http_error_msg:
-> 1021             raise HTTPError(http_error_msg, response=self)
   1023     def close(self):
HTTPError: 404 Client Error: Not Found for url:***

I am running through colab and roboflow version is 1.1.7. It seems that there is nothing at the ptFile endpoint. Tried with wget “…/1?api_key=***” and the responce json says models: {}

Yes, sorry about the confusion, I discovered that the endpoint is not public which is the source of the error. I have a publicly hosted url that you can use to download the weight directly now, please use the “Download Weights” button on the blog to get the weights.