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

About test.py #6

Open
StevenTTT123 opened this issue Apr 22, 2023 · 5 comments
Open

About test.py #6

StevenTTT123 opened this issue Apr 22, 2023 · 5 comments

Comments

@StevenTTT123
Copy link

my envs is run on autodl (a remote host)
On that platform, installing slurm (to run 'srun' from test.py 8) seems really difficult.
My question is,
is there an easy way to run test.py directly since it's conducted on single computer (singe GPU) without installing and configuring slurm?
Thank you so much.

@StevenTTT123
Copy link
Author

to make it clear, test.py refers to val.py (in RRSGAN) in your code.

@dongrunmin
Copy link
Owner

dongrunmin commented Apr 23, 2023

to make it clear, test.py refers to val.py (in RRSGAN) in your code.

In order to resolve your issue, please remove the following part from val.sh: "srun -p ${partition} --gres=gpu:1".

@StevenTTT123
Copy link
Author

Thank you so much. I have solved the problem by directly running val.py.
Besides, I have an additional question. How did you collect your dataset? I mean , several different satellite imagesets (Google Earth for Ref, GF-X for HR ...) over the same scene? We are planning on collecting similar datasets over the same scenario (from satellite A, B, ...), by it seems like a huge work. Do you have any tips?

@dongrunmin
Copy link
Owner

Thank you so much. I have solved the problem by directly running val.py.
Besides, I have an additional question. How did you collect your dataset? I mean , several different satellite imagesets (Google Earth for Ref, GF-X for HR ...) over the same scene? We are planning on collecting similar datasets over the same scenario (from satellite A, B, ...), by it seems like a huge work. Do you have any tips?

Hope the following steps can help you solve this problem. First, we can download images of the same cities from different platforms, such as Google Earth Engine and Microsoft Virtual Earth. Secend, these downloaded images come with geospatial coordinate information, which can be extracted using libraries like GDAL or RasterIO. Finally, we can crop both images to obtain a perfectly matching pair of images for the same region by utilizing the geospatial coordinates.

@StevenTTT123
Copy link
Author

Thank you so much. Wish u a nice day!

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