Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue in downloading the pre trained model on LEVIR dataset #110

Open
ayshaashra opened this issue Aug 22, 2024 · 2 comments
Open

Comments

@ayshaashra
Copy link

ayshaashra commented Aug 22, 2024

I am interested to run the code on LEVIR-dataset for comparison, I have setup Linux on my system using CMD. i have clone the ChangeFormer into it. Next steps are as follow:

  1. wsl
  2. cd ~/ChangeFormer
  3. $ python3 demo_LEVIR.py

(when i run this command i got error
aysha@DESKTOP-9U7U2SJ:~/ChangeFormer$ python3 demo_LEVIR.py
initialize network with normal
cuda:0
Traceback (most recent call last):
File "/home/aysha/ChangeFormer/demo_LEVIR.py", line 66, in
model.load_checkpoint(args.checkpoint_name)
File "/home/aysha/ChangeFormer/models/basic_model.py", line 42, in load_checkpoint
raise FileNotFoundError('no such checkpoint %s' % checkpoint_name)
FileNotFoundError: no such checkpoint best_ckpt.pt )

after that i am going to a link to dowload it from google colab, where i have uploaded the model file :

  1. wget --no-check-certificate "https://drive.google.com/uc?export=download&id=1QKn0AL5_LGBG5o2dr0s0oAcwxYhrvqx6" -O best_ckpt.pt

i am facing error each time failed: Network is unreachable.

after that i manually download and insert the best_ckpt.pt file in folder.

@ayshaashra
Copy link
Author

ayshaashra commented Aug 23, 2024

I am not able to download pretrained_changeformer.pt as given link contains file :

  1. train_acc.npy
  2. best_ckpt.pt
  3. last_ckpt.pt
  4. log.txt
  5. val_acc.npy

how to get pretrained_changeformer.pt when i run wget https://www.dropbox.com/s/undtrlxiz7bkag5/pretrained_changeformer.pt
Failed to connect to www.dropbox.com port 443 after 21265 ms: Couldn't connect to server

is best_ckpt.pt or pretrained_changeformer.pt refer to same file ? @wgcban

@derow0208
Copy link

best_ckpt.pt is the checkpoint you need, replace the checkpoints path in config with your/path/to/checkpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants