Closed
Description
Hello,
Current situation
The function could have improved code style
[eurosat_dataset()](#122 )
has a code styling that inherits from other language and prevent readability and portability :
- use of
sprintf()
instead ofglue::
styled message concatenation - use of base R
warning()
andif (){stop()}
instead of package functionsruntime_error("")
andvalue_error("")
- reuse existing message for consistency with other
_dataset()
functions and preventing specific translation of messages. Example is "Dataset not found. You can usedownload = TRUE
to download it." , ...
The function could have improved data movement design
[eurosat_dataset()](#122 )
uses it's own data folder for archive caching instead of reusing the common torchvision cache folder.
Expected situation
- maximize reuse of existing messages,
-
utils.R
message functions, and consistent code-style with other_dataset()
functions - reuse the
download_and_cache()
function for consistent large file storage on end-user machine
Metadata
Metadata
Assignees
Labels
No labels