Comments (8)
Also @mathpluscode what do you mean by init(config) here: "In init(config_path, log_dir, ckpt_path): the config will be copied into the log folder, so that in the prediction it will take the backup config to make sure the config is consistent."?
Can you point me to the source code? That way I might understand better
@YipengHu I think you have to force push, which could be quite troublesome to everyone else working on this fork, so don't worry about it. Ideally we push to develop on forks so if there is some sort of problem like this it doesn't change the base repo, or can just force push on that repo which doesn't affect this one until merge, or create a new branch to redevelop with the right messages.
from deepreg.
ok, i think what @NMontanaBrown wanted is the option to allow to not use the default config, it should be done easily.
will do it tonight, then we close this
from deepreg.
In init(config_path, log_dir, ckpt_path):
the config will be copied into the log folder, so that in the prediction it will take the backup config to make sure the config is consistent.
I didn't ask the predict to take a config as input as it might be inconsistent
from deepreg.
I'm not sure I understand where that init line of code comes from, can you provide a link?
from deepreg.
@YipengHu Can you change the refs for the commits? They point to the wrong ticket.
from deepreg.
@YipengHu Can you change the refs for the commits? They point to the wrong ticket.
I noticed too - really embarrassing, was not sure how to do it...
from deepreg.
sorry for the delay, so if i understand correctly, we want the prediction to accept a configuration file separately,
what i did now, as you mentioned, is assuming a relatively strict structure of the code, which is consistent with the training script
what we can do is
- support additional config file
- raise error if failed to load the checkpoint, as now we still need to build the model then load the weights
another method is
- save the model structure so that we only need data set and checkpoint to do prediction
from deepreg.
@mathpluscode @NMontanaBrown is it still a relevant issue? better to close this and open new one with specific tasks.
from deepreg.
Related Issues (20)
- Train with nifti HOT 2
- Fix num_samples for paired data loader HOT 2
- Help with CT Paired lung HOT 4
- 2D images HOT 4
- Making docker image of deepreg HOT 3
- Fix Running DeepReg Remotely (on the Cluster) page HOT 3
- Running DeepReg on the Cluster with GPU HOT 2
- The ddf in demo_predict seems to be all 0s HOT 1
- Add CITATION.cff to point to the JOSS paper HOT 2
- Train with Big CT file HOT 2
- about traning_set'spacing HOT 5
- train() got an unexpected keyword argument 'exp_name' HOT 4
- Paired Lung CT Tutorial Error HOT 4
- Sharing DeepReg models through Hugging Face Hub HOT 5
- Most suitable algorithms for 2D histology images? HOT 2
- Atlas creation + Label propagation HOT 1
- Designing a model that predicts an affine transformation HOT 3
- get_reference_grid() assumes single precision HOT 1
- custom data loading for prediction HOT 1
- Trouble building network for Demo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepreg.