aritraghsh09 / gampen Goto Github PK
View Code? Open in Web Editor NEWML framework to estimate Bayesian posteriors of galaxy morphological parameters
Home Page: http://gampen.ghosharitra.com/
License: GNU General Public License v3.0
ML framework to estimate Bayesian posteriors of galaxy morphological parameters
Home Page: http://gampen.ghosharitra.com/
License: GNU General Public License v3.0
Trying to download the packages necessary through r-requirements.txt for autocropping.ipynb in Google Colab runs into issues downloading PANDAS on my machine. When the programs attempts to download PANDAS, it pauses for several minutes and then throws the following error:
`error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.`
In the GaMPEN Getting Started documentation (https://gampen.readthedocs.io/en/latest/Getting_Started.html), it is suggested to run the trainer with the following code:
python ggt/train/train.py \ --experiment_name='demo' \ --data_dir='./../hsc/' \ --split_slug='balanced-dev2' \ --batch_size=16 \ --epochs=2 \ --lr=5e-7 \ --momentum=0.99 \ --crop \ --cutout_size=239 \ --target_metrics='custom_logit_bt,log_R_e,log_total_flux' \ --repeat_dims \ --no-nesterov \ --label_scaling='std' \ --dropout_rate=0.0004 \ --loss='aleatoric_cov' \ --weight_decay=0.0001 \ --parallel
Upon investigation of the target_metrics in the info.csv file within the hsc directory, the correct target_metrics should be custom_logit_bt,ln_R_e_asec,ln_total_flux_adus
rather than custom_logit_bt,log_R_e,log_total_flux
.
In /GaMPEN/ggt/docs/conf.py
, the Sphinx mathjax extension is specified; but math equations are not being rendered properly on RTD.
For example, math equations on this page https://gampen.readthedocs.io/en/latest/Using_GaMPEN.html#running-the-trainer
Right now, requirements.txt is pretty bloated, especially with old requirements that no longer are a primary feature of GaMPEN (e.g., the group convolutional neural networks.)
Do a thorough code review and get rid of both old features and their corresponding dependencies in requirements.txt
Aritra Ghosh created the following fix to the source-code of autocrop.py
to allow it to run on machines without a GPU!
Code: model.load_state_dict(torch.load(model_path,map_location=torch.device(device)))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.