I have tried several common practise.
1. Moving all 5*5 and 7*7 conv filters to 3*3 or 1*1.
2. Try float16 instead of float32 (I used NVIDIA apex package).
Do your guys have any other suggestions?
Maybe you can paralyze the system.
I suggest you to improve the number of layers which is fully connected.
Dear Zhedong Zheng ,
For the purpose of saving GPU memory, you can modify CNN model. But it is application oriented task. I have some suggestions for you.
1. You can use layer reusing technique like DenseNet architecture. It saves training time and memory, both of them.
2. If you are working on image classification, then you can minimize the size of your input image.
3. Use small size of filters (2x2 or 3x3) to the convolutional layer.
4. In fully connected layer minimize the number of hidden layer and neuron numbers.
5. Use overlapping pooling layer (max or average), sometimes it works so efficiently. For further reference please see the paper of AlexNet model.
6. Data type changing (that means float32 to float16) can minimize the accuracy of CNN model but it is also helpful to save memory.
And finally check all of your functions in your code.
Thank you.
From the way this question is posed, I am assuming it is a GPU programming issue. based on this assumption I would inquire on why are you moving the blocks individually instead of just one big memcpy.
Thank you. All your suggestions are great.
I am running a generative model which demands about 14GB GPU memory. I am working on move this model to GTX1080 (with 8GB GPU memory limitation).
I’m trying to reproduce the acousto-optic coupling simulation in the paper Frequency–angular resolving LiDAR using chip-scale acousto-optic beam steering. LNOI(lithium niobate on insulator) is...
13 August 2024 9,795 0 View
I want to know more about Uranium ore deposits in world.
11 August 2024 6,720 0 View
I want to know more about diamond ore deposits in world.
11 August 2024 2,167 1 View
We assume that the difference is huge and that it is not possible to compare the two spaces. The R^4 mathematical space considers time as an external controller and the space itself is immobile in...
10 August 2024 6,678 14 View
If Banks do not provide credit facility, what are the options available for FPOs and impact on producer’s income?
10 August 2024 8,198 5 View
I used eye tracking to examine how participants from two different populations (A and B) react to an image. Participants in population A exhibit larger pupil sizes over time, but they also have...
10 August 2024 3,229 0 View
What are a “Farmers Producer Organization” (FPO) and its essential features?
10 August 2024 477 5 View
I have been doing the m6A dot blot for a while with no improvement, I am extracting the RNA, and I can see the dots although the three biological replicas give a different reading on the memberan...
10 August 2024 8,539 5 View
How do interactions between the biosphere, the carbon cycle, and the water cycle impact global warming and interaction between the atmosphere and the hydrosphere?
09 August 2024 3,291 2 View
I have input a moment load in module load Abaqus, i put my moment load on the node surface (using reference point). I have define moment in history output and make a set for moment too. But the...
08 August 2024 4,831 4 View
“Here is a thought experiment. Let's place Rodolpho Llinas's jarred-brain on top of a body (Fig. 1). I bet Llinas would argue that his jarred-brain retains its own consciousness, and the android...
11 August 2024 2,483 1 View
The rate of glucose consumption by the neocortex is reduced by over 80% during anesthesia (Sibson et al. 1998), which disables the synapses (Richards 2002) that are inundated by glial tissue (Engl...
08 August 2024 3,118 0 View
Larger brains, which typically contain more neurons, store and transfer more information (Tehovnik and Chen 2015), but the precise relationship between number of neurons and information has yet to...
05 August 2024 1,238 2 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,977 3 View
Brain and body mass together are positively correlated with lifespan (Hofman 1993). The duration of neural development is one of the best predictors of brain size, and conception is the best...
05 August 2024 6,247 3 View
Hello everyone, I am currently working on a research project that aims to integrate machine learning techniques into an open source SIEM tool to automate the creation of security use cases from...
04 August 2024 3,196 2 View
When the entire neocortex is ablated in rodents, although they are still able to swim, all the limbs move continuously and asynchronously (Vanderwolf 2006; Vanderwolf et al. 1978). Normal animals...
03 August 2024 835 3 View
Machine learning (ML) has shown great potential in predicting the compressive strength of concrete, an important property for structural engineering. However, its practical application comes with...
03 August 2024 2,546 2 View
I have seen plenty of existing works on applied Reinforcement Learning (RL) policies for optimized scheduling in IoT networks including Q-learning, DQNs, and the newer ones including PPO for...
01 August 2024 8,754 2 View
Samuel Morse, the inventor of the Morse Code, understood that certain letters in the English language occurred more frequently than others (Gallistel and King 2010). To deal with this, Morse used...
01 August 2024 4,456 2 View