Open xtyi1997 opened 3 years ago
Thank you, but isn't it used in case you run the script? See: https://github.com/phcavelar/fashionmnist-superpixel/blob/2fbcc7d1a7c8f7ad43e4905ccfcf5f0978ed06b8/util.py#L353-L354
Thank you, but isn't it used in case you run the script? See: https://github.com/phcavelar/fashionmnist-superpixel/blob/2fbcc7d1a7c8f7ad43e4905ccfcf5f0978ed06b8/util.py#L353-L354
yes,I want to run it. but fail
Could you please try the following:
If you are using anaconda python, run conda install fire -c conda-forge
, otherwise just run pip install fire
, then try running the code again.
If it still does not work, please run the command pip list
(and conda list
if you are using anaconda python) and copy the results here?
As a last resort you can simply change the abovementioned code to
if __name__ == "__main__":
main(save_plot_mnist=True, dset_folder= "./fashion_mnist")
And change this code:
To:
if __name__ == "__main__":
main(
train=True,
test=True,
use_cuda=True, # Or `False` if you don't have a CUDA device
dset_folder:str = "./fashion_mnist"
)
And then comment out the fire.Fire requirement in both util.py
and prototype.py
.
the fire.py is lost in your program