ritwikraha / Open-Generative-Fill

A repository for hacking Generative Fill with Open Source Tools
MIT License
32 stars 3 forks source link

mgie inference error #5

Closed Zerycii closed 3 months ago

Zerycii commented 5 months ago

Traceback (most recent call last): File "/content/ml-mgie/extract_ckpt.ipynb", line 5, in "execution_count": null, NameError: name 'null' is not defined

Zerycii commented 5 months ago

How can I solve the problem? I want to test the model on Colab

Zerycii commented 5 months ago

image I change 'null' of code to 'None'. Then no error but it seems doesn't work.

ritwikraha commented 3 months ago

@Zerycii I think you are trying to run code from this repository: https://github.com/apple/ml-mgie

In that case I think its best if you raise this issue in that repository

Also you are trying to run an .ipynb file using the !python command That only works for .py files, you can copy-paste the cells of a python notebook (.ipynb) inside a colab and get them to work.

All the best :)