justchenhao / STANet

official implementation of the spatial-temporal attention neural network (STANet) for remote sensing image change detection
BSD 2-Clause "Simplified" License
417 stars 110 forks source link

python3: can't open file 'demo.py': [Errno 2] No such file or directory #60

Open KelaiAffaf opened 3 years ago

KelaiAffaf commented 3 years ago

Hello, am trying to start with change detection methods but am having this issue while executing the different commands mentioned in the readme file, am working on Colab. all files exist but it doesn't open

weizhiliang0520 commented 2 years ago

Hello, am trying to start with change detection methods but am having this issue while executing the different commands mentioned in the readme file, am working on Colab. all files exist but it doesn't open

you need to download the weght file from the link, and change the same file_path as error mentioned ( path )

0-xl-0 commented 2 years ago

@weizhiliang0520 Where is the link to download the weight?thank you.

weizhiliang0520 commented 2 years ago

@weizhiliang0520 Where is the link to download the weight?thank you.

you can find it (wight) on the README.md as follows: https://pan.baidu.com/share/init?surl=O1kg7JWunqd87ajtVMM6pg code: 2rja

but your issue title is "python3: can't open file 'demo.py': [Errno 2] No such file or directory ", judging from the title of your question, it's more likely that the demo.py you're running isn't in the current python directory.