Code Monkey home page Code Monkey logo

med-al-ssl's People

Contributors

ahmadqasim avatar aliechoes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

med-al-ssl's Issues

Choice of clustering methods

There are various clustering methods from K-means to K-medoids. Is there any rationale of applying K-medoids algo? Thank you!

TypeError: '<' not supported between instances of 'list' and 'int'

Active learning sampling error:
Traceback (most recent call last): File "train.py", line 347, in <module> main(args=arguments) File "train.py", line 187, in main kwargs, current_labeled) File "/home/zongwei/liangyu/code/Med-AL-SSL/code/utils.py", line 471, in perform_sampling samples_indices) File "/home/zongwei/liangyu/code/Med-AL-SSL/code/utils.py", line 144, in postprocess_indices samples_indices = samples_indices[samples_indices < len(unlabeled_indices)] TypeError: '<' not supported between instances of 'list' and 'int'

Data Loader speeding up methods

I have sufficient memory while not many CPU cores on my server, therefore IO can be the bottleneck of the training trials.

I noticed that you have set pin_memory=False in PyTorch DataLoader, and I didn't see any change of run time from toggling it.

Since this experiment is quite IO heavy, have you tried any speeding up method?

K medoid model parameter passing

There is possibly a bug at dataset_cls = self.datasets[self.args.dataset](root=self.args.root, add_labeled=self.args.add_labeled, advanced_transforms=True, merged=self.args.merged, remove_classes=self.args.remove_classes, oversampling=self.args.oversampling, unlabeled_subset_ratio=self.args.unlabeled_subset, expand_labeled=self.args.fixmatch_k_img, expand_unlabeled=self.args.fixmatch_k_img*self.args.fixmatch_mu, unlabeled_augmentations=True if self.uncertainty_sampling_method == 'augmentations_based' else False, seed=self.args.seed, start_labeled=self.args.start_labeled) (fixmatch.py line 63).

When passing the parameter to the dataset initializer, the related parameters of K-medoid algo were not passed.

Where is k_medoids_model from?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.