Code Monkey home page Code Monkey logo

mlf-sc's People

Stargazers

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

Watchers

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

mlf-sc's Issues

DefaultCPUAllocator: not enough memory: you tried to allocate 16777216000 bytes. Buy new RAM!

When I run 'python main.py train cfg/sample_config.yml '
and even set batch_size==1,
the issue raised as follows:

loading images: 99%|█████████████████████████████████████████████████
loading images: 100%|█████████████████████████████████████████████████
loading images: 100%|█████████████████████████████████████████████████
█████████████| 1000/1000 [00:18<00:00, 54.16it/s]
Traceback (most recent call last):
File "main.py", line 109, in
main()
File "main.py", line 74, in main
model.train()
File "D:\research\comp_data\MLF-SC\src\models.py", line 53, in train
batch_img = p(batch_img)
File "D:\research\comp_data\MLF-SC\src\preprocessor.py", line 95, in call
x = f(x)
File "D:\anaconda\lib\site-packages\torch\nn\modules\module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "D:\anaconda\lib\site-packages\torch\nn\modules\conv.py", line 345, in forward
return self.conv2d_forward(input, self.weight)
File "D:\anaconda\lib\site-packages\torch\nn\modules\conv.py", line 342, in conv2d_forward
self.padding, self.dilation, self.groups)
RuntimeError: [enforce fail at ..\c10\core\CPUAllocator.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried
to allocate 16777216000 bytes. Buy new RAM!

Well, would you figure out the way to solve this issue?
Thank you in advance!

GPU utilization

First of all thanks for the work.

I was trying to use the test section for the prediction of anomalies from the dataset. The time taken for prediction is too long.

Is there any option for utilizing GPU with the code that can improve the execution time?

About R1 and R2

First of all, thanks for the great work. Can you tell how to get the R1 and R2 mentioned in this paper? Actually, I can just get AP and AUC in the code. There is no way to get R1 and R2. Sorry to bother you~

about calculate_score()

Hi, execuse me. I really wonder know that how you use calculate_score(neg_err, pos_err) to classify the images, especially the usage of y_score? Thank you so much.

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.